Skip to content

Commit 306a67e

Browse files
committed
2 parents 1b5a9af + 9287ec8 commit 306a67e

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,13 @@ jobs:
2525
- name: GitVersion
2626
id: gitversion
2727
uses: gittools/actions/gitversion/execute@v0.9.7
28-
#with:
29-
# useConfigFile: true
30-
# additionalArguments: '/showConfig'
28+
with:
29+
useConfigFile: true
3130

3231
- name: Pack
3332
run: dotnet pack -c Release --version-suffix ${{ steps.gitversion.outputs.nuGetVersion }}
3433

3534
- name: Publish
36-
if: github.event_name != 'pull_request' && (github.ref_name == 'master' || github.ref_name == 'develop')
35+
if: github.event_name != 'pull_request' && (github.ref_name == 'master')
3736
run: |
3837
dotnet nuget push **/*.nupkg --source 'https://api.nuget.org/v3/index.json' --skip-duplicate -k ${{ secrets.NUGETKEY }} --no-symbols 1

0 commit comments

Comments
 (0)