1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 07:14:47 -05:00

build: don't publish canary verion from non-main branch (#12986)

This commit is contained in:
Bartek Iwańczuk 2021-12-07 14:49:20 +01:00 committed by GitHub
parent 622bff4ebc
commit eb4a8fc8a0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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