Skip to content

Commit

Permalink
Fix cross platform builds
Browse files Browse the repository at this point in the history
  • Loading branch information
jzbrooks committed Jan 12, 2025
1 parent e149368 commit 931c1be
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
if: ${{ contains(matrix.target, 'macos') || contains(matrix.target, 'linux') }}
run: |
VARIANT=$(echo ${{ matrix.target }} | sed -E 's/-x64/X64/; s/-arm64/Arm64/')
./gradlew ${variant}Binary
./gradlew "${VARIANT}Binary"
- name: Archive vat-${{ matrix.target }}
if: ${{ contains(matrix.target, 'macos') || contains(matrix.target, 'linux') }}
Expand All @@ -49,12 +49,12 @@ jobs:
if: ${{ contains(matrix.target, 'windows') }}
run: |
VARIANT=$(echo ${{ matrix.target }} | sed -E 's/-x64/X64/; s/-arm64/Arm64/')
./gradlew ${variant}Optimize
./gradlew ${VARIANT}Optimize
- name: Archive vat-${{ matrix.target }}.jar
if: ${{ contains(matrix.target, 'windows') }}
uses: actions/upload-artifact@v4
with:
name: vat-${{ matrix.target }}.jar
path: build/libs/vat-${{ matrix.target }}.jar
path: build/libs/vat-${{ matrix.target }}-*.jar

0 comments on commit 931c1be

Please sign in to comment.