From 9b5d6310591feac7366b2ddd4df0ad4b0c0252b5 Mon Sep 17 00:00:00 2001 From: Dario Nieuwenhuis Date: Sat, 16 Sep 2023 02:10:21 +0200 Subject: [PATCH] wtf --- .github/ci/build.sh | 5 +++-- d | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/ci/build.sh b/.github/ci/build.sh index cc57d5e..c667adc 100755 --- a/.github/ci/build.sh +++ b/.github/ci/build.sh @@ -2,7 +2,7 @@ ## on push branch~=gh-readonly-queue/main/.* ## on pull_request -set -euo pipefail +set -euxo pipefail export RUSTUP_HOME=/ci/cache/rustup export CARGO_HOME=/ci/cache/cargo @@ -24,7 +24,8 @@ git clone --depth 1 --branch stm32-data-$(git merge-base HEAD upstream/main) htt # upload diff ( cd build - git diff --color data | aha --black > /ci/artifacts/diff.html + git add . + git diff --staged --color data | aha --black > /ci/artifacts/diff.html ) # upload generated data to a fake git repo at diff --git a/d b/d index 356f902..81cd362 100755 --- a/d +++ b/d @@ -11,7 +11,7 @@ case "$CMD" in rm -rf ./sources/ git clone https://github.com/embassy-rs/stm32-data-sources.git ./sources/ cd ./sources/ - git checkout ca89656b + git checkout a2062c088cf299bd3dc5128eeaa96e07fff2087c ;; install-chiptool) cargo install --git https://github.com/embassy-rs/chiptool