Skip to content

Commit

Permalink
upload only os-specific files from MacOS and Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
gptlang authored Mar 8, 2024
1 parent 0dce331 commit 096b504
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,11 @@ jobs:
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: Package
path: target/*.jar
name: Package-${{ runner.os }}
path: |
${{ matrix.os == 'ubuntu-latest' && 'target/cubiomes-*.jar' || '' }}
${{ matrix.os == 'macos-latest' && 'target/cubiomes-*-osx.jar' || '' }}
${{ matrix.os == 'windows-latest' && 'target/cubiomes-*-windows64.jar' || '' }}
release:
name: Release
Expand Down

0 comments on commit 096b504

Please sign in to comment.