Build on macos only

This commit is contained in:
Alexander Brandes 2023-01-15 18:54:50 +01:00 committed by GitHub
parent 2c8331e82e
commit f0b4d9b103
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 5 deletions

View File

@ -8,10 +8,7 @@ on:
jobs: jobs:
build: build:
if: github.repository_owner == 'IntellectualSites' if: github.repository_owner == 'IntellectualSites'
runs-on: ${{ matrix.os }} runs-on: macos-latest
strategy:
matrix:
os: [ ubuntu-latest, windows-latest, macos-latest ]
steps: steps:
- name: Checkout Repository - name: Checkout Repository
uses: actions/checkout@v3 uses: actions/checkout@v3
@ -22,5 +19,5 @@ jobs:
with: with:
distribution: temurin distribution: temurin
java-version: 17 java-version: 17
- name: Build on ${{ matrix.os }} - name: Build on macos-latest
run: ./gradlew clean build run: ./gradlew clean build