diff --git a/npm/npm-get-next-branched-version/action.yaml b/npm/npm-get-next-branched-version/action.yaml index 22cc880..d74c411 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' && always() }} 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' && always() }} run: | echo "Fallback filter: '^${{ steps.base.outputs.majorMinorPatchVersion }}'" echo "Fallback found version: '${{ steps.giteaFallback.outputs.version }}'"