Skip to content

Commit

Permalink
ci: use correct working dir for dotnet pack (#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
scarmuega authored Feb 11, 2024
1 parent fefe23e commit 2ab05af
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/actions/publish-dotnet/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,11 @@ runs:

- name: Pack
shell: bash
working-directory: codegen/dotnet
run: dotnet pack --configuration Release --no-build --output ./nupkgs

- name: Publish to NuGet
shell: bash
if: inputs.mode == 'release'
shell: bash
working-directory: codegen/dotnet
run: dotnet nuget push ./nupkgs/*.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ inputs.registry-token }} --skip-duplicate

0 comments on commit 2ab05af

Please sign in to comment.