File tree 1 file changed +21
-3
lines changed
1 file changed +21
-3
lines changed Original file line number Diff line number Diff line change @@ -21,19 +21,17 @@ jobs:
21
21
- uses : actions/checkout@v3
22
22
- uses : dtolnay/rust-toolchain@master
23
23
with :
24
- profile : minimal
25
24
toolchain : stable
26
25
override : true
27
26
- run : cargo check
28
27
29
28
fmt :
30
- name : Rustfmt
29
+ name : Format
31
30
runs-on : ubuntu-latest
32
31
steps :
33
32
- uses : actions/checkout@v3
34
33
- uses : dtolnay/rust-toolchain@master
35
34
with :
36
- profile : minimal
37
35
toolchain : stable
38
36
override : true
39
37
- run : rustup component add rustfmt
@@ -126,3 +124,23 @@ jobs:
126
124
with :
127
125
name : fimbl-${{ matrix.target }}-${{ env.MAJOR_VERSION}}.${{ env.MINOR_VERSION }}.${{ github.run_number }}
128
126
path : target/${{ matrix.target }}/release/fimbl
127
+
128
+ release :
129
+ name : Create tag & GitHub release
130
+ needs :
131
+ - build-release-candidate
132
+ steps :
133
+ - uses : actions/download-artifact@v2
134
+ - name : Display structure of downloaded files
135
+ run : ls -R
136
+ - name : Create release
137
+ uses : softprops/action-gh-release@v1
138
+ with :
139
+ tag_name : ${{ env.MAJOR_VERSION}}.${{ env.MINOR_VERSION }}.${{ github.run_number }}
140
+ draft : true
141
+ prerelease : false
142
+ files : |
143
+ fimbl-x86_64-apple-darwin-${{ env.MAJOR_VERSION}}.${{ env.MINOR_VERSION }}.${{ github.run_number }}
144
+ fimbl-aarch64-apple-darwin-${{ env.MAJOR_VERSION}}.${{ env.MINOR_VERSION }}.${{ github.run_number }}
145
+ fimbl-x86_64-unknown-linux-gnu-${{ env.MAJOR_VERSION}}.${{ env.MINOR_VERSION }}.${{ github.run_number }}
146
+ generate_release_notes : true
You can’t perform that action at this time.
0 commit comments