Build / build (pull_request) Failing after 3s
Builds a Release, ad-hoc signed app on the macos-arm64 runner and uploads it as a zipped artifact. Also fixes INFOPLIST_FILE, which pointed at a nonexistent MyApp/Info.plist and broke every build. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
54 lines
1.2 KiB
YAML
54 lines
1.2 KiB
YAML
name: Build
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
tags: ["v*"]
|
|
pull_request:
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
build:
|
|
# Must match a label registered on your macOS act_runner (host mode).
|
|
runs-on: macos-arm64
|
|
env:
|
|
PROJECT: proxy studio.xcodeproj
|
|
TARGET: proxy studio
|
|
APP_NAME: Proxy Studio
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Show toolchain
|
|
run: |
|
|
xcode-select -p
|
|
xcodebuild -version
|
|
|
|
- name: Build
|
|
run: |
|
|
set -o pipefail
|
|
xcodebuild build \
|
|
-project "$PROJECT" \
|
|
-target "$TARGET" \
|
|
-configuration Release \
|
|
SYMROOT="$PWD/build" \
|
|
CODE_SIGN_STYLE=Manual \
|
|
CODE_SIGN_IDENTITY=- \
|
|
DEVELOPMENT_TEAM= \
|
|
| tee xcodebuild.log
|
|
|
|
- name: Package
|
|
run: |
|
|
cd build/Release
|
|
ditto -c -k --keepParent "$APP_NAME.app" "$GITHUB_WORKSPACE/ProxyStudio.zip"
|
|
|
|
- uses: actions/upload-artifact@v4
|
|
with:
|
|
name: ProxyStudio-${{ github.sha }}
|
|
path: ProxyStudio.zip
|
|
|
|
- uses: actions/upload-artifact@v4
|
|
if: failure()
|
|
with:
|
|
name: xcodebuild-log
|
|
path: xcodebuild.log
|