parent
237fe88f1c
commit
7a296c1729
|
|
@ -38,7 +38,7 @@ jobs:
|
|||
runs-on: ubuntu-20.04
|
||||
# Doesn't really need the Chrome build, but we can reuse its cache.
|
||||
needs: build_chrome
|
||||
if: github.ref == 'refs/heads/master'
|
||||
if: github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/v')
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
|
@ -69,9 +69,7 @@ jobs:
|
|||
# Doesn't really need the Chrome build, but we can reuse its cache.
|
||||
needs: build_chrome
|
||||
# Only run on master branch AND if tagging or manually dispatching.
|
||||
if: |
|
||||
github.ref == 'refs/heads/master' &&
|
||||
(startsWith(github.ref, 'refs/tags/v') || github.event.inputs.publish_amo_listed == true)
|
||||
if: startsWith(github.ref, 'refs/tags/v') || github.event.inputs.publish_amo_listed == true
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
|
|
|||
Loading…
Reference in New Issue