We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 70885d1 commit 2ecdc62Copy full SHA for 2ecdc62
1 file changed
.github/workflows/rust.yml
@@ -156,10 +156,14 @@ jobs:
156
env:
157
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
158
159
+ - uses: rust-lang/crates-io-auth-action@v1
160
+ if: env.RELEASE == 'true'
161
+ id: auth
162
+
163
- name: Publish to crates.io
164
if: env.RELEASE == 'true'
165
- CARGO_REGISTRY_TOKEN: ${{ secrets.cargo_registry_token }}
166
+ CARGO_REGISTRY_TOKEN: ${{ steps.auth.outputs.token }}
167
# See comment above for why `--allow-dirty` is used.
168
run: |
169
cp -r src rust_bindings/cpp
0 commit comments