mirror of
https://github.com/denoland/deno.git
synced 2024-11-22 04:51:22 +00:00
build: don't publish canary verion from non-main branch (#12986)
This commit is contained in:
parent
622bff4ebc
commit
eb4a8fc8a0
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 New Issue
Block a user