From fefe23e0d9c9b4bb65487a22fa9f0c1f8e13e112 Mon Sep 17 00:00:00 2001 From: Santiago Carmuega Date: Sun, 11 Feb 2024 14:19:16 -0300 Subject: [PATCH] ci: fix missing shell property in dotnet action (#70) --- .github/actions/publish-dotnet/action.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/actions/publish-dotnet/action.yml b/.github/actions/publish-dotnet/action.yml index ce2475a..56bdb6a 100644 --- a/.github/actions/publish-dotnet/action.yml +++ b/.github/actions/publish-dotnet/action.yml @@ -18,16 +18,20 @@ runs: dotnet-version: '8.0.x' # Specify your .NET version here - name: Restore dependencies + shell: bash working-directory: codegen/dotnet run: dotnet restore - name: Build + shell: bash working-directory: codegen/dotnet run: dotnet build --configuration Release --no-restore - name: Pack + shell: bash run: dotnet pack --configuration Release --no-build --output ./nupkgs - name: Publish to NuGet + shell: bash if: inputs.mode == 'release' 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