File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ version : 2
2+ updates :
3+
4+ - package-ecosystem : " github-actions"
5+ directory : " /"
6+ schedule :
7+ # Check for updates to GitHub Actions every week
8+ interval : " weekly"
Original file line number Diff line number Diff line change 22
33name : SlimeVR Windows Web Installer
44
5- on : [ push, pull_request ]
5+ on : [ push, pull_request, workflow_dispatch ]
66
77jobs :
88 build :
99 runs-on : windows-2022
10-
10+
1111 env :
1212 # The directory of the web installer project
1313 WINDOWS_WEB_DIR : ${{ github.workspace }}/windows/web
1414
1515 steps :
1616 - name : Checkout code
17- uses : actions/checkout@v5
17+ uses : actions/checkout@v6
1818 with :
1919 submodules : recursive
20-
2120 - name : Create NSIS installer
2221 uses : joncloud/makensis-action@v5.0
2322 with :
2423 script-file : ${{ env.WINDOWS_WEB_DIR }}/slimevr_web_installer.nsi
2524
2625 - name : Upload the installer as a build artifact
27- uses : actions/upload-artifact@v4
26+ uses : actions/upload-artifact@v6
2827 with :
2928 # Artifact name
3029 name : " slimevr_web_installer" # optional, default is artifact
3130 # A file, directory or wildcard pattern that describes what to upload
3231 path : ${{ env.WINDOWS_WEB_DIR }}/slimevr_web_installer.exe
32+
33+ - name : Upload to draft release
34+ uses : softprops/action-gh-release@v2
35+ if : startsWith(github.ref, 'refs/tags/')
36+ with :
37+ draft : true
38+ generate_release_notes : true
39+ files : " ${{ env.WINDOWS_WEB_DIR }}/slimevr_web_installer.exe"
You can’t perform that action at this time.
0 commit comments