0
0
Fork 0
mirror of https://github.com/denoland/rusty_v8.git synced 2025-01-11 16:42:32 -05:00

add cargo publish github action (#26)

This commit is contained in:
Ry Dahl 2019-12-04 01:45:50 -05:00 committed by GitHub
parent 8a191c7ed9
commit cec2467245
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -76,6 +76,12 @@ jobs:
rustup component add clippy
cargo clippy --all-targets --release --locked -- -D clippy::all
- name: Publish
if: startsWith(github.ref, 'refs/tags/') && github.repository == 'denoland/rusty_v8'
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
run: cargo publish -vv
- name: Stop sccache
run: sccache --stop-server