Fix paths

This commit is contained in:
XelXen 2022-06-15 21:09:00 +05:30 committed by GitHub
parent 3b49ba8ca0
commit e3a9cf206a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -33,8 +33,8 @@ jobs:
run: | run: |
cd .github cd .github
python patch.py python patch.py
./gradlew assembleDebug
cd .. cd ..
./gradlew assembleDebug
- name: Upload APK - name: Upload APK
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3

View File

@ -31,11 +31,13 @@ jobs:
run: | run: |
cd .github cd .github
python patch.py python patch.py
cd ..
./gradlew assembleDebug ./gradlew assembleDebug
- name: Telegram Bot - name: Telegram Bot
run: | 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 curl https://libre-tube.github.io/assets/LibreAlpha.png --output alpha.png
echo "TG_TOKEN = '${{ secrets.TG_TOKEN }}'" > tgconfig.py echo "TG_TOKEN = '${{ secrets.TG_TOKEN }}'" > tgconfig.py
curl https://api.github.com/repos/${{ github.repository }}/commits/${{ github.sha }} > commit.json curl https://api.github.com/repos/${{ github.repository }}/commits/${{ github.sha }} > commit.json