Skip to content

Commit 3184090

Browse files
author
OpenIPC Dashboard
committed
Add GitHub Release step for tags
1 parent 46a7af5 commit 3184090

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/build.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,14 @@ name: Build Windows
33
on:
44
push:
55
branches: [ main ]
6+
tags:
7+
- 'v*'
68
pull_request:
79
branches: [ main ]
810

11+
permissions:
12+
contents: write
13+
914
jobs:
1015
build:
1116
runs-on: windows-latest
@@ -58,3 +63,9 @@ jobs:
5863
path: |
5964
OpenIPC-Dashboard-Installer.exe
6065
dist/
66+
67+
- name: Create Release
68+
uses: softprops/action-gh-release@v1
69+
if: startsWith(github.ref, 'refs/tags/')
70+
with:
71+
files: OpenIPC-Dashboard-Installer.exe

0 commit comments

Comments
 (0)