summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ci.yml9
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