From 696f1fbaadc7d7ca2ed84abcbe677fda0c75f4d7 Mon Sep 17 00:00:00 2001 From: gptlang <121417512+gptlang@users.noreply.github.com> Date: Fri, 8 Mar 2024 01:41:55 +0000 Subject: [PATCH] Download separate packages for each OS --- .github/workflows/release.yml | 27 ++++++++++++++++++++++----- 1 file changed, 22 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8891843..91fcea9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -53,15 +53,32 @@ jobs: ${{ matrix.os == 'windows-latest' && 'target/cubiomes-*-windows64.jar' || '' }} release: - name: Release - needs: build - runs-on: ubuntu-latest - steps: + name: Release + needs: build + runs-on: ubuntu-latest + steps: - name: Download Artifacts uses: actions/download-artifact@v4 with: - name: Package + name: Package-Linux + path: ubuntu + - name: Download Artifacts + uses: actions/download-artifact@v4 + with: + name: Package-macOS + path: macos + - name: Download Artifacts + uses: actions/download-artifact@v4 + with: + name: Package-Windows + path: windows - name: Release uses: softprops/action-gh-release@v1 + with: + files: | + ubuntu/*.jar + macos/*.jar + windows/*.jar + uses: softprops/action-gh-release@v1 with: files: "*.jar"