Skip to content

Commit 706ba05

Browse files
committed
Fix Linux release CI
There is no need to download git submodules when making releases.
1 parent 859267c commit 706ba05

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

.github/workflows/release.yml

-8
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ jobs:
1717
- name: build
1818
shell: alpine.sh {0}
1919
run: |
20-
git submodule update --init --checkout --depth 1
2120
mkdir build
2221
cd build
2322
cmake -DBUILD_STATIC_QJS_EXE=ON ..
@@ -46,7 +45,6 @@ jobs:
4645
- name: build
4746
shell: alpine.sh {0}
4847
run: |
49-
git submodule update --init --checkout --depth 1
5048
mkdir build
5149
cd build
5250
cmake -DBUILD_STATIC_QJS_EXE=ON ..
@@ -75,7 +73,6 @@ jobs:
7573
- name: build
7674
shell: alpine.sh {0}
7775
run: |
78-
git submodule update --init --checkout --depth 1
7976
mkdir build
8077
cd build
8178
cmake -DBUILD_STATIC_QJS_EXE=ON ..
@@ -105,7 +102,6 @@ jobs:
105102
- name: build
106103
shell: alpine.sh {0}
107104
run: |
108-
git submodule update --init --checkout --depth 1
109105
mkdir build
110106
cd build
111107
cmake -DBUILD_STATIC_QJS_EXE=ON ..
@@ -130,7 +126,6 @@ jobs:
130126
- uses: actions/checkout@v4
131127
- name: build
132128
run: |
133-
git submodule update --init --checkout --depth 1
134129
mkdir build
135130
cd build
136131
cmake -DCMAKE_OSX_ARCHITECTURES="x86_64;arm64" ..
@@ -166,7 +161,6 @@ jobs:
166161
toolchain:p
167162
- name: build
168163
run: |
169-
git submodule update --init --checkout --depth 1
170164
make
171165
mv build/qjs.exe build/qjs-windows-x86.exe
172166
mv build/qjsc.exe build/qjsc-windows-x86.exe
@@ -199,7 +193,6 @@ jobs:
199193
toolchain:p
200194
- name: build
201195
run: |
202-
git submodule update --init --checkout --depth 1
203196
make
204197
mv build/qjs.exe build/qjs-windows-x86_64.exe
205198
mv build/qjsc.exe build/qjsc-windows-x86_64.exe
@@ -222,7 +215,6 @@ jobs:
222215
sudo apt install /tmp/wasi-sdk*.deb
223216
- name: build
224217
run: |
225-
git submodule update --init --checkout --depth 1
226218
cmake -B build -DCMAKE_TOOLCHAIN_FILE=/opt/wasi-sdk/share/cmake/wasi-sdk.cmake
227219
make -C build qjs_exe
228220
mv build/qjs build/qjs-wasi.wasm

0 commit comments

Comments
 (0)