File tree Expand file tree Collapse file tree 1 file changed +5
-9
lines changed
Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -15,18 +15,14 @@ jobs:
1515
1616 # winget-create is only supported on Windows
1717 runs-on : windows-latest
18+
19+ # winget-create will read the following environment variable to access the GitHub token needed for submitting a PR
20+ # See https://aka.ms/winget-create-token
21+ env :
22+ WINGET_CREATE_GITHUB_TOKEN : ${{ secrets.WINGET_CREATE_GITHUB_TOKEN }}
1823
1924 steps :
20- - name : Generate release app access token
21- id : app-token
22- uses : actions/create-github-app-token@v2
23- with :
24- app-id : ${{ secrets.COPILOT_CLI_RELEASE_APP_ID }}
25- private-key : ${{ secrets.COPILOT_CLI_RELEASE_APP_PRIVATE_KEY }}
26-
2725 - name : Submit package using wingetcreate
28- env :
29- WINGET_CREATE_GITHUB_TOKEN : ${{ steps.app-token.outputs.token }}
3026 run : |
3127 # Set the package ID based on the release info
3228 $packageId = if (${{ !github.event.release.prerelease }}) { "GitHub.Copilot" } else { "GitHub.Copilot.Prerelease" }
You can’t perform that action at this time.
0 commit comments