Skip to content

Commit fec5945

Browse files
Fix release workflow
1 parent b168879 commit fec5945

File tree

1 file changed

+4
-16
lines changed

1 file changed

+4
-16
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -20,20 +20,8 @@ jobs:
2020
steps:
2121
- uses: actions/checkout@v5
2222
- uses: dtolnay/rust-toolchain@stable
23+
- name: Log in to crate.io
24+
run: |-
25+
echo "${{ secrets.CARGO_TOKEN }}" | cargo login
2326
- name: Publish to crates.io
24-
run: cargo publish --token ${{ secrets.CARGO_TOKEN }}
25-
26-
release-plz-pr:
27-
name: Release-plz PR
28-
runs-on: ubuntu-latest
29-
needs: publish-release
30-
steps:
31-
- uses: actions/checkout@v5
32-
- uses: dtolnay/rust-toolchain@stable
33-
- name: Run release-plz
34-
uses: release-plz/action@v0.5
35-
with:
36-
command: release-pr
37-
env:
38-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
39-
# CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
27+
run: cargo publish --dry-run

0 commit comments

Comments
 (0)