Skip to content

Commit

Permalink
Download separate packages for each OS
Browse files Browse the repository at this point in the history
  • Loading branch information
gptlang authored Mar 8, 2024
1 parent 096b504 commit 696f1fb
Showing 1 changed file with 22 additions and 5 deletions.
27 changes: 22 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 696f1fb

Please sign in to comment.