Skip to content

Commit 72683fd

Browse files
committed
only download requested commit
1 parent 81b884a commit 72683fd

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
git fetch origin ${{ github.ref }}
1919
git checkout FETCH_HEAD
2020
cd -
21-
west update
21+
west update -o=--filter=tree:0
2222
2323
- name: Build fade
2424
working-directory: build

.github/workflows/package_core.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: Initialize
2727
id: init
2828
run: |
29-
./extra/bootstrap.sh
29+
./extra/bootstrap.sh -o=--filter=tree:0
3030
echo "CORE_TAG=$(git describe --always)" >> "$GITHUB_ENV"
3131
echo "ARTIFACT_NAME=ArduinoCore-zephyr-$(git describe --always)" >> "$GITHUB_ENV"
3232
echo "FQBNS=[ $(cat boards.txt | grep '^[^#]*\.build\.variant' | cut -d '.' -f 1 | xargs printf '"%s",' | sed -e 's/,$//') ]" >> "$GITHUB_ENV"

extra/bootstrap.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ python3 -m venv venv
99
source venv/bin/activate
1010
pip install west
1111
west init -l .
12-
west update
12+
west update "$@"
1313
west zephyr-export
1414
pip install -r ../zephyr/scripts/requirements-base.txt
1515
# download slim toolchain from https://github.com/zephyrproject-rtos/sdk-ng/releases/tag/v0.16.8

0 commit comments

Comments
 (0)