From 5ddd1ffa8dbc2c808d6e5f0eac0eb998f04ccd2e Mon Sep 17 00:00:00 2001 From: Nick Babcock Date: Fri, 1 Nov 2024 07:03:13 -0700 Subject: [PATCH] Remove building rakaly header into windows artifact (#30) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit More than just windows developers need this header 😅 --- .github/workflows/rust.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index ef84ad4..02ac010 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -101,6 +101,12 @@ jobs: path: ${{ env.ASSET }} name: ${{ env.ASSET }} if-no-files-found: error + - uses: actions/upload-artifact@v4 + with: + path: target/rakaly.h + name: rakaly.h + if-no-files-found: error + overwrite: true release: needs: test @@ -115,11 +121,7 @@ jobs: mkdir artifacts cd artifacts-temp for i in *; do - if [[ "$i" = *windows* ]]; then - 7z a "../artifacts/$(basename "$i").zip" "$i" - else - tar czf "../artifacts/$(basename "$i").tar.gz" "$i" - fi + tar czf "../artifacts/$(basename "$i").tar.gz" "$i" done ls -lR ../artifacts - name: Create Release