Skip to content

Commit 995f066

Browse files
committed
feat(ci): cargo publish on release
1 parent adbdf28 commit 995f066

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,3 +51,10 @@ jobs:
5151
tag: ${{ github.ref_name }}
5252
overwrite: true
5353
prerelease: true
54+
55+
publish:
56+
name: cargo publish
57+
runs-on: ubuntu-24.04-arm
58+
steps:
59+
- uses: actions/checkout@v4
60+
- run: cargo publish --locked --token ${{ secrets.CARGO_REGISTRY_TOKEN }} --allow-dirty --dry-run

.github/workflows/release_dispatch.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,3 +55,9 @@ jobs:
5555
tag: ${{ github.event.inputs.tag }}
5656
overwrite: true
5757
prerelease: true
58+
publish:
59+
name: cargo publish
60+
runs-on: ubuntu-24.04-arm
61+
steps:
62+
- uses: actions/checkout@v4
63+
- run: cargo publish --locked --token ${{ secrets.CARGO_REGISTRY_TOKEN }} --allow-dirty --dry-run

0 commit comments

Comments
 (0)