Get API Info before compilation

This commit is contained in:
XelXen 2022-06-18 20:36:55 +05:30 committed by GitHub
parent cb8708d646
commit 7a89147ab5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,6 +29,7 @@ jobs:
- name: Check for Execution Orders - name: Check for Execution Orders
run: | run: |
cd .github cd .github
curl https://api.github.com/repos/${{ github.repository }}/commits/${{ github.sha }} > commit.json
python checkrun.py python checkrun.py
- name: Patch and Compile - name: Patch and Compile
@ -49,7 +50,6 @@ jobs:
echo "TG_API_ID = '${{ secrets.TG_API_ID }}'" >> tgconfig.py echo "TG_API_ID = '${{ secrets.TG_API_ID }}'" >> tgconfig.py
echo "TG_POST_ID = '${{ secrets.TG_POST_ID }}'" >> tgconfig.py echo "TG_POST_ID = '${{ secrets.TG_POST_ID }}'" >> tgconfig.py
echo "TG_API_HASH = '${{ secrets.TG_API_HASH }}'" >> tgconfig.py echo "TG_API_HASH = '${{ secrets.TG_API_HASH }}'" >> tgconfig.py
curl https://api.github.com/repos/${{ github.repository }}/commits/${{ github.sha }} > commit.json
python -m pip install --upgrade pip python -m pip install --upgrade pip
pip install python-telegram-bot pip install python-telegram-bot
python tg.py python tg.py