generated from credfeto/cs-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Dependencies] - Update .github/actions/npm/action.yml to match the t…
…emplate repo
- Loading branch information
Showing
1 changed file
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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,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}}" | ||
|