-
Notifications
You must be signed in to change notification settings - Fork 0
73 lines (62 loc) · 2.07 KB
/
webplugin-build.yml
File metadata and controls
73 lines (62 loc) · 2.07 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
name: 浏览器支持构建
on:
push:
# Sequence of patterns matched against refs/heads
branches:
- 'releases/**'
# Sequence of patterns matched against refs/tags
tags:
- '*'
jobs:
build-webplugins:
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-buildweb.sh
./build/build-buildweb.sh
- name: 上传 colordesktop-webplugin-win-x64
uses: actions/upload-artifact@v4
with:
name: "colordesktop-webplugin-win-x64"
path: src/build_out/Debug/net8.0/webplugin-win-x64.zip
- name: 上传 colordesktop-webplugin-win-arm64
uses: actions/upload-artifact@v4
with:
name: "colordesktop-webplugin-win-arm64"
path: src/build_out/Debug/net8.0/webplugin-win-arm64.zip
- name: 上传 colordesktop-webplugin-linux-x64
uses: actions/upload-artifact@v4
with:
name: "colordesktop-webplugin-linux-x64"
path: src/build_out/Debug/net8.0/webplugin-linux-x64.zip
- name: 上传 colordesktop-webplugin-linux-arm64
uses: actions/upload-artifact@v4
with:
name: "colordesktop-webplugin-linux-arm64"
path: src/build_out/Debug/net8.0/webplugin-linux-arm64.zip
- name: 上传 colordesktop-webplugin-osx-x64
uses: actions/upload-artifact@v4
with:
name: "colordesktop-webplugin-osx-x64"
path: src/build_out/Debug/net8.0/webplugin-osx-x64.zip
- name: 上传 colordesktop-webplugin-osx-arm64
uses: actions/upload-artifact@v4
with:
name: "colordesktop-webplugin-osx-arm64"
path: src/build_out/Debug/net8.0/webplugin-osx-arm64.zip