Skip to content

Commit 26a49d3

Browse files
committed
update release workflow
1 parent 75dab5f commit 26a49d3

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.github/workflows/quicktest.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: Quick Test
22

33
on:
44
push:
5-
branches: [ "main", "dev" ]
5+
branches: [ "dev" ]
66
pull_request:
7-
branches: [ "main", "dev" ]
7+
branches: [ "dev" ]
88

99
env:
1010
SSUI_CI_SKIP_INSTALL: 1

.github/workflows/release.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ name: Release
33

44
on:
55
push:
6-
tags:
6+
branches: [ "main" ]
7+
tags:
78
- "*.*.*"
89

910
env:
@@ -65,6 +66,6 @@ jobs:
6566

6667
- name: Upload release assets
6768
uses: softprops/action-gh-release@v2
69+
if: github.ref_type == 'tag'
6870
with:
69-
files: ${{ matrix.artifacts }}
70-
draft: true
71+
files: ${{ matrix.artifacts }}

0 commit comments

Comments
 (0)