Skip to content

Commit 4c284f5

Browse files
committed
ci: rm debug comment-out
1 parent 8410995 commit 4c284f5

File tree

1 file changed

+12
-17
lines changed

1 file changed

+12
-17
lines changed

.github/workflows/release.yml

Lines changed: 12 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,9 @@
11
name: release
22

33
on:
4-
pull_request:
5-
types:
6-
- opened
7-
- synchronize
8-
# push:
9-
# tags:
10-
# - 'v*'
4+
push:
5+
tags:
6+
- 'v*'
117

128
jobs:
139
job-matrix:
@@ -72,7 +68,7 @@ jobs:
7268
run: |
7369
rustup target add ${{ matrix.cross-target }}
7470
75-
- name: build (${{ steps.set-outputs.outputs.build-type }}; ${{ matrix.cross-target }})
71+
- name: build
7672
run: |
7773
cargo build ${{ steps.set-outputs.outputs.release-build-option }} ${{ steps.set-outputs.outputs.target-option }}
7874
@@ -88,12 +84,11 @@ jobs:
8884
8985
zip -r ${artifact_dir}.zip ${artifact_dir}
9086
91-
# - name: Upload Files to a GitHub Release (${{ steps.set-outputs.outputs.os }})
92-
# uses: svenstaro/[email protected]
93-
# with:
94-
# repo_token: ${{ secrets.GITHUB_TOKEN }}
95-
# file_glob: true
96-
# file: springql_client-${{ steps.set-outputs.outputs.os }}-*.zip
97-
# tag: ${{ github.ref }}
98-
# overwrite: true
99-
# prerelease: false
87+
- name: Upload Files to a GitHub Release (${{ steps.set-outputs.outputs.os }})
88+
uses: svenstaro/[email protected]
89+
with:
90+
repo_token: ${{ secrets.GITHUB_TOKEN }}
91+
file: springql_client-${{ steps.set-outputs.outputs.build-target }}-${{ steps.set-outputs.outputs.build-type }}.zip
92+
tag: ${{ github.ref }}
93+
overwrite: true
94+
prerelease: false

0 commit comments

Comments
 (0)