@@ -30,13 +30,13 @@ jobs:
3030 steps :
3131 - uses : actions/checkout@v6
3232 with :
33- token : ${{ secrets.GH_TOKEN }}
33+ token : ${{ secrets.GH_TOKEN || github.token }}
3434 persist-credentials : true
3535 show-progress : false
3636 - name : Setup Git Credentials
3737 run : |
3838 git config --global credential.helper store
39- echo "https://oauth2:${{ secrets.GH_TOKEN }}@github.com" > ~/.git-credentials
39+ echo "https://oauth2:${{ secrets.GH_TOKEN || github.token }}@github.com" > ~/.git-credentials
4040 - name : Setup Python
4141 uses : actions/setup-python@v6
4242 with :
@@ -60,13 +60,13 @@ jobs:
6060 steps :
6161 - uses : actions/checkout@v6
6262 with :
63- token : ${{ secrets.GH_TOKEN }}
63+ token : ${{ secrets.GH_TOKEN || github.token }}
6464 persist-credentials : true
6565 show-progress : false
6666 - name : Setup Git Credentials
6767 run : |
6868 git config --global credential.helper store
69- echo "https://oauth2:${{ secrets.GH_TOKEN }}@github.com" > ~/.git-credentials
69+ echo "https://oauth2:${{ secrets.GH_TOKEN || github.token }}@github.com" > ~/.git-credentials
7070 - name : Setup Python
7171 uses : actions/setup-python@v6
7272 with :
9797 0xe000 /home/runner/.platformio/packages/framework-arduinoespressif32/tools/partitions/boot_app0.bin \
9898 0x10000 .pio/build/OpenPPG-CESP32S3-CAN-SP140/firmware.bin
9999 - name : Archive ESP32S3 Firmware
100- uses : actions/upload-artifact@v6
100+ uses : actions/upload-artifact@v7
101101 with :
102102 name : OpenPPG-CESP32S3-CAN-SP140-firmware
103103 path : .pio/build/OpenPPG-CESP32S3-CAN-SP140/full-controller-firmware.bin
0 commit comments