ci: process both string and boolean values of inputs.publish
This commit is contained in:
parent
34759b64f5
commit
c35ad653f3
|
@ -169,7 +169,7 @@ jobs:
|
||||||
|
|
||||||
- uses: docker/build-push-action@v3
|
- uses: docker/build-push-action@v3
|
||||||
with:
|
with:
|
||||||
push: ${{ inputs.publish == 'true' || github.repository_owner != 'emqx' }}
|
push: ${{ inputs.publish == 'true' || inputs.publish || github.repository_owner != 'emqx' }}
|
||||||
pull: true
|
pull: true
|
||||||
no-cache: true
|
no-cache: true
|
||||||
platforms: linux/amd64,linux/arm64
|
platforms: linux/amd64,linux/arm64
|
||||||
|
|
|
@ -268,7 +268,7 @@ jobs:
|
||||||
needs:
|
needs:
|
||||||
- mac
|
- mac
|
||||||
- linux
|
- linux
|
||||||
if: ${{ inputs.publish == 'true' }}
|
if: inputs.publish == 'true' || inputs.publish
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
|
|
Loading…
Reference in New Issue