We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eaabe1b commit 3eb6444Copy full SHA for 3eb6444
1 file changed
.github/workflows/ci.yml
@@ -360,3 +360,19 @@ jobs:
360
echo " wgpu Compat : ${{ needs.wgpu-compat.result }}"
361
exit 1
362
fi
363
+ # Publish to crates.io on version tags
364
+ publish:
365
+ name: Publish to crates.io
366
+ runs-on: ubuntu-latest
367
+ needs: [quality-gate]
368
+ if: startsWith(github.ref, 'refs/tags/v')
369
+ steps:
370
+ - uses: actions/checkout@v5
371
+
372
+ - name: Install Rust
373
+ uses: dtolnay/rust-toolchain@stable
374
375
+ - name: Publish to crates.io
376
+ env:
377
+ CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
378
+ run: cargo publish --no-default-features --features huggingface,airframe
0 commit comments