File tree Expand file tree Collapse file tree 2 files changed +10
-11
lines changed Expand file tree Collapse file tree 2 files changed +10
-11
lines changed Original file line number Diff line number Diff line change 1- name : CI
1+ name : CD-rust
22
33on :
44 push :
5- branches : [ '*' ]
65 tags :
7- - ' *'
6+ - ' rs- *'
87
98env :
109 CARGO_TERM_COLOR : always
1110
1211jobs :
1312 build :
13+ permissions :
14+ contents : write
1415 runs-on : macos-latest
1516
1617 steps :
@@ -28,15 +29,11 @@ jobs:
2829 - name : make xcframework archive
2930 run : make zip
3031
31- # - uses: actions/upload-artifact@v4
32- # with:
33- # name: RustXcframework.xcframework.zip
34- # path: ./RustXcframework.xcframework.zip
35-
3632 - name : Release
3733 uses : softprops/action-gh-release@v2
3834 if : startsWith(github.ref, 'refs/tags/')
3935 with :
40- # prerelease: ${{ contains(github.ref, '- ') }}
36+ prerelease : ${{ contains(github.ref, 'rc ') }}
4137 files : |
42- ./RustXcframework.xcframework.zip
38+ ./RustXcframework.xcframework.zip
39+ ./RustXcframework.xcframework.sha256.txt
Original file line number Diff line number Diff line change @@ -30,4 +30,6 @@ build-release: build-rust-release copy-generated
3030
3131zip : build-release
3232 zip -r RustXcframework.xcframework.zip ./RustXcframework.xcframework/
33- ls -lisah RustXcframework.xcframework.zip
33+ ls -lisah RustXcframework.xcframework.zip
34+ shasum -a 256 RustXcframework.xcframework.zip
35+ shasum -a 256 RustXcframework.xcframework.zip > RustXcframework.xcframework.sha256.txt
You can’t perform that action at this time.
0 commit comments