diff --git a/.github/actions/publish-dotnet/action.yml b/.github/actions/publish-dotnet/action.yml index 56bdb6a..c27486f 100644 --- a/.github/actions/publish-dotnet/action.yml +++ b/.github/actions/publish-dotnet/action.yml @@ -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 \ No newline at end of file