From 83261940df99a99393ea5fe1e7f89cfde006f6f0 Mon Sep 17 00:00:00 2001 From: C0D3 M4513R <28912031+C0D3-M4513R@users.noreply.github.com> Date: Fri, 14 Jun 2024 14:55:59 +0200 Subject: [PATCH] Fix Release Action --- .github/workflows/rust.yml | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 0ede4f8..b67bfa6 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -26,21 +26,9 @@ jobs: uses: actions/download-artifact@v4 with: path: artifacts + merge-multiple: true - name: Rename and move artifacts run: | - for dir in artifacts/*/ - do - dir=${dir%*/} # remove the trailing "/" - for file in $dir/* - do - file=${file##*/} # remove the path before the filename - base=${file%.*} # remove the extension - ext=${file#"$base"} # remove the filename before the extension - echo "moving ${dir}/${file} to artifacts/${file%%.*}-${dir##*/}${ext}" - mv "${dir}/${file}" "artifacts/${file%%.*}-${dir##*/}${ext}" - done - rm -r "${dir}" - done mv artifacts/sbom.spdx.json sbom.spdx.json - uses: actions/attest-sbom@v1 with: