Skip to content

Commit a5b7d90

Browse files
authored
refactor to avoid too much memory usage
1 parent eb87b1c commit a5b7d90

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

.github/workflows/release.yml

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,8 +184,22 @@ jobs:
184184
distro_commit=$(git rev-parse "${base_commit}"~)
185185
echo "distro_commit: ${distro_commit}"
186186
187-
VSCODE_DISTRO_COMMIT="${distro_commit}" \
188-
npm run gulp vscode-reh-web-linux-${{ matrix.vscode_arch }}-min
187+
echo "BUILD_SOURCEVERSION=${distro_commit}" >> $GITHUB_ENV
188+
189+
- name: coompile vscode linux
190+
working-directory: ./openvscode-server
191+
run: |
192+
set -e
193+
npm run gulp vscode-linux-${{ matrix.vscode_arch }}-min-ci
194+
env:
195+
DISABLE_V8_COMPILE_CACHE: 1
196+
197+
- name: build vscode linux reh
198+
working-directory: ./openvscode-server
199+
run: |
200+
set -e
201+
npm run gulp minify-vscode-reh
202+
npm run gulp "vscode-reh-linux-${{ matrix.vscode_arch }}-min-ci"
189203
env:
190204
DISABLE_V8_COMPILE_CACHE: 1
191205

0 commit comments

Comments
 (0)