Skip to content

Commit

Permalink
ci: fix missing shell property in dotnet action (#70)
Browse files Browse the repository at this point in the history
  • Loading branch information
scarmuega authored Feb 11, 2024
1 parent 47e53d6 commit fefe23e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/actions/publish-dotnet/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit fefe23e

Please sign in to comment.