From 8aedcefc540c83c1574afb42996a48cf5c688ebb Mon Sep 17 00:00:00 2001 From: Scion Date: Mon, 5 Jan 2026 12:58:43 -0800 Subject: [PATCH] Test --- npm/npm-get-next-branched-version/action.yaml | 5 +++-- npm/npm-pack/action.yaml | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/npm/npm-get-next-branched-version/action.yaml b/npm/npm-get-next-branched-version/action.yaml index d74c411..8e250fd 100644 --- a/npm/npm-get-next-branched-version/action.yaml +++ b/npm/npm-get-next-branched-version/action.yaml @@ -72,10 +72,11 @@ runs: echo "Event name: ${{ github.event_name }}" echo "Prerelease input value: '${{ inputs.prerelease }}'" shell: bash + # This is being skipped on Gitea, I think it is a bug. - 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' && always() }} + if: ${{ !steps.gitea.outputs.version && inputs.prerelease != 'false' }} with: name: ${{ inputs.name }} url: ${{ inputs.url }} @@ -86,7 +87,7 @@ runs: filterIsExpression: "true" prerelease: "false" - name: "Debug - Fallback query results" - if: ${{ !steps.gitea.outputs.version && inputs.prerelease != 'false' && always() }} + if: ${{ !steps.gitea.outputs.version && inputs.prerelease != 'false' }} run: | echo "Fallback filter: '^${{ steps.base.outputs.majorMinorPatchVersion }}'" echo "Fallback found version: '${{ steps.giteaFallback.outputs.version }}'" diff --git a/npm/npm-pack/action.yaml b/npm/npm-pack/action.yaml index 45f71d3..a338b26 100644 --- a/npm/npm-pack/action.yaml +++ b/npm/npm-pack/action.yaml @@ -51,7 +51,7 @@ runs: working-directory: ${{ inputs.workingDirectory }} shell: bash - name: "Update package version" - run: npm version ${{ inputs.version }} --no-git-tag-version + run: npm version ${{ inputs.version }} --no-git-tag-version --allow-same-version working-directory: ${{ inputs.workingDirectory }} shell: bash - name: "Build package"