From 2ab05af611e9f96267738d543f9b8d05f83184eb Mon Sep 17 00:00:00 2001 From: Santiago Carmuega Date: Sun, 11 Feb 2024 14:28:13 -0300 Subject: [PATCH] ci: use correct working dir for dotnet pack (#71) --- .github/actions/publish-dotnet/action.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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