Skip to content

Build

Build #19

Workflow file for this run

name: Build
on:
push:
branches: [ main ]
tags: [ '[0-9]+.[0-9]+' ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
build:
runs-on: macos-15
steps:
- uses: actions/checkout@v4
- name: Build
run: xcodebuild -project Cocoa\ CapsBeeper.xcodeproj
- name: Use tar to keep executable permissions
run: cd build/Default && tar czvf CCB.app.tgz *.app
- name: Upload .app
uses: actions/upload-artifact@v4
with:
name: CCB.app.tgz
path: build/Default/CCB.app.tgz
- name: Create GitHub Release
if: startsWith(github.ref, 'refs/tags/')
uses: softprops/action-gh-release@v2
with:
files: build/Default/CCB.app.tgz