Skip to content

Commit

Permalink
[Actions] Updated .github/actions/npm/action.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
credfeto committed Oct 8, 2024
1 parent dae77a9 commit 7eedfeb
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions .github/actions/npm/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,9 @@ runs:
shell: bash
run: npm run build

- if: inputs.NPM_SIGNING == 'true'
- if: |
inputs.NPM_SIGNING == 'true' &&
inputs.PROJECT_TO_PUBLISH != ''
name: "NPM: Build Package"
shell: bash
run: |
Expand All @@ -110,15 +112,19 @@ runs:
DOTNET_TieredPGO: "1"
MSBUILDTERMINALLOGGER: "auto"
- if: inputs.NPM_SIGNING == 'true'
- if: |
inputs.NPM_SIGNING == 'true' &&
inputs.PROJECT_TO_PUBLISH != ''
name: "NPM: Check Package"
shell: bash
run: |
ls -la "${{github.workspace}}"
echo "-----------------------"
ls "${{github.workspace}}/${{inputs.PROJECT_TO_PUBLISH}}-${{env.BUILD_VERSION}}.nupkg"
ls "${{github.workspace}}/dist/${{inputs.PROJECT_TO_PUBLISH}}-${{env.BUILD_VERSION}}.nupkg"
- if: inputs.NPM_SIGNING == 'true'
- if: |
inputs.NPM_SIGNING == 'true' &&
inputs.PROJECT_TO_PUBLISH != ''
name: "NPM: Create Store Signing Wallet"
#uses: ttd2089/[email protected]
uses: credfeto/secret-file-action@feat/fix-github-deprecations
Expand All @@ -127,7 +133,9 @@ runs:
secret: ${{inputs.NPM_PACKAGE_STORE_SIGNING_WALLET}}
b64-decode: false
- if: inputs.NPM_SIGNING == 'true'
- if: |
inputs.NPM_SIGNING == 'true' &&
inputs.PROJECT_TO_PUBLISH != ''
name: "NPM: Store Sign Package"
shell: bash
run: |
Expand Down

0 comments on commit 7eedfeb

Please sign in to comment.