Skip to content

Commit

Permalink
Update dotnet.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ArjunVachhani committed Sep 16, 2023
1 parent a4bed26 commit c17eb9d
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,4 @@ jobs:
run: dotnet build --no-restore
- name: Test
run: dotnet test --no-build --verbosity normal

merge:
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
- name: Create NuGet package
run: dotnet pack --configuration Release
- name: Publish to nuget.org
run: dotnet nuget push "bin/Release/XlsxHelper.1.0.0.nupkg" --api-key ${{ secrets.NUGET_API_KEY }}

0 comments on commit c17eb9d

Please sign in to comment.