Skip to content

Commit

Permalink
reverting to github nuget
Browse files Browse the repository at this point in the history
  • Loading branch information
drr00t committed Feb 21, 2023
1 parent bbaa551 commit f29f0dc
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ jobs:
with:
dotnet-version: 6.0.x
env:
NUGET_AUTH_TOKEN: ${{ secrets.NUGET_TOKEN }}
# PKG_GITHUB_TOKEN: ${{ secrets.PKG_GITHUB_TOKEN }}
# NUGET_AUTH_TOKEN: ${{ secrets.NUGET_TOKEN }}
PKG_GITHUB_TOKEN: ${{ secrets.PKG_GITHUB_TOKEN }}
- name: Pack
run: dotnet pack --configuration Release /p:Version=${VERSION} --output .
# - name: Push to GitHub Nuget
# run: dotnet nuget push *.${VERSION}.nupkg --api-key ${{secrets.PKG_GITHUB_TOKEN}} -s https://nuget.pkg.github.com/roadtoagility/index.json --skip-duplicate
- name: Publish the package to nuget.org
run: dotnet nuget push *.${VERSION}.nupkg -s https://api.nuget.org/v3/index.json --api-key $NUGET_AUTH_TOKEN --skip-duplicate --no-service-endpoint
- name: Push to GitHub Nuget
run: dotnet nuget push *.${VERSION}.nupkg --api-key ${{secrets.PKG_GITHUB_TOKEN}} -s https://nuget.pkg.github.com/roadtoagility/index.json --skip-duplicate
# - name: Publish the package to nuget.org
# run: dotnet nuget push *.${VERSION}.nupkg -s https://api.nuget.org/v3/index.json --api-key $NUGET_AUTH_TOKEN --skip-duplicate --no-service-endpoint
# env:
# NUGET_AUTH_TOKEN: ${{ secrets.NUGET_TOKEN }}
create-github-release:
Expand Down

0 comments on commit f29f0dc

Please sign in to comment.