Skip to content

app-build-release-artifacts #45

app-build-release-artifacts

app-build-release-artifacts #45

name: 'app-build-release-artifacts'
on:
push:
branches:
- staging
paths:
- 'apps/app/**'
- '.github/workflows/app-build-release-artifacts.yml'
pull_request:
branches:
- dev
- staging
paths:
- 'apps/app/**'
- '.github/workflows/app-build-release-artifacts.yml'
workflow_dispatch:
jobs:
build-app-release:
permissions:
contents: write
strategy:
fail-fast: false
matrix:
include:
- platform: 'macos-latest' # for Arm based macs (M1 and above).
args: '--target aarch64-apple-darwin'
- platform: 'macos-latest' # for Intel based macs.
args: '--target x86_64-apple-darwin'
- platform: 'ubuntu-22.04'
args: ''
- platform: 'ubuntu-22.04-arm'
args: ''
- platform: 'windows-2022'
args: ''
- platform: 'windows-11-arm'
args: ''
- platform: 'ubuntu-22.04'
args: '--apk --split-per-abi --target aarch64 --target armv7'
mobile: 'android'
uses: ./.github/workflows/app-build.yml
with:
build-mode: 'release'
publish: false
environment: 'production'
platform: ${{ matrix.platform }}
args: ${{ matrix.args }}
mobile: ${{ matrix.mobile || '' }}
secrets: inherit