@@ -21,21 +21,14 @@ jobs:
2121 - name : 设置.NET Core
2222 uses : actions/setup-dotnet@v4
2323 with :
24- dotnet-version : 10.0.101
24+ dotnet-version : 10.0.103
2525
2626 - name : Read version number
2727 id : version
2828 run : |
2929 VERSION=$(cat ./build/version)
3030 echo "VERSION=$VERSION" >> $GITHUB_ENV
3131
32- # - name: 更新源码
33- # shell: bash
34- # working-directory: ./
35- # run: |
36- # chmod a+x ./build/update.sh
37- # ./build/update.sh
38-
3932 - name : 构建源码
4033 shell : bash
4134 working-directory : ./
@@ -187,21 +180,14 @@ jobs:
187180 - name : 设置.NET Core
188181 uses : actions/setup-dotnet@v4
189182 with :
190- dotnet-version : 10.0.101
183+ dotnet-version : 10.0.103
191184
192185 - name : Read version number
193186 id : version
194187 run : |
195188 VERSION=$(cat ./build/version)
196189 echo "VERSION=$VERSION" >> $GITHUB_ENV
197190
198- # - name: 更新源码
199- # shell: bash
200- # working-directory: ./
201- # run: |
202- # chmod a+x ./build/update.sh
203- # ./build/update.sh
204-
205191 - name : 构建
206192 shell : bash
207193 working-directory : ./
@@ -233,6 +219,29 @@ jobs:
233219 with :
234220 name : " colormc-macos-min-aarch64"
235221 path : build_out/colormc-macos-${{ env.VERSION }}-min-aarch64.zip
222+ - name : 上传 colormc-macos-x86_64-dmg
223+ uses : actions/upload-artifact@v4
224+ with :
225+ name : " colormc-macos-x86_64-dmg"
226+ path : build_out/colormc-macos-${{ env.VERSION }}-x86_64.dmg
227+
228+ - name : 上传 colormc-macos-min-x86_64-dmg
229+ uses : actions/upload-artifact@v4
230+ with :
231+ name : " colormc-macos-min-x86_64-dmg"
232+ path : build_out/colormc-macos-${{ env.VERSION }}-min-x86_64.dmg
233+
234+ - name : 上传 colormc-macos-aarch64-dmg
235+ uses : actions/upload-artifact@v4
236+ with :
237+ name : " colormc-macos-aarch64-dmg"
238+ path : build_out/colormc-macos-${{ env.VERSION }}-aarch64.dmg
239+
240+ - name : 上传 colormc-macos-min-aarch64-dmg
241+ uses : actions/upload-artifact@v4
242+ with :
243+ name : " colormc-macos-min-aarch64-dmg"
244+ path : build_out/colormc-macos-${{ env.VERSION }}-min-aarch64.dmg
236245
237246 build-windows :
238247 runs-on : windows-latest
@@ -251,12 +260,7 @@ jobs:
251260 - name : 设置.NET Core
252261 uses : actions/setup-dotnet@v4
253262 with :
254- dotnet-version : 10.0.101
255-
256- # - name: 更新源码
257- # shell: cmd
258- # working-directory: ./
259- # run: ./build/update.cmd
263+ dotnet-version : 10.0.103
260264
261265 - name : 构建 源码
262266 shell : cmd
0 commit comments