Skip to content

Commit

Permalink
[Actions] Updated .github/actions/sleet/action.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
credfeto committed Oct 22, 2024
1 parent 26b664c commit 512f19f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/actions/sleet/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}}"
Expand All @@ -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}}"
Expand Down

0 comments on commit 512f19f

Please sign in to comment.