1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 15:24:46 -05:00

ci: check Deno binary only in tagged commits (#12509)

This commit is contained in:
Bartek Iwańczuk 2021-10-20 23:44:32 +02:00 committed by GitHub
parent f250faaf05
commit 46bc1175e5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -448,7 +448,7 @@ jobs:
# Since all tests are skipped when we're building a tagged commit # Since all tests are skipped when we're building a tagged commit
# this is a minimal check to ensure that binary is not corrupted # this is a minimal check to ensure that binary is not corrupted
- name: Check Deno Binary - name: Check Deno Binary
if: matrix.profile == 'release' if: matrix.profile == 'release' && startsWith(github.ref, 'refs/tags/')
shell: bash shell: bash
run: target/release/deno eval "console.log(1+2)" | grep 3 run: target/release/deno eval "console.log(1+2)" | grep 3
env: env: