File tree Expand file tree Collapse file tree 4 files changed +1047
-129
lines changed Expand file tree Collapse file tree 4 files changed +1047
-129
lines changed Original file line number Diff line number Diff line change
1
+ name : release
2
+
3
+ on :
4
+ workflow_dispatch :
5
+
6
+ jobs :
7
+ release :
8
+ permissions :
9
+ contents : write
10
+ runs-on : ubuntu-latest
11
+ steps :
12
+ - uses : actions/checkout@v4
13
+
14
+ - uses : dtolnay/rust-toolchain@stable
15
+ with :
16
+ targets : wasm32-wasi
17
+
18
+ - name : Conventional Changelog Action
19
+ id : changelog
20
+ uses : TriPSs/conventional-changelog-action@d360fad3a42feca6462f72c97c165d60a02d4bf2
21
+ # overriding some of the basic behaviors to just get the changelog
22
+ with :
23
+ tag-prefix : ' '
24
+ output-file : CHANGELOG.md
25
+ version-file : ' Cargo.toml'
26
+ version-path : ' package.version'
27
+ pre-commit : ./scripts/check.js # runs `cargo check` after version bump to update the lockfile.
28
+
29
+ - name : Build release binary
30
+ run : cargo build --release
31
+
32
+ - name : Create Github Release
33
+ if : ${{ steps.changelog.outputs.skipped == 'false' }}
34
+ env :
35
+ GH_TOKEN : ${{ github.token }}
36
+ run : |
37
+ gh release create ${{ steps.changelog.outputs.tag }} \
38
+ --notes "${{ steps.changelog.outputs.clean_changelog }}" \
39
+ "./target/wasm32-wasi/release/zj-quit.wasm"
You can’t perform that action at this time.
0 commit comments