Update build.yml #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build IPA | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: macOS-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Install Bundler | |
run: | | |
gem install bundler | |
- name: Install dependencies | |
run: | | |
bundle install | |
bundle exec pod install | |
- name: Build IPA | |
run: | | |
xcodebuild -workspace pic-re.xcworkspace -scheme AnimeGen -configuration Release -destination 'generic/platform=iOS' build CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | |
xcodebuild -exportArchive -archivePath build/YourScheme.xcarchive -exportPath build -exportOptionsPlist exportOptions.plist | |
- name: Rename IPA | |
run: mv build/AnimeGen.ipa build/AnimeGen.ipa | |
- name: Upload IPA | |
uses: actions/upload-artifact@v2 | |
with: | |
name: AnimeGen-IPA | |
path: build/AnimeGen.ipa |