Skip to content

Commit

Permalink
Add condition for deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
inputfalken committed Oct 11, 2020
1 parent db66978 commit 032b747
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/publish-Sharpy.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
name: publish to nuget
on:
push:
branches:
- master # Default release branch
on: [push]

jobs:
build:
name: Test project
Expand All @@ -21,6 +19,8 @@ jobs:
publish:
name: build, pack & publish
runs-on: ubuntu-latest
needs: build
if: success() && github.ref == 'refs/heads/master'
steps:
- uses: actions/checkout@v2

Expand Down

0 comments on commit 032b747

Please sign in to comment.