13
13
build-linux :
14
14
runs-on : ubuntu-latest
15
15
steps :
16
- - uses : actions/checkout@v3
16
+ - name : Checkout code
17
+ uses : actions/checkout@v3
18
+ with :
19
+ submodules : ' true'
20
+ token : ${{ secrets.KEY1 }}
21
+
17
22
- name : 设置.NET Core
18
23
uses : actions/setup-dotnet@v4
19
24
with :
@@ -27,12 +32,12 @@ jobs:
27
32
MAINVERSION=$(cat ./build/main_version)
28
33
echo "MAINVERSION=$MAINVERSION" >> $GITHUB_ENV
29
34
30
- - name : 更新源码
31
- shell : bash
32
- working-directory : ./
33
- run : |
34
- chmod a+x ./build/update.sh
35
- ./build/update.sh
35
+ # - name: 更新源码
36
+ # shell: bash
37
+ # working-directory: ./
38
+ # run: |
39
+ # chmod a+x ./build/update.sh
40
+ # ./build/update.sh
36
41
37
42
- name : 构建源码
38
43
shell : bash
@@ -104,7 +109,12 @@ jobs:
104
109
build-macos :
105
110
runs-on : macos-latest
106
111
steps :
107
- - uses : actions/checkout@v3
112
+ - name : Checkout code
113
+ uses : actions/checkout@v3
114
+ with :
115
+ submodules : ' true'
116
+ token : ${{ secrets.KEY1 }}
117
+
108
118
- name : 设置.NET Core
109
119
uses : actions/setup-dotnet@v4
110
120
with :
@@ -118,12 +128,12 @@ jobs:
118
128
MAINVERSION=$(cat ./build/main_version)
119
129
echo "MAINVERSION=$MAINVERSION" >> $GITHUB_ENV
120
130
121
- - name : 更新源码
122
- shell : bash
123
- working-directory : ./
124
- run : |
125
- chmod a+x ./build/update.sh
126
- ./build/update.sh
131
+ # - name: 更新源码
132
+ # shell: bash
133
+ # working-directory: ./
134
+ # run: |
135
+ # chmod a+x ./build/update.sh
136
+ # ./build/update.sh
127
137
128
138
- name : 构建
129
139
shell : bash
@@ -147,8 +157,12 @@ jobs:
147
157
build-windows :
148
158
runs-on : windows-latest
149
159
steps :
150
- - uses : actions/checkout@v3
151
-
160
+ - name : Checkout code
161
+ uses : actions/checkout@v3
162
+ with :
163
+ submodules : ' true'
164
+ token : ${{ secrets.KEY1 }}
165
+
152
166
- name : Read version number
153
167
id : version
154
168
run : |
0 commit comments