diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 203329473..3300df239 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,8 +33,8 @@ jobs: run: | cd .github python patch.py - ./gradlew assembleDebug cd .. + ./gradlew assembleDebug - name: Upload APK uses: actions/upload-artifact@v3 diff --git a/.github/workflows/tg-bot.yml b/.github/workflows/tg-bot.yml index 35fa2350d..d7c63cf60 100644 --- a/.github/workflows/tg-bot.yml +++ b/.github/workflows/tg-bot.yml @@ -31,11 +31,13 @@ jobs: run: | cd .github python patch.py + cd .. ./gradlew assembleDebug - name: Telegram Bot run: | - mv ../app/build/outputs/apk/debug/*.apk . + mv ./app/build/outputs/apk/debug/*.apk . + cd .github curl https://libre-tube.github.io/assets/LibreAlpha.png --output alpha.png echo "TG_TOKEN = '${{ secrets.TG_TOKEN }}'" > tgconfig.py curl https://api.github.com/repos/${{ github.repository }}/commits/${{ github.sha }} > commit.json