Skip to content

Commit 324e375

Browse files
committed
Update release electron action
1 parent 3baf97b commit 324e375

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/release-electron.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
name: Build Electron Release
22

3-
on:
4-
push:
5-
tags: -"v*.*.*"
3+
on: push
64

75
jobs:
86
build:
@@ -45,10 +43,10 @@ jobs:
4543
uses: softprops/action-gh-release@v2
4644
with:
4745
files: linux.zip
48-
if: runner.os == 'Linux'
46+
if: runner.os == 'Linux' && startsWith(github.ref, 'refs/tags/')
4947

5048
- name: Create Release Build (Windows)
5149
uses: softprops/action-gh-release@v2
5250
with:
5351
files: windows-x64.zip
54-
if: runner.os == 'Windows'
52+
if: runner.os == 'Windows' && startsWith(github.ref, 'refs/tags/')

0 commit comments

Comments
 (0)