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:
parent
622bff4ebc
commit
eb4a8fc8a0
1 changed files with 1 additions and 2 deletions
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue