Skip to content

Commit 5eba9c9

Browse files
author
stoorps
committed
Release v0.0.2
1 parent 3d4ee9e commit 5eba9c9

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

.github/workflows/release.yml

+15-1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ jobs:
1313
name: Release pushed tag
1414
runs-on: ubuntu-22.04
1515
steps:
16+
- uses: actions/checkout@v4
17+
18+
- name: Run tests
19+
run: cargo test --verbose
20+
1621
- name: Create release
1722
env:
1823
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -21,4 +26,13 @@ jobs:
2126
gh release create "$tag" \
2227
--repo="$GITHUB_REPOSITORY" \
2328
--title="${tag#v}" \
24-
--generate-notes
29+
--generate-notes
30+
31+
- name: Setup publish toolchain
32+
uses: actions-rs/toolchain@v1
33+
with:
34+
toolchain: stable
35+
override: true
36+
- uses: katyo/publish-crates@v2
37+
with:
38+
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}

0 commit comments

Comments
 (0)