up fix #42
Workflow file for this run
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: 插件构建 | |
| on: | |
| push: | |
| # Sequence of patterns matched against refs/heads | |
| branches: | |
| - 'releases/**' | |
| # Sequence of patterns matched against refs/tags | |
| tags: | |
| - '*' | |
| jobs: | |
| build-plugins: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v3 | |
| with: | |
| submodules: 'true' | |
| # token: ${{ secrets.KEY1 }} | |
| - name: 设置.NET Core | |
| uses: actions/setup-dotnet@v4 | |
| with: | |
| dotnet-version: 8.0.404 | |
| # - name: 更新源码 | |
| # working-directory: ./ | |
| # run: | | |
| # chmod a+x ./build/update.sh | |
| # ./build/update.sh | |
| - name: 构建 源码 | |
| working-directory: ./ | |
| run: | | |
| chmod a+x ./build/build-plugin.sh | |
| ./build/build-plugin.sh | |
| - name: 上传 colordesktop-plugin-AnalogClockPlugin | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: "colordesktop-plugin-AnalogClockPlugin" | |
| path: src/build_out/Debug/net8.0/AnalogClockPlugin.zip | |
| - name: 上传 colordesktop-plugin-CalendarPlugin | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: "colordesktop-plugin-CalendarPlugin" | |
| path: src/build_out/Debug/net8.0/CalendarPlugin.zip | |
| - name: 上传 colordesktop-plugin-ClockPlugin | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: "colordesktop-plugin-ClockPlugin" | |
| path: src/build_out/Debug/net8.0/ClockPlugin.zip | |
| - name: 上传 colordesktop-plugin-CoreLib | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: "colordesktop-plugin-CoreLib" | |
| path: src/build_out/Debug/net8.0/CoreLib.zip | |
| - name: 上传 colordesktop-plugin-WeatherPlugin | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: "colordesktop-plugin-WeatherPlugin" | |
| path: src/build_out/Debug/net8.0/WeatherPlugin.zip | |
| - name: 上传 colordesktop-plugin-PGLauncherPlugin | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: "colordesktop-plugin-PGLauncherPlugin" | |
| path: src/build_out/Debug/net8.0/PGLauncherPlugin.zip | |
| - name: 上传 colordesktop-plugin-PGColorMCPlugin | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: "colordesktop-plugin-PGColorMCPlugin" | |
| path: src/build_out/Debug/net8.0/PGColorMCPlugin.zip | |
| - name: 上传 colordesktop-plugin-OneWordPlugin | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: "colordesktop-plugin-OneWordPlugin" | |
| path: src/build_out/Debug/net8.0/OneWordPlugin.zip | |
| - name: 上传 colordesktop-plugin-BmPlugin | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: "colordesktop-plugin-BmPlugin" | |
| path: src/build_out/Debug/net8.0/BmPlugin.zip | |
| - name: 上传 colordesktop-plugin-MonitorPlugin | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: "colordesktop-plugin-MonitorPlugin" | |
| path: src/build_out/Debug/net8.0/MonitorPlugin.zip | |
| - name: 上传 colordesktop-plugin-Live2DPlugin | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: "colordesktop-plugin-Live2DPlugin" | |
| path: src/build_out/Debug/net8.0/Live2DPlugin.zip | |
| - name: 上传 colordesktop-plugin-MinecraftSkinPlugin | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: "colordesktop-plugin-MinecraftSkinPlugin" | |
| path: src/build_out/Debug/net8.0/MinecraftSkinPlugin.zip | |
| - name: 上传 colordesktop-plugin-MinecraftMotdPlugin | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: "colordesktop-plugin-MinecraftMotdPlugin" | |
| path: src/build_out/Debug/net8.0/MinecraftMotdPlugin.zip | |
| - name: 上传 colordesktop-plugin-ToDoPlugin | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: "colordesktop-plugin-ToDoPlugin" | |
| path: src/build_out/Debug/net8.0/ToDoPlugin.zip | |
| - name: 上传 colordesktop-plugin-MusicControlPlugin | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: "colordesktop-plugin-MusicControlPlugin" | |
| path: src/build_out/Debug/net8.0/MusicControlPlugin.zip | |
| - name: 上传 colordesktop-plugin | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: "colordesktop-plugin" | |
| path: src/build_out/Debug/net8.0/plugins/** |