diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 943fd12d..8ae7fad1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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