summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2021-10-20 23:44:32 +0200
committerGitHub <noreply@github.com>2021-10-20 23:44:32 +0200
commit46bc1175e51d64fce623b8e4c4b846ed02d19bea (patch)
tree6a136f4e7fa4d1149ee2cc8c5bc1af96082159d9
parentf250faaf05827a8f45bdb7a1f4c191ee3657baea (diff)
ci: check Deno binary only in tagged commits (#12509)
-rw-r--r--.github/workflows/ci.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 445a563bf..ae75f9b6e 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -448,7 +448,7 @@ jobs:
# Since all tests are skipped when we're building a tagged commit
# this is a minimal check to ensure that binary is not corrupted
- name: Check Deno Binary
- if: matrix.profile == 'release'
+ if: matrix.profile == 'release' && startsWith(github.ref, 'refs/tags/')
shell: bash
run: target/release/deno eval "console.log(1+2)" | grep 3
env: