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