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 22, 2024
1 parent 50c6884 commit 26b664c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/actions/npm/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,9 @@ runs:
inputs.PROJECT_TO_PUBLISH != ''
name: "NPM: Build Package"
shell: bash
working-directory: ${{ github.workspace }}
run: |
dotnet buildcontentpackage \
dotnet tool run buildcontentpackage \
-SourcePath "${{github.workspace}}/src/dist" \
-targetPath "${{github.workspace}}/dist" \
-version "${{inputs.BUILD_VERSION}}" \
Expand Down Expand Up @@ -140,8 +141,9 @@ runs:
inputs.PROJECT_TO_PUBLISH != ''
name: "NPM: Store Sign Package"
shell: bash
working-directory: ${{ github.workspace }}
run: |
dotnet signcontentpackage \
dotnet tool run signcontentpackage \
-Package "${{github.workspace}}/dist/${{inputs.PROJECT_TO_PUBLISH}}-${{inputs.BUILD_VERSION}}.nupkg" \
-WarningAsErrors true \
-Wallet false \
Expand Down

0 comments on commit 26b664c

Please sign in to comment.