Skip to content

Commit

Permalink
[Dependencies] - Update .github/actions/npm/action.yml to match the t…
Browse files Browse the repository at this point in the history
…emplate repo
  • Loading branch information
credfeto committed Oct 26, 2023
1 parent 95a44a0 commit 9bbe565
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/actions/npm/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}}"
Expand All @@ -74,24 +74,24 @@ 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: |
ls -la "${{github.workspace}}"
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/[email protected]
#uses: ttd2089/[email protected]
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}}"
Expand Down

0 comments on commit 9bbe565

Please sign in to comment.