We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ffbc65a commit c4de0acCopy full SHA for c4de0ac
.github/workflows/quickstart-windows.yml
@@ -74,9 +74,11 @@ jobs:
74
75
- name: Download and extract web dist.zip
76
shell: pwsh
77
+ env:
78
+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
79
run: |
80
# 获取最新的 release 信息
- $latestRelease = Invoke-RestMethod -Uri "https://api.github.com/repos/DarkSkyTeam/chatgpt-for-bot-webui/releases"
81
+ $latestRelease = Invoke-RestMethod -Uri "https://api.github.com/repos/DarkSkyTeam/chatgpt-for-bot-webui/releases" -Headers @{ Authorization = "Bearer $($env:GH_TOKEN)" }
82
$zipUrl = $latestRelease[0].assets[0].browser_download_url
83
84
# 下载 dist.zip 文件
0 commit comments