Skip to content

Commit 311e256

Browse files
Switching to WINGET_CREATE_GITHUB_TOKEN as recommended in the wingetcreate output
1 parent 9d29d49 commit 311e256

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646

4747
- name: Publish to winget
4848
env:
49-
WINGET_GH_TOKEN: ${{ secrets.WINGET_GH_TOKEN }}
49+
WINGET_CREATE_GITHUB_TOKEN: ${{ secrets.WINGET_GH_TOKEN }}
5050
run: ./winget-publish.ps1
5151

5252
- name: Copy the binary to Chocolatey path

winget-publish.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ Get-ChildItem -Path ".winget" -Filter *.yaml | Foreach-Object -Process {
1515
Set-Content -Encoding Utf8 -Path $FilePath -Value $Content
1616
}
1717

18-
.\wingetcreate.exe submit -p "procgov v$Version" -t "$env:WINGET_GH_TOKEN" .winget
18+
.\wingetcreate.exe submit -p "procgov v$Version" .winget

0 commit comments

Comments
 (0)