Skip to content

App build

App build #15

name: App build
on:
# manual trigger but change to any supported event
workflow_dispatch:
branches: [main]
jobs:
build_with_signing:
runs-on: macos-13
steps:
- name: Set up Xcode
uses: maxim-lobanov/[email protected]
with:
xcode-version: '15'
- name: Checkout repository
uses: actions/checkout@v4
- name: Install the Apple certificate and provisioning profile
env:
BUILD_CERTIFICATE_BASE64: ${{ secrets.BUILD_CERTIFICATE_BASE64 }}
P12_PASSWORD: ${{ secrets.P12_PASSWORD }}
BUILD_PROVISION_PROFILE_BASE64: ${{ secrets.BUILD_PROVISION_PROFILE_BASE64 }}
KEYCHAIN_PASSWORD: ${{ secrets.KEYCHAIN_PASSWORD }}
run: |
# Your existing setup steps
- name: build archive
run: |
xcodebuild -scheme "OpenArtemis" \
-allowProvisioningUpdates \
-archivePath $RUNNER_TEMP/OpenArtemis.xcarchive
- name: export ipa
env:
EXPORT_OPTIONS_PLIST: ${{ secrets.EXPORT_OPTIONS_PLIST }}
run: |
# Your existing export steps
- name: Upload application
uses: actions/upload-artifact@v3
with:
name: app
path: ${{ runner.temp }}/build/OpenArtemis.ipa
retention-days: 3