File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 2323 DEFAULT_BASE_PATH : ${{ runner.temp }}/downloader_test
2424
2525 - name : Pack Launcher
26- run : ./.github/pack_launcher.sh
26+ run : |
27+ set -euo pipefail
28+
29+ if ! gh release list | grep -q "latest" ; then
30+ gh release create "latest" || true
31+ sleep 15s
32+ fi
33+
34+ cp downloader.sh update.sh
35+ zip "MiSTer_Downloader.zip" update.sh
36+ gh release upload "latest" "MiSTer_Downloader.zip" --clobber
2737 env :
2838 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 3939 - uses : actions/checkout@v4
4040
4141 - name : Pack PC Launcher
42- run : chmod +x .github/pack_pc_launcher.sh && ./.github/pack_pc_launcher.sh
42+ run : |
43+ set -euo pipefail
44+
45+ if ! gh release list | grep -q "latest" ; then
46+ gh release create "latest" || true
47+ sleep 15s
48+ fi
49+
50+ cd src
51+ cp pc_launcher.py downloader_pc_launcher.py
52+ zip "MiSTer_Downloader_PC_Launcher.zip" downloader_pc_launcher.py
53+ gh release upload "latest" "MiSTer_Downloader_PC_Launcher.zip" --clobber
4354 env :
4455 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 1+ name : Upload Downloader Tester
2+
3+ on :
4+ push :
5+ paths :
6+ - ' .github/downloader_test.py'
7+ workflow_dispatch :
8+
9+ jobs :
10+ pack :
11+ runs-on : ubuntu-latest
12+
13+ steps :
14+ - uses : actions/checkout@v4
15+
16+ - name : Upload to Release
17+ run : |
18+ set -euo pipefail
19+ if ! gh release list | grep -q "latest" ; then
20+ gh release create "latest" || true
21+ sleep 15s
22+ fi
23+
24+ gh release upload latest .github/downloader_test.py --clobber
25+ env :
26+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments