diff --git a/npm/npm-get-next-branched-version/action.yaml b/npm/npm-get-next-branched-version/action.yaml index 3e8a5e8..22cc880 100644 --- a/npm/npm-get-next-branched-version/action.yaml +++ b/npm/npm-get-next-branched-version/action.yaml @@ -75,7 +75,7 @@ runs: - name: "If no version is found, get the latest version for the package if we didn't already look for it." uses: act/common/gitea/gitea-query-package-versions-latest@master id: giteaFallback - if: steps.gitea.outputs.version == '' && inputs.prerelease != 'false' + if: (!steps.gitea.outputs.version) && inputs.prerelease != 'false' with: name: ${{ inputs.name }} url: ${{ inputs.url }} @@ -86,7 +86,7 @@ runs: filterIsExpression: "true" prerelease: "false" - name: "Debug - Fallback query results" - if: steps.gitea.outputs.version == '' && inputs.prerelease != 'false' + if: (!steps.gitea.outputs.version) && inputs.prerelease != 'false' run: | echo "Fallback filter: '^${{ steps.base.outputs.majorMinorPatchVersion }}'" echo "Fallback found version: '${{ steps.giteaFallback.outputs.version }}'"