Skip to content

Commit

Permalink
try to fix pack command
Browse files Browse the repository at this point in the history
  • Loading branch information
weslleymurdock committed Jun 13, 2024
1 parent 8afbf82 commit 4f1da41
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/CD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ jobs:
run: echo "VERSION=${GITHUB_REF/refs\/tags\/v/}" >> $GITHUB_ENV

- name: Pack
run: dotnet pack src/Input.Joystick/Input.Joystick.csproj -p:PackageVersion "${VERSION}" --output .
run: |
cd ${{ github.workspace }}/src/
dotnet pack -p:PackageVersion "${VERSION}" --output ${{ github.workspace }}
- name: Push to nuget
run: dotnet nuget push Input.Joystick.${VERSION}.nupkg --source https://api.nuget.org/v3/index.json --api-key ${API_KEY} --skip-duplicate
Expand Down

0 comments on commit 4f1da41

Please sign in to comment.