From 512f19fc0ae669cab7d3456ddf7eac12283fbbe2 Mon Sep 17 00:00:00 2001 From: Mark Ridgwell Date: Tue, 22 Oct 2024 17:20:52 +0000 Subject: [PATCH] [Actions] Updated .github/actions/sleet/action.yml --- .github/actions/sleet/action.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/actions/sleet/action.yml b/.github/actions/sleet/action.yml index c5926de..053ba61 100644 --- a/.github/actions/sleet/action.yml +++ b/.github/actions/sleet/action.yml @@ -22,6 +22,7 @@ runs: - name: "Sleet: Publish Packages to Nuget (Using Sleet)" shell: bash + working-directory: ${{ github.workspace }} run: dotnet tool restore env: DOTNET_ROOT: "${{github.workspace}}/.dotnet/${{github.sha}}-${{github.run_id}}-${{github.run_number}}-${{github.run_attempt}}" @@ -39,7 +40,8 @@ runs: - name: "Sleet: Publish Packages to Nuget (Using Sleet)" shell: bash - run: dotnet sleet push "${{github.workspace}}/dist" --config sleet.json --source ${{inputs.SLEET_FEED}} + working-directory: ${{ github.workspace }} + run: dotnet tool run sleet push "${{github.workspace}}/dist" --config sleet.json --source ${{inputs.SLEET_FEED}} env: DOTNET_ROOT: "${{github.workspace}}/.dotnet/${{github.sha}}-${{github.run_id}}-${{github.run_number}}-${{github.run_attempt}}" DOTNET_INSTALL_DIR: "${{github.workspace}}/.dotnet/${{github.sha}}-${{github.run_id}}-${{github.run_number}}-${{github.run_attempt}}"