Skip to content

Commit a9ec801

Browse files
author
Jake Soenneker
committed
Env var
1 parent f71f5ea commit a9ec801

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
@@ -51,14 +51,14 @@ jobs:
5151
dotnet nuget add source https://nuget.pkg.github.com/soenneker/index.json \
5252
--name "github" \
5353
--username "any" \
54-
--password ${{ secrets.GH_TOKEN }} \
54+
--password ${{ secrets.GH__TOKEN }} \
5555
--store-password-in-clear-text
5656
5757
- name: Publish to GitHub Packages
5858
run: |
5959
dotnet nuget push ./*.nupkg \
6060
--source "github" \
61-
--api-key ${{ secrets.GH_TOKEN }}
61+
--api-key ${{ secrets.GH__TOKEN }}
6262
6363
- name: Create GitHub Release
6464
run: |
@@ -80,7 +80,7 @@ jobs:
8080
)
8181
8282
curl -s -X POST \
83-
-H "Authorization: Bearer ${{ secrets.GH_TOKEN }}" \
83+
-H "Authorization: Bearer ${{ secrets.GH__TOKEN }}" \
8484
-H "Accept: application/vnd.github+json" \
8585
https://api.github.com/repos/${{ github.repository }}/releases \
8686
-d "$json_payload"

0 commit comments

Comments
 (0)