Skip to content

Commit

Permalink
Merge pull request #57 from pleonex/feature/replace-release-token
Browse files Browse the repository at this point in the history
Replace GitHub token to access release notes
  • Loading branch information
pleonex authored Feb 25, 2022
2 parents fe6e2aa + c8ca270 commit 640e339
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
- name: "Generate release notes"
run: dotnet cake --target=Generate-ReleaseNotes --verbosity=diagnostic
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.RELEASE_GITHUB_TOKEN }}

- name: "Build and stage"
run: dotnet cake --target=Stage-Artifacts --configuration=Release --verbosity=diagnostic
Expand Down Expand Up @@ -90,7 +90,7 @@ jobs:
- name: "Publish artifacts"
run: dotnet cake --target=Push-Artifacts --verbosity=diagnostic
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.RELEASE_GITHUB_TOKEN }}
STABLE_NUGET_FEED_TOKEN: ${{ secrets.STABLE_NUGET_FEED_TOKEN }}
PREVIEW_NUGET_FEED_TOKEN: "az" # Dummy, auth via below env var
VSS_NUGET_EXTERNAL_FEED_ENDPOINTS: '{"endpointCredentials": [{"endpoint":"${{ env.PREVIEW_NUGET_FEED }}", "username":"", "password":"${{ secrets.NUGET_PREVIEW_TOKEN }}"}]}'

0 comments on commit 640e339

Please sign in to comment.