Skip to content

Commit 36daec3

Browse files
committed
Add draft release generation & dependabot
1 parent e3e4457 commit 36daec3

2 files changed

Lines changed: 20 additions & 5 deletions

File tree

‎.github/dependabot.yml‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
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"

‎.github/workflows/windows-web.yml‎

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,31 +2,38 @@
22

33
name: SlimeVR Windows Web Installer
44

5-
on: [ push, pull_request ]
5+
on: [ push, pull_request, workflow_dispatch ]
66

77
jobs:
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"

0 commit comments

Comments
 (0)