Skip to content

Commit 21b76cf

Browse files
committed
CI debug: copy instead of mount stable sources dir
1 parent 71cfcbd commit 21b76cf

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/build.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,8 +178,11 @@ jobs:
178178
VERSIONS=$(echo "$VERSIONS_JSON" | jq -r '.[]' | xargs)
179179
fi
180180
181-
# Mount the stable source directory instead of the run-specific one
182-
./build.sh --targets "$TARGET" ${VERSIONS:+--versions "$VERSIONS"} --extra-docker-opts "-v $SOURCES_DIR:/app/linux"
181+
# Copy the stable source directory instead of the run-specific one
182+
rm -rf linux
183+
cp -r "$SOURCES_DIR" linux
184+
185+
./build.sh --targets "$TARGET" ${VERSIONS:+--versions "$VERSIONS"}
183186
184187
# Use a run-specific output directory to avoid clashes
185188
BUILD_OUTPUT="/home/runner/_shared/runs/$GITHUB_RUN_ID/build-output"

0 commit comments

Comments
 (0)