Skip to content

Commit 5ee663c

Browse files
committed
upload artifacts to push actions too
1 parent 1739d5f commit 5ee663c

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
name: build
22

3-
on:
4-
push:
5-
tags: ['v*', 'test*']
3+
on: push
64

75
jobs:
86
build_macos:
@@ -160,7 +158,7 @@ jobs:
160158
create_release:
161159
name: Create Release
162160
runs-on: ubuntu-latest
163-
if: ${{ !contains(github.ref, 'test') }}
161+
if: ${{ startsWith(github.ref, 'refs/tags/') && !contains(github.ref, 'test') }}
164162
needs: [build_macos, build_windows, build_linux, build_linux-arm, build_linux-arm64]
165163
steps:
166164
- name: Download Artifacts

0 commit comments

Comments
 (0)