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 34d9daf commit ba261e6
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/actions/npm/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,11 @@ runs:
# core.notice('Cache Hit: ${{steps.npm-cache.outputs.cache-hit}}');
####################################################################################################################

- name: "NPM: Ensure dist folder exists"
shell: bash
run: |
[ ! -d ../dist ] && mkdir ../dist
- name: "NPM: Install dependencies"
working-directory: ${{github.workspace}}/src
shell: bash
Expand All @@ -87,7 +92,7 @@ runs:
run: |
dotnet buildcontentpackage \
-SourcePath "${{github.workspace}}/src/dist" \
-targetPath "${{github.workspace}}" \
-targetPath "${{github.workspace}}/dist" \
-version "${{inputs.BUILD_VERSION}}" \
-WarningAsErrors false \
-Wallet "${{github.workspace}}/Wallet.json" \
Expand Down Expand Up @@ -127,7 +132,7 @@ runs:
shell: bash
run: |
dotnet signcontentpackage \
-Package "${{github.workspace}}/${{inputs.PROJECT_TO_PUBLISH}}-${{inputs.BUILD_VERSION}}.nupkg" \
-Package "${{github.workspace}}/dist/${{inputs.PROJECT_TO_PUBLISH}}-${{inputs.BUILD_VERSION}}.nupkg" \
-WarningAsErrors true \
-Wallet false \
-Wallet "${{steps.store-siging-wallet.outputs.file}}" \
Expand Down

0 comments on commit ba261e6

Please sign in to comment.