mirror of
https://github.com/felixfoertsch/EurKEY-macOS.git
synced 2026-04-16 06:28:28 +02:00
37 lines
697 B
YAML
37 lines
697 B
YAML
name: Build
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
paths:
|
|
- 'EurKey-macOS.bundle/**'
|
|
- 'scripts/**'
|
|
- 'spec/**'
|
|
pull_request:
|
|
paths:
|
|
- 'EurKey-macOS.bundle/**'
|
|
- 'scripts/**'
|
|
- 'spec/**'
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: macos-latest
|
|
steps:
|
|
- name: checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: validate layouts
|
|
run: python3 scripts/validate_layouts.py
|
|
|
|
- name: build bundle
|
|
run: bash scripts/build-bundle.sh
|
|
|
|
- name: create DMG
|
|
run: bash scripts/create-dmg.sh
|
|
|
|
- name: upload DMG
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: EurKEY-macOS-DMG
|
|
path: build/*.dmg
|