Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
hanabi1224 authored Mar 4, 2021
1 parent 5a5c398 commit 76ccfe6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ jobs:
path: java/target/release/*.dylib
if-no-files-found: error
- name: Deploy nugets
if: ${{ secrets.NUGET_API_KEY != '' }}
if: github.ref == 'refs/heads/master'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
run: |
Expand Down

0 comments on commit 76ccfe6

Please sign in to comment.