Skip to content

Commit

Permalink
ipa3
Browse files Browse the repository at this point in the history
  • Loading branch information
gomboskriszta15 committed Jul 22, 2024
1 parent d708c4d commit 2b99ac6
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/ios-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,28 @@ jobs:
if: always() # run this step even if one of the previous step failed
with:
name: BuildiOSArtifact2
path: |
sampleGame.ipa
**/*.log
build-ipa3:
runs-on: [self-hosted, macOS]
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/development' || needs.paths-filter.outputs.proxy == 'true' || needs.paths-filter.outputs.scenes == 'true' || needs.paths-filter.outputs.python == 'true'
steps:
- uses: actions/checkout@v3

- name: Build sampleGame ipa3
run: |
export ALTSERVER_PORT=13005
export ALTSERVER_HOST="altom-mac4.local"
$UNITY_2021_3_HOME -batchmode -stackTraceLogType None -projectPath -executeMethod AltTesterTools.BuildAltTester.IosBuildFromCommandLine -logFile buildiOS.log -quit
xcodebuild -project ./sampleGame/Unity-iPhone.xcodeproj -scheme Unity-iPhone -archivePath Unity-iPhone.xcarchive archive
xcodebuild -exportArchive -archivePath ./Unity-iPhone.xcarchive -exportOptionsPlist $EXPORT_OPTIONS_LOCATION/export-options.plist -exportPath ./
osascript -e 'tell app "Xcode" to quit'
- uses: actions/upload-artifact@v3
if: always() # run this step even if one of the previous step failed
with:
name: BuildiOSArtifact3
path: |
sampleGame.ipa
**/*.log

0 comments on commit 2b99ac6

Please sign in to comment.