-
Notifications
You must be signed in to change notification settings - Fork 11
47 lines (39 loc) · 1.29 KB
/
build-ios-app-artemis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
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