From d1422cb1b4e5e79a81e6e672d6ecdffa8d64a0bc Mon Sep 17 00:00:00 2001 From: Scion Date: Mon, 5 Jan 2026 12:20:35 -0800 Subject: [PATCH] Test --- gitea/gitea-get-next-branched-version/action.yaml | 6 +++--- npm/npm-pack-and-compare/action.yaml | 2 +- npm/npm-pack/action.yaml | 2 +- npm/npm-test/action.yaml | 2 +- nuget/nuget-get-next-branched-version/action.yaml | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/gitea/gitea-get-next-branched-version/action.yaml b/gitea/gitea-get-next-branched-version/action.yaml index 493b2d7..b879ffd 100644 --- a/gitea/gitea-get-next-branched-version/action.yaml +++ b/gitea/gitea-get-next-branched-version/action.yaml @@ -69,7 +69,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: packageFallback - if: ${{ steps.version.outputs.version == '' && inputs.prerelease != 'false' }} + if: ${{ !steps.version.outputs.version && inputs.prerelease != 'false' }} with: url: ${{ inputs.url }} organization: ${{ inputs.organization }} @@ -80,9 +80,9 @@ runs: name: ${{ inputs.name }} filter: ^${{ steps.base.outputs.majorMinorPatchVersion }} prerelease: false - - run: echo "${{ steps.version.outputs.version == '' }}" AND "${{ inputs.prerelease != 'false' }}" + - run: echo "${{ !steps.version.outputs.version }}" AND "${{ inputs.prerelease != 'false' }}" shell: bash - - if: ${{ steps.version.outputs.version == '' && inputs.prerelease != 'false' }} + - if: ${{ !steps.version.outputs.version && inputs.prerelease != 'false' }} run: echo "${{ steps.packageFallback.outputs.version }}" shell: bash - name: "Get the next version for the package." diff --git a/npm/npm-pack-and-compare/action.yaml b/npm/npm-pack-and-compare/action.yaml index 1e0b92e..020447e 100644 --- a/npm/npm-pack-and-compare/action.yaml +++ b/npm/npm-pack-and-compare/action.yaml @@ -95,7 +95,7 @@ runs: buildScript: ${{ inputs.buildScript }} outputDirectory: ${{ inputs.outputDirectory }} registry: ${{ inputs.registry }} - skipInstall: ${{ steps.pack_comparison.conclusion != '' }} + skipInstall: ${{ steps.pack_comparison.conclusion }} - name: "Generate package outputs" id: package run: | diff --git a/npm/npm-pack/action.yaml b/npm/npm-pack/action.yaml index b05bd4d..45f71d3 100644 --- a/npm/npm-pack/action.yaml +++ b/npm/npm-pack/action.yaml @@ -55,7 +55,7 @@ runs: working-directory: ${{ inputs.workingDirectory }} shell: bash - name: "Build package" - if: ${{ inputs.buildScript != '' }} + if: ${{ inputs.buildScript }} run: npm run ${{ inputs.buildScript }} working-directory: ${{ inputs.workingDirectory }} shell: bash diff --git a/npm/npm-test/action.yaml b/npm/npm-test/action.yaml index 47edd30..983492b 100644 --- a/npm/npm-test/action.yaml +++ b/npm/npm-test/action.yaml @@ -59,7 +59,7 @@ runs: cache: npm cache-dependency-path: ${{ inputs.workingDirectory }}/package-lock.json - name: "Configure npm authentication" - if: ${{ inputs.registries != '' && inputs.apiKeys != '' }} + if: ${{ inputs.registries && inputs.apiKeys }} run: | bash "${{ github.action_path }}/configure-auth.sh" add "${{ inputs.registries }}" "${{ inputs.apiKeys }}" working-directory: ${{ inputs.workingDirectory }} diff --git a/nuget/nuget-get-next-branched-version/action.yaml b/nuget/nuget-get-next-branched-version/action.yaml index c28bb69..292c6b1 100644 --- a/nuget/nuget-get-next-branched-version/action.yaml +++ b/nuget/nuget-get-next-branched-version/action.yaml @@ -55,7 +55,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/github/github-query-nuget-versions-latest@master id: nugetFallback - if: ${{ steps.nuget.outputs.version == '' && inputs.prerelease != 'false' }} + if: ${{ !steps.nuget.outputs.version && inputs.prerelease != 'false' }} with: name: ${{ inputs.name }} url: ${{ inputs.url }}