minor improvements #12
Workflow file for this run
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: Upload iOS Quick Start build on appetize | |
on: | |
push: | |
# types: | |
# - closed | |
# paths: | |
# - 'ios/ios-quick-start/**' | |
defaults: | |
run: | |
working-directory: ./ios/ios-quick-start/ | |
jobs: | |
build-and-upload: | |
# if: github.event.pull_request.merged == true | |
runs-on: macos-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Resolve Dependencies | |
run: xcodebuild -resolvePackageDependencies -project ios-example.xcodeproj -scheme ios-example | |
- name: Build iOS simulator build | |
run: xcodebuild build CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO -scheme ios-example -sdk iphonesimulator -derivedDataPath build | |
- name: Compress iOS build | |
run: tar -czf ios_build.tar.gz build/Build/Products/Debug-iphonesimulator | |
- name: Upload iOS build to Appetize | |
uses: appetizeio/[email protected] | |
with: | |
apiToken: ${{ secrets.APPETIZE_SECRET_KEY }} | |
publicKey: ${{ secrets.IOS_QUICK_START_PUBLIC_KEY }} | |
appFile: ./ios/ios-quick-start/ios_build.tar.gz | |
platform: "ios" |