diff --git a/.github/actions/npm/action.yml b/.github/actions/npm/action.yml index 56e63879..424969ce 100644 --- a/.github/actions/npm/action.yml +++ b/.github/actions/npm/action.yml @@ -60,7 +60,7 @@ runs: shell: bash run: npm run build - - if: ${{inputs.NPM_SIGNING == 'true'}} + - if: inputs.NPM_SIGNING == 'true' name: "NPM: Build Package" shell: bash run: dotnet buildcontentpackage -SourcePath "${{github.workspace}}/src/dist" -targetPath "${{github.workspace}}" -version "${{inputs.BUILD_VERSION}}" -WarningAsErrors false -Wallet "${{github.workspace}}/Wallet.json" -WalletPassword "${{inputs.NPM_CONTENT_PACKAGE_WALLET_PASSWORD}}" @@ -74,7 +74,7 @@ runs: DOTNET_TC_QuickJitForLoops: "1" DOTNET_TieredPGO: "1" - - if: ${{inputs.NPM_SIGNING == 'true'}} + - if: inputs.NPM_SIGNING == 'true' name: "NPM: Check Package" shell: bash run: | @@ -82,16 +82,16 @@ runs: echo "-----------------------" ls "${{github.workspace}}/${{inputs.OCTOPUS_DEPLOY_PACKAGE_ZIP}}-${{env.BUILD_VERSION}}.nupkg" - - if: ${{inputs.NPM_SIGNING == 'true'}} + - if: inputs.NPM_SIGNING == 'true' name: "NPM: Create Store Signing Wallet" - #uses: ttd2089/secret-file-action@1.0.0 + #uses: ttd2089/secret-file-action@1.0.0 uses: credfeto/secret-file-action@feat/fix-github-deprecations id: store-siging-wallet with: secret: ${{inputs.NPM_PACKAGE_STORE_SIGNING_WALLET}} b64-decode: false - - if: ${{inputs.NPM_SIGNING == 'true'}} + - if: inputs.NPM_SIGNING == 'true' name: "NPM: Store Sign Package" shell: bash run: dotnet signcontentpackage -Package "${{github.workspace}}/${{inputs.OCTOPUS_DEPLOY_PACKAGE_ZIP}}-${{inputs.BUILD_VERSION}}.nupkg" -WarningAsErrors true -Wallet false -Wallet "${{steps.store-siging-wallet.outputs.file}}" -WalletPassword "${{inputs.NPM_PACKAGE_STORE_SIGNING_WALLET_PASSWORD}}"