diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2021-12-07 14:49:20 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-07 14:49:20 +0100 |
commit | eb4a8fc8a0f9b29aa200754b43851ed294ed15da (patch) | |
tree | fab91f205f31087db1a64c27223226873f8027c7 | |
parent | 622bff4ebcc6d0027464f8ba4a197922d640bf10 (diff) |
build: don't publish canary verion from non-main branch (#12986)
-rw-r--r-- | .github/workflows/ci.yml | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8413e2f8e..3c500a297 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -618,8 +618,7 @@ jobs: name: publish canary runs-on: ubuntu-20.04 needs: ["build"] - if: github.repository == 'denoland/deno' && - (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/')) + if: github.repository == 'denoland/deno' && github.ref == 'refs/heads/main' steps: - name: Setup gcloud uses: google-github-actions/setup-gcloud@master |