From 26b664ce4760125bd45d3c65f8f033051300124e Mon Sep 17 00:00:00 2001 From: Mark Ridgwell Date: Tue, 22 Oct 2024 17:20:51 +0000 Subject: [PATCH] [Actions] Updated .github/actions/npm/action.yml --- .github/actions/npm/action.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/actions/npm/action.yml b/.github/actions/npm/action.yml index f6f1865c..9981ef2c 100644 --- a/.github/actions/npm/action.yml +++ b/.github/actions/npm/action.yml @@ -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}}" \ @@ -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 \