From d0e8572787f9d63f3345aaec0c48049cc8d9759b Mon Sep 17 00:00:00 2001 From: Jonathan 'theJPster' Pallant Date: Fri, 20 Dec 2024 21:19:06 +0000 Subject: [PATCH] Zip the release. We can't upload individual files as the paths are lost and the files are writing over each other. --- .github/workflows/rust.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 4f8acd0..5645725 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -77,8 +77,9 @@ jobs: - run: mkdir ./release - uses: actions/download-artifact@v4 with: - path: ./release + path: ./release-${{ github.ref_name }} + - run: zip release-${{ github.ref_name }}.zip ./release-${{ github.ref_name }} - uses: softprops/action-gh-release@v1 with: files: | - ./release/*/* + ./release-${{ github.ref_name }}.zip