Skip to content

Commit 616fb35

Browse files
committed
feat: prompt for confirm before killing session
1 parent a390f72 commit 616fb35

File tree

4 files changed

+1047
-129
lines changed

4 files changed

+1047
-129
lines changed

.github/workflows/release.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
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"

0 commit comments

Comments
 (0)