diff options
| author | Ry Dahl <ry@tinyclouds.org> | 2020-01-17 17:53:13 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-01-17 17:53:13 -0500 |
| commit | d7203092039d3c46ca8480ff8eecf612deb2b2f6 (patch) | |
| tree | b247e948bc65d710f6e86d995aca9c20089cf728 /.github/workflows/ci.yml | |
| parent | 35eb79610f4b451af1d4a9c286fd63875d28bca5 (diff) | |
Auto cargo-publish on tags (#3704)
fix tools/cargo_publish.py
Diffstat (limited to '.github/workflows/ci.yml')
| -rw-r--r-- | .github/workflows/ci.yml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 48d86e5c4..28b8bc300 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -186,5 +186,14 @@ jobs: target/release/deno_src.tar.gz draft: true + - name: Publish + if: > + startsWith(github.ref, 'refs/tags/') && + github.repository == 'denoland/deno' && + runner.os == 'Linux' + env: + CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} + run: ./tools/cargo_publish.py + - name: Stop sccache run: sccache --stop-server |
