mirror of
https://github.com/denoland/rusty_v8.git
synced 2024-11-22 04:40:01 +00:00
add cargo publish github action (#26)
This commit is contained in:
parent
8a191c7ed9
commit
cec2467245
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user