From 1640c776a74e918a9efe4f35a10207a8b54f2ed7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Sch=C3=B6ppach?= Date: Tue, 5 Mar 2024 12:40:49 +0100 Subject: [PATCH] Clean GitHub artifact hierarchy --- .github/workflows/ci.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5993af2..02089d7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,13 +28,15 @@ jobs: CC: arm-bemos-linux-musleabihf-gcc run: | cargo build --release --target=armv7-unknown-linux-musleabihf + - name: Clean up hierachy + run: cp LICENSE target/armv7-unknown-linux-musleabihf/release/LICENSE - name: Archive artifacts uses: actions/upload-artifact@v4 with: name: armv7 path: | target/armv7-unknown-linux-musleabihf/release/bone_shell - LICENSE + target/armv7-unknown-linux-musleabihf/release/LICENSE x86_64-linux-gnu: runs-on: ubuntu-latest container: rust:latest @@ -60,13 +62,15 @@ jobs: - name: Build run: | cargo build --release + - name: Clean up hierachy + run: cp LICENSE target/release/LICENSE - name: Archive artifacts uses: actions/upload-artifact@v4 with: name: x86_64 path: | target/release/bone_shell - LICENSE + target/release/LICENSE x86_64-pc-windows-gnu: runs-on: ubuntu-latest container: rust:latest @@ -93,10 +97,12 @@ jobs: - name: Build run: | cargo build --release --target=x86_64-pc-windows-gnu + - name: Clean up hierachy + run: cp LICENSE target/x86_64-pc-windows-gnu/release/LICENSE - name: Archive artifacts uses: actions/upload-artifact@v4 with: name: x84_64-windows path: | target/x86_64-pc-windows-gnu/release/bemos_s3uploader.exe - LICENSE \ No newline at end of file + target/x86_64-pc-windows-gnu/release/LICENSE \ No newline at end of file