Skip to content

Commit a28a1b1

Browse files
committed
up
1 parent 937f4f8 commit a28a1b1

File tree

2 files changed

+41
-22
lines changed

2 files changed

+41
-22
lines changed

.github/workflows/launcher-build.yml

+30-16
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,12 @@ jobs:
1313
build-linux:
1414
runs-on: ubuntu-latest
1515
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+
1722
- name: 设置.NET Core
1823
uses: actions/setup-dotnet@v4
1924
with:
@@ -27,12 +32,12 @@ jobs:
2732
MAINVERSION=$(cat ./build/main_version)
2833
echo "MAINVERSION=$MAINVERSION" >> $GITHUB_ENV
2934
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
3641

3742
- name: 构建源码
3843
shell: bash
@@ -104,7 +109,12 @@ jobs:
104109
build-macos:
105110
runs-on: macos-latest
106111
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+
108118
- name: 设置.NET Core
109119
uses: actions/setup-dotnet@v4
110120
with:
@@ -118,12 +128,12 @@ jobs:
118128
MAINVERSION=$(cat ./build/main_version)
119129
echo "MAINVERSION=$MAINVERSION" >> $GITHUB_ENV
120130
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
127137

128138
- name: 构建
129139
shell: bash
@@ -147,8 +157,12 @@ jobs:
147157
build-windows:
148158
runs-on: windows-latest
149159
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+
152166
- name: Read version number
153167
id: version
154168
run: |

.github/workflows/plugin-build.yml

+11-6
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,22 @@ jobs:
1313
build-plugins:
1414
runs-on: ubuntu-latest
1515
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+
1722
- name: 设置.NET Core
1823
uses: actions/setup-dotnet@v4
1924
with:
2025
dotnet-version: 8.0.403
2126

22-
- name: 更新源码
23-
working-directory: ./
24-
run: |
25-
chmod a+x ./build/update.sh
26-
./build/update.sh
27+
# - name: 更新源码
28+
# working-directory: ./
29+
# run: |
30+
# chmod a+x ./build/update.sh
31+
# ./build/update.sh
2732

2833
- name: 构建 源码
2934
working-directory: ./

0 commit comments

Comments
 (0)