Skip to content

Update build.yml

Update build.yml #83

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: Install Xcode Command Line Tools
run: sudo xcode-select --install
- 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