Skip to content

Commit

Permalink
Added matrix build
Browse files Browse the repository at this point in the history
  • Loading branch information
arminzavada committed Sep 14, 2024
1 parent 986a94c commit 557936d
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,17 @@ on:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
strategy:
matrix:
os:
- ubuntu-latest
- ubuntu-20.04
- windows-latest
- macos-13 # Intel
- macos-14 # ARM
runs-on: ${{ matrix.os }}
steps:
- name: Set up JDK
uses: actions/setup-java@v4
Expand All @@ -24,8 +32,9 @@ jobs:
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
- name: Gradle build
run: ./gradlew build
run: ./gradlew build --no-daemon
- name: Upload Artifacts
if: ${{ matrix.os == 'ubuntu-latest' }}
uses: actions/upload-artifact@v4
with:
path: |
Expand Down

0 comments on commit 557936d

Please sign in to comment.