Skip to content

Commit

Permalink
use default github token instead of PAT
Browse files Browse the repository at this point in the history
  • Loading branch information
wisses committed Oct 25, 2023
1 parent 0f8e32e commit 79efd3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ jobs:
dotnet-version: '7.0'
source-url: https://nuget.pkg.github.com/azure-devops-compliance/index.json
env:
NUGET_AUTH_TOKEN: ${{secrets.TOKEN}}
NUGET_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
- name: dotnet pack
run: |
export VERSION=$(git rev-list --count HEAD)
dotnet pack -c release -o out -p:PackageVersion=1.0.0.$VERSION
- name: dotnet nuget push
run: dotnet nuget push ./out/*.nupkg --skip-duplicate --no-symbols true --api-key $key
env:
key: ${{secrets.TOKEN}}
key: ${{secrets.GITHUB_TOKEN}}

0 comments on commit 79efd3a

Please sign in to comment.