ci: process both string and boolean values of inputs.publish

This commit is contained in:
Ivan Dyachkov 2023-08-09 09:33:17 +02:00
parent 34759b64f5
commit c35ad653f3
2 changed files with 2 additions and 2 deletions

View File

@ -169,7 +169,7 @@ jobs:
- uses: docker/build-push-action@v3
with:
push: ${{ inputs.publish == 'true' || github.repository_owner != 'emqx' }}
push: ${{ inputs.publish == 'true' || inputs.publish || github.repository_owner != 'emqx' }}
pull: true
no-cache: true
platforms: linux/amd64,linux/arm64

View File

@ -268,7 +268,7 @@ jobs:
needs:
- mac
- linux
if: ${{ inputs.publish == 'true' }}
if: inputs.publish == 'true' || inputs.publish
strategy:
fail-fast: false
matrix: