-
Notifications
You must be signed in to change notification settings - Fork 1
38 lines (31 loc) · 984 Bytes
/
build.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
name: Build and Release IPA
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: macos-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Set up Xcode
uses: actions/setup-xcode@v2
with:
xcode-version: '13.x'
- name: Install CocoaPods
run: |
gem install cocoapods
pod install --repo-update
- name: Build IPA
run: |
xcodebuild -project AnimeGen.xcodeproj -scheme AnimeGen -configuration Release -destination 'generic/platform=iOS' clean archive -archivePath $PWD/build/AnimeGen.xcarchive
xcodebuild -exportArchive -archivePath $PWD/build/AnimeGen.xcarchive -exportOptionsPlist ExportOptions.plist -exportPath $PWD/build
- name: Archive and Upload Artifact
uses: actions/upload-artifact@v2
with:
name: AnimeGen-IPA
path: $PWD/build/*.ipa