Skip to content

Commit 907c254

Browse files
committed
Cleanup
1 parent fff4c7b commit 907c254

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -210,15 +210,12 @@ jobs:
210210
RESULT=0
211211
set -x
212212
213-
# CPUs/2
214-
MAX_CONCURRENT_TASKS=$(($(nproc) / 2))
215-
216-
wget https://8080--0195b910-1349-73b4-a24c-a0c5a2c48849.us01.gitpod.dev/leeway -O leeway
213+
wget -s https://8080--0195b910-1349-73b4-a24c-a0c5a2c48849.us01.gitpod.dev/leeway -O leeway
217214
chmod +x leeway
218215
export PATH=$PWD:$PATH
219216
220217
leeway build dev:all \
221-
--max-concurrent-tasks $MAX_CONCURRENT_TASKS \
218+
--max-concurrent-tasks 16 \
222219
--docker-build-options network=host \
223220
--cache remote \
224221
-Dversion=$VERSION \
@@ -280,9 +277,6 @@ jobs:
280277
[[ "${PUBLISH_TO_NPM}" = 'true' ]] && NPM_PUBLISH_TRIGGER=$(date +%s%3N) || NPM_PUBLISH_TRIGGER="false"
281278
282279
283-
# CPUs/2
284-
MAX_CONCURRENT_TASKS=$(($(nproc) / 2))
285-
286280
RESULT=0
287281
set -x
288282
# CI=true is a var set by GHA. Unsetting it for the build, as yarn builds treat warnings as errors if that var is set to true
@@ -291,7 +285,7 @@ jobs:
291285
$TEST \
292286
-Dversion=$VERSION \
293287
--docker-build-options network=host \
294-
--max-concurrent-tasks $MAX_CONCURRENT_TASKS \
288+
--max-concurrent-tasks 16 \
295289
-DlocalAppVersion=$VERSION \
296290
-DpublishToNPM="${PUBLISH_TO_NPM}" \
297291
-DnpmPublishTrigger="${NPM_PUBLISH_TRIGGER}" \

0 commit comments

Comments
 (0)