From 17b811d1d69328bfa45c2b9c4742385a8f0f0215 Mon Sep 17 00:00:00 2001 From: LizardByte-bot <108553330+LizardByte-bot@users.noreply.github.com> Date: Sat, 21 Dec 2024 17:54:25 +0000 Subject: [PATCH] chore: update global workflows --- .github/workflows/ci-docker.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci-docker.yml b/.github/workflows/ci-docker.yml index fd96770..b561d9b 100644 --- a/.github/workflows/ci-docker.yml +++ b/.github/workflows/ci-docker.yml @@ -317,10 +317,20 @@ jobs: if: ${{ steps.prepare.outputs.artifacts == 'true' }} working-directory: artifacts run: | + # debug directory + echo "Current directory: $(pwd)" + echo "Directory contents: $(ls -Ra)" + # artifacts will be in sub directories named after the docker target platform, e.g. `linux_amd64` # so move files to the artifacts directory # https://unix.stackexchange.com/a/52816 - find ./ -type f -exec mv -t ./ -n '{}' + + find \ + ./ \ + -maxdepth 2 \ + -mindepth 2 \ + -type f \ + -not -name 'provenance.json' \ + -exec mv -t ./ -n '{}' + # remove provenance file rm -f ./provenance.json