Skip to content

Commit

Permalink
在生成插件索引时使用 GitHub Token
Browse files Browse the repository at this point in the history
  • Loading branch information
HelloWRC committed Dec 27, 2024
1 parent 4ab92af commit e21fe12
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/gen-index.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,11 @@ jobs:
Expand-Archive -Path ClassIsland.PluginIndexGenerator.zip -DestinationPath .
- name: Generate Plugin Index
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
mkdir out/source/
./ClassIsland.PluginIndexGenerator.exe index out/source/index.json -b base.json
./ClassIsland.PluginIndexGenerator.exe index out/source/index.json -b base.json -t $env:GITHUB_TOKEN
7z a "./out/index.zip" ./out/source/* -r -mx=9
rm -r -Force out/source/
Expand Down

0 comments on commit e21fe12

Please sign in to comment.