增加插件 SecRandom x ClassIsland v1.0.0.0 #58
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Validate | |
| on: | |
| pull_request: | |
| types: [opened, reopened] | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| runs-on: windows-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v3 | |
| with: | |
| fetch-depth: 0 | |
| - name: List files | |
| run: ls | |
| - name: Install Index Generator | |
| run: | | |
| Invoke-WebRequest -Uri https://github.com/ClassIsland/ClassIsland.PluginIndexGenerator/releases/download/1.1.0.0/ClassIsland.PluginIndexGenerator.zip -OutFile ClassIsland.PluginIndexGenerator.zip | |
| Expand-Archive -Path ClassIsland.PluginIndexGenerator.zip -DestinationPath . | |
| - name: Validate Plugin Index | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| run: | | |
| mkdir out/source/ | |
| ./ClassIsland.PluginIndexGenerator.exe index/ out/source/ -b base.json -v true -t $env:GITHUB_TOKEN | |