File tree Expand file tree Collapse file tree 1 file changed +12
-17
lines changed Expand file tree Collapse file tree 1 file changed +12
-17
lines changed Original file line number Diff line number Diff line change 1
1
name : release
2
2
3
3
on :
4
- pull_request :
5
- types :
6
- - opened
7
- - synchronize
8
- # push:
9
- # tags:
10
- # - 'v*'
4
+ push :
5
+ tags :
6
+ - ' v*'
11
7
12
8
jobs :
13
9
job-matrix :
72
68
run : |
73
69
rustup target add ${{ matrix.cross-target }}
74
70
75
- - name : build (${{ steps.set-outputs.outputs.build-type }}; ${{ matrix.cross-target }})
71
+ - name : build
76
72
run : |
77
73
cargo build ${{ steps.set-outputs.outputs.release-build-option }} ${{ steps.set-outputs.outputs.target-option }}
78
74
@@ -88,12 +84,11 @@ jobs:
88
84
89
85
zip -r ${artifact_dir}.zip ${artifact_dir}
90
86
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
+
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
You can’t perform that action at this time.
0 commit comments