File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -40,16 +40,18 @@ jobs:
4040 # 6. Commit EXE to new branch using PAT
4141 - name : Commit EXE to new branch
4242 env :
43- PAT_TOKEN : ${{ secrets.PAT_TOKEN }}
43+ PAT_TOKEN : ${{ secrets.PAT_TOKEN }}
4444 run : |
4545 git checkout -b windows-build
4646 mkdir -p exe
4747 mv dist/main.exe exe/
4848 git add exe/main.exe
4949 git commit -m "Add Windows EXE build"
50- git push --set-upstream https://jonasvanleeuwen19:${PAT_TOKEN}@github.com/jonasvanleeuwen19/youtube-player.git windows-build
50+ # force remote to use PAT
51+ git remote set-url origin https://jonasvanleeuwen19:${PAT_TOKEN}@github.com/jonasvanleeuwen19/youtube-player.git
52+ git push --set-upstream origin windows-build
5153
52- # 7. Upload artifact
54+ # 7. Upload artifact
5355 - name : Upload artifact
5456 uses : actions/upload-artifact@v4
5557 with :
You can’t perform that action at this time.
0 commit comments