Add Gitea workflow to build the macOS app #1

Merged
niklas merged 1 commits from ci/gitea-macos-build into main 2026-09-28 20:16:52 +00:00
2 changed files with 54 additions and 1 deletions
Showing only changes of commit 3b15042882 - Show all commits
+53
View File
@@ -0,0 +1,53 @@
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
+1 -1
View File
@@ -62,7 +62,7 @@
"ENABLE_RESOURCE_ACCESS_USB": "NO",
"ENABLE_USER_SELECTED_FILES": "readonly",
"GENERATE_INFOPLIST_FILE": "YES",
"INFOPLIST_FILE": "MyApp/Info.plist",
"INFOPLIST_FILE": "proxy studio/Info.plist",
"INFOPLIST_KEY_CFBundleDisplayName": "Proxy Studio",
"INFOPLIST_KEY_LSApplicationCategoryType": "public.app-category.developer-tools",
"INFOPLIST_KEY_NSLocalNetworkUsageDescription": "Proxy Studio connects to your Nginx Proxy Manager and UniFi gateways to manage proxy hosts, certificates, and DNS records.",