-
Notifications
You must be signed in to change notification settings - Fork 0
133 lines (112 loc) · 4.12 KB
/
plugin-build.yml
File metadata and controls
133 lines (112 loc) · 4.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
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/**