We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4fecabe commit 9bc09f0Copy full SHA for 9bc09f0
.github/workflows/release.yml
@@ -112,3 +112,16 @@ jobs:
112
gh release upload "$GITHUB_REF_NAME" \
113
"${{ steps.package.outputs.archive }}" \
114
"${{ steps.package.outputs.sha256 }}"
115
+
116
+ publish-crates:
117
+ name: Publish to crates.io
118
+ needs: build-release
119
+ runs-on: ubuntu-latest
120
+ steps:
121
+ - uses: actions/checkout@v6
122
+ - name: Install Rust toolchain
123
+ run: rustup toolchain install stable --profile minimal
124
+ - name: Publish
125
+ run: cargo publish --locked
126
+ env:
127
+ CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
0 commit comments