From 07b42caa81d3fbc92ad4e1e4623717be1d56ffbf Mon Sep 17 00:00:00 2001 From: eitsupi <50911393+eitsupi@users.noreply.github.com> Date: Wed, 12 Mar 2025 19:26:06 +0900 Subject: [PATCH] perf: Only install dependencies instead of build the package from source --- entrypoint.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index d0c4720..5c5749d 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -29,9 +29,8 @@ echo "::endgroup::" echo "::group::Get native dependencies" # R -e "install.packages(sub('_.*', '', '${SOURCEPKG}'), depends=TRUE)" || true -# (Re)build linux native binary (also ensures dev-deps are present) -# This is expensive, maybe we should copy the binary from the previous job -R -e "pak::pak('./${SOURCEPKG}')" +# Ensures dev-deps are present +R -e "pak::local_install_dev_deps('./${SOURCEPKG}')" echo "::endgroup::" # Compile WASM binary