Skip to content

Commit f5e852f

Browse files
committed
更新插件生成工具
1 parent 773bb8e commit f5e852f

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.github/workflows/gen-index.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@ jobs:
2121

2222
- name: Install Index Generator
2323
run: |
24-
Invoke-WebRequest -Uri https://github.com/ClassIsland/ClassIsland.PluginIndexGenerator/releases/download/1.0.2.1/ClassIsland.PluginIndexGenerator.zip -OutFile ClassIsland.PluginIndexGenerator.zip
24+
Invoke-WebRequest -Uri https://github.com/ClassIsland/ClassIsland.PluginIndexGenerator/releases/download/1.1.0.0/ClassIsland.PluginIndexGenerator.zip -OutFile ClassIsland.PluginIndexGenerator.zip
2525
Expand-Archive -Path ClassIsland.PluginIndexGenerator.zip -DestinationPath .
2626
2727
- name: Generate Plugin Index
2828
env:
2929
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3030
run: |
3131
mkdir out/source/
32-
./ClassIsland.PluginIndexGenerator.exe index out/source/index.json -b base.json -t $env:GITHUB_TOKEN
32+
./ClassIsland.PluginIndexGenerator.exe index/ out/source/ -b base.json -t $env:GITHUB_TOKEN
3333
7z a "./out/index.zip" ./out/source/* -r -mx=9
3434
3535
- name: Generate MD5

.github/workflows/validate-pr.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,14 @@ jobs:
2121

2222
- name: Install Index Generator
2323
run: |
24-
Invoke-WebRequest -Uri https://github.com/ClassIsland/ClassIsland.PluginIndexGenerator/releases/download/1.0.1.2/ClassIsland.PluginIndexGenerator.zip -OutFile ClassIsland.PluginIndexGenerator.zip
24+
Invoke-WebRequest -Uri https://github.com/ClassIsland/ClassIsland.PluginIndexGenerator/releases/download/1.1.0.0/ClassIsland.PluginIndexGenerator.zip -OutFile ClassIsland.PluginIndexGenerator.zip
2525
Expand-Archive -Path ClassIsland.PluginIndexGenerator.zip -DestinationPath .
2626
2727
- name: Validate Plugin Index
28+
env:
29+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2830
run: |
2931
mkdir out/source/
30-
./ClassIsland.PluginIndexGenerator.exe index out/source/index.json -b base.json -v true
32+
./ClassIsland.PluginIndexGenerator.exe index/ out/source/ -b base.json -v true -t $env:GITHUB_TOKEN
3133
3234

0 commit comments

Comments
 (0)