Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
yinghuaxuan authored May 30, 2021
1 parent 3533614 commit ad0c51c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,7 @@ jobs:
dotnet-version: '5.0.x'

- name: Build
run: dotnet build -c Release

- name: Pack
run: dotnet pack -c Release /p:version=${{ github.event.release.tag_name }} /p:ContinuousIntegrationBuild=true
run: dotnet build -c Release /p:version=${{ github.event.release.tag_name }}

- name: Publish to NuGet
run: dotnet nuget push src\SpecFirst.MarkdownParser\bin\Release\*.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json --skip-duplicate

0 comments on commit ad0c51c

Please sign in to comment.