We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9706cc commit e39d5afCopy full SHA for e39d5af
.github/workflows/ci.yaml
@@ -93,8 +93,7 @@ jobs:
93
release:
94
needs: [ version , build ]
95
runs-on: ubuntu-latest
96
- if: github.ref == 'refs/heads/master' && github.ref == 'refs/heads/master' && secrets.GIT_TOKEN != ''
97
-
+ if: github.ref == 'refs/heads/master' && github.ref == 'refs/heads/master' && github.event_name == 'push'
98
steps:
99
- name: checkout
100
uses: actions/checkout@v3
@@ -114,11 +113,10 @@ jobs:
114
113
generate_releases: true
115
draft: false
116
prerelease: true
117
- token: ${{ secrets.GIT_TOKEN }}
118
files: artifacts/*.*
119
120
- name: publish to NuGet
121
- if: ${{ secrets.NUGET_TOKEN != '' }}
+ if: secrets.NUGET_TOKEN != ''
122
env:
123
NUGET_AUTH_TOKEN: ${{ secrets.NUGET_TOKEN }}
124
run: |
0 commit comments