quiet clones
This commit is contained in:
parent
2e3736a558
commit
8ae9a1f2a9
2
.github/ci/build.sh
vendored
2
.github/ci/build.sh
vendored
@ -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
|
||||||
|
2
.github/ci/generated.sh
vendored
2
.github/ci/generated.sh
vendored
@ -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
2
d
@ -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
|
||||||
;;
|
;;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user