Fix iOS build action (#43)

This commit is contained in:
Marc Rousavy 2021-03-11 18:27:10 +01:00 committed by GitHub
parent 0d717f0dbe
commit c84fa68357
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,11 +30,6 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Setup JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
@ -52,7 +47,7 @@ jobs:
- name: Restore Pods cache
uses: actions/cache@v2
with:
path: Pods
path: example/ios/Pods
key: ${{ runner.os }}-pods-${{ hashFiles('**/Podfile.lock') }}
restore-keys: |
${{ runner.os }}-pods-
@ -62,6 +57,8 @@ jobs:
run: "xcodebuild \
-workspace VisionCameraExample.xcworkspace \
-scheme VisionCameraExample \
-sdk iphoneos \
-sdk iphonesimulator \
-configuration Debug \
-destination \"generic/platform=iOS Simulator\" \
build \
CODE_SIGNING_ALLOWED=NO"