add mac os runner

This commit is contained in:
Craig Raw 2022-06-07 13:59:30 +02:00
parent ededb107a3
commit 3ed15ffefe

View file

@ -7,7 +7,7 @@ jobs:
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
strategy: strategy:
matrix: matrix:
os: [windows-latest, ubuntu-latest] os: [windows-latest, ubuntu-latest, macos-latest]
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
with: with:
@ -31,7 +31,7 @@ jobs:
if: ${{ runner.os == 'Windows' }} if: ${{ runner.os == 'Windows' }}
run: ./gradlew packageZipDistribution run: ./gradlew packageZipDistribution
- name: Package tar distribution - name: Package tar distribution
if: ${{ runner.os == 'Linux' }} if: ${{ runner.os == 'Linux' || runner.os == 'macOS' }}
run: ./gradlew packageTarDistribution run: ./gradlew packageTarDistribution
- name: Upload Artifacts - name: Upload Artifacts
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2