Skip to content

Commit

Permalink
Fix package publish job (#95)
Browse files Browse the repository at this point in the history
Fix nuget package publish job.
  • Loading branch information
xqrzd authored May 24, 2020
1 parent 5b292bb commit 90493b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@ jobs:
run: dotnet test --no-restore --no-build --configuration Release

publish:
if: github.event_name == 'pull_request' && github.event.action == 'closed' && github.event.pull_request.merged == true

needs: linux_build
name: Publish nuget package
needs: linux_build
runs-on: ubuntu-latest

if: github.ref == 'refs/heads/master'
steps:
- uses: actions/checkout@v2
- name: Setup .NET Core
Expand Down

0 comments on commit 90493b3

Please sign in to comment.