Skip to content

Commit

Permalink
Update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
axelheer committed Apr 11, 2021
1 parent 6a3cd8b commit be8c81c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/everything.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
name: packages
path: .
- name: Publish packages
run: nuget push *.nupkg --api-key ${{ secrets.GITHUB_TOKEN }} --source https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json
run: dotnet nuget push *.nupkg --api-key ${{ secrets.GITHUB_TOKEN }} --source https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json
if: github.event_name == 'push' && github.ref != 'refs/heads/final'
release:
needs: package
Expand All @@ -69,7 +69,7 @@ jobs:
name: packages
path: .
- name: Publish packages
run: nuget push *.nupkg --api-key ${{ secrets.NUGET_TOKEN }} --skip-duplicate --source nuget.org
run: dotnet nuget push *.nupkg --api-key ${{ secrets.NUGET_TOKEN }} --skip-duplicate --source nuget.org
- name: Extract version
run: |
if ((gci | select -p name -f 1) -match '\d+\.\d+\.\d+') {
Expand Down

0 comments on commit be8c81c

Please sign in to comment.