quiet clones

This commit is contained in:
xoviat 2023-11-05 17:05:25 -06:00
parent 2e3736a558
commit 8ae9a1f2a9
3 changed files with 3 additions and 3 deletions

2
.github/ci/build.sh vendored
View File

@ -17,7 +17,7 @@ cargo fmt -- --check
# so the diff will show this PR's effect # so the diff will show this PR's effect
git remote add upstream https://github.com/embassy-rs/stm32-data git remote add upstream https://github.com/embassy-rs/stm32-data
git fetch --depth 15 upstream main git fetch --depth 15 upstream main
git clone --depth 1 --branch stm32-data-$(git merge-base HEAD upstream/main) https://github.com/embassy-rs/stm32-data-generated/ build git clone --depth 1 --branch stm32-data-$(git merge-base HEAD upstream/main) https://github.com/embassy-rs/stm32-data-generated/ build -q
# move the sources directory out of the cache if it exists # move the sources directory out of the cache if it exists
mv /ci/cache/sources ./sources || true mv /ci/cache/sources ./sources || true

View File

@ -12,7 +12,7 @@ export CARGO_TARGET_DIR=/ci/cache/target
hashtime restore /ci/cache/filetime.json || true hashtime restore /ci/cache/filetime.json || true
hashtime save /ci/cache/filetime.json hashtime save /ci/cache/filetime.json
git clone --depth 1 https://github.com/embassy-rs/stm32-data-generated/ build git clone --depth 1 https://github.com/embassy-rs/stm32-data-generated/ build -q
./d ci ./d ci
COMMIT=$(git rev-parse HEAD) COMMIT=$(git rev-parse HEAD)

2
d
View File

@ -10,7 +10,7 @@ shift
case "$CMD" in case "$CMD" in
download-all) download-all)
rm -rf ./sources/ rm -rf ./sources/
git clone https://github.com/embassy-rs/stm32-data-sources.git ./sources/ git clone https://github.com/embassy-rs/stm32-data-sources.git ./sources/ -q
cd ./sources/ cd ./sources/
git checkout $REV git checkout $REV
;; ;;