diff --git a/npm/npm-get-next-branched-version/action.yaml b/npm/npm-get-next-branched-version/action.yaml index 974f19b..728aff6 100644 --- a/npm/npm-get-next-branched-version/action.yaml +++ b/npm/npm-get-next-branched-version/action.yaml @@ -82,10 +82,11 @@ runs: filterIsExpression: "true" prerelease: "false" - name: "Debug - Fallback query results" - if: ${{ steps.giteaFallback.conclusion != 'skipped' }} + if: ${{ steps.gitea.outputs.version == '' && inputs.prerelease != 'false' }} run: | echo "Fallback filter: '^${{ steps.base.outputs.majorMinorPatchVersion }}'" echo "Fallback found version: '${{ steps.giteaFallback.outputs.version }}'" + echo "Fallback step conclusion: '${{ steps.giteaFallback.conclusion }}'" shell: bash - name: "Get the next version for the package." uses: act/common/utils/version-increment-branch@master