From 685c5cac184a5824332c872175102ab34eda9905 Mon Sep 17 00:00:00 2001 From: Nicolas Mattia Date: Fri, 21 Feb 2025 15:58:54 +0100 Subject: [PATCH] wip --- .github/workflows-source/ci-main.yml | 2 +- ci/bazel-scripts/main.sh | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows-source/ci-main.yml b/.github/workflows-source/ci-main.yml index eb5be3135d05..b3bbb6330015 100644 --- a/.github/workflows-source/ci-main.yml +++ b/.github/workflows-source/ci-main.yml @@ -148,7 +148,7 @@ jobs: - name: Foo bar run: | - find -L bazel-out -name SHA256SUMS | xargs cat | sort | uniq > out_shafile_all + for shafile in $(find bazel-out/ -name SHA256SUMS); do if [ -f "$shafile" ]; then echo "$shafile"; fi ; done | xargs cat | sort | uniq - name: Upload out_shafile uses: actions/upload-artifact@v4 with: diff --git a/ci/bazel-scripts/main.sh b/ci/bazel-scripts/main.sh index 23f4fd2b5ecf..36156701b630 100755 --- a/ci/bazel-scripts/main.sh +++ b/ci/bazel-scripts/main.sh @@ -117,3 +117,5 @@ rm "$url_out" echo "the shasums:" find -L bazel-out -name SHA256SUMS + +for shafile in $(find bazel-out/ -name SHA256SUMS); do if [ -f "$shafile" ]; then echo "$shafile"; fi ; done | xargs cat | sort | uniq