Skip to content

Update build.yml

Update build.yml #82

Workflow file for this run

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