Skip to content

Commit

Permalink
ci: add self-host m1 runner
Browse files Browse the repository at this point in the history
  • Loading branch information
cmhulbert committed Oct 6, 2023
1 parent 7cdba9d commit 1b5f20d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/maven-build-all-installer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
os: [ubuntu-latest, windows-latest, macos-latest, macOS-ARM64]
runs-on: ${{ matrix.os }}
env:
RELEASE_INSTALLERS: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
Expand Down Expand Up @@ -50,13 +50,13 @@ jobs:
java-package: jdk+fx
cache: 'maven'
- name: "Build with Maven"
if: matrix.os != 'macos-latest'
if: matrix.os != 'macos-latest' && matrix.os != 'macOS-ARM64'
run: mvn -B clean install -DskipTests -Pbuild-installer --file pom.xml
- name: "Build with Maven (macOS No Signing)"
env:
MACOS_CERTIFICATE: ${{ secrets.MACOS_CERTIFICATE }}
MACOS_CERTIFICATE_PWD: ${{ secrets.MACOS_CERTIFICATE_PWD }}
if: ${{ env.MACOS_CERTIFICATE == null && matrix.os == 'macos-latest' }}
if: ${{ env.MACOS_CERTIFICATE == null && (matrix.os == 'macos-latest' || matrix.os == 'macOS-ARM64') }}
run: mvn -B clean install -DskipTests -Pbuild-installer --file pom.xml
- name: Update Automatic Release
uses: marvinpinto/action-automatic-releases@latest
Expand Down

0 comments on commit 1b5f20d

Please sign in to comment.