Skip to content

Commit d0c6631

Browse files
author
Jake Soenneker
committed
Env var
1 parent 35e763a commit d0c6631

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/publish-package.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,14 +84,14 @@ jobs:
8484
dotnet nuget add source https://nuget.pkg.github.com/soenneker/index.json \
8585
--name "github" \
8686
--username "any" \
87-
--password ${{ secrets.GH_TOKEN }} \
87+
--password ${{ secrets.GH__TOKEN }} \
8888
--store-password-in-clear-text
8989
9090
- name: Publish to GitHub Packages
9191
run: |
9292
dotnet nuget push ./*.nupkg \
9393
--source "github" \
94-
--api-key ${{ secrets.GH_TOKEN }}
94+
--api-key ${{ secrets.GH__TOKEN }}
9595
9696
- name: Create GitHub Release
9797
run: |
@@ -113,7 +113,7 @@ jobs:
113113
)
114114
115115
curl -s -X POST \
116-
-H "Authorization: Bearer ${{ secrets.GH_TOKEN }}" \
116+
-H "Authorization: Bearer ${{ secrets.GH__TOKEN }}" \
117117
-H "Accept: application/vnd.github+json" \
118118
https://api.github.com/repos/${{ github.repository }}/releases \
119119
-d "$json_payload"

0 commit comments

Comments
 (0)