Skip to content

Add release workflow #104

Add release workflow

Add release workflow #104

Workflow file for this run

name: Presubmit
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
strategy:
matrix:
# macos-14 is for the arm64 architecture
# https://github.blog/changelog/2024-01-30-github-actions-introducing-the-new-m1-macos-runner-available-to-open-source
os: [ macos-latest, macos-14 ]
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: 17
- uses: gradle/actions/setup-gradle@v3
- run: ./gradlew build
- uses: actions/upload-artifact@v4
with:
name: distribution-${{ matrix.os }}
if-no-files-found: error
path: |
build/compose/binaries/main/dmg/*.dmg