Fix iOS build action (#43)
This commit is contained in:
parent
0d717f0dbe
commit
c84fa68357
11
.github/workflows/build-ios.yml
vendored
11
.github/workflows/build-ios.yml
vendored
@ -30,11 +30,6 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- 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
|
- name: Get yarn cache directory path
|
||||||
id: yarn-cache-dir-path
|
id: yarn-cache-dir-path
|
||||||
run: echo "::set-output name=dir::$(yarn cache dir)"
|
run: echo "::set-output name=dir::$(yarn cache dir)"
|
||||||
@ -52,7 +47,7 @@ jobs:
|
|||||||
- name: Restore Pods cache
|
- name: Restore Pods cache
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
path: Pods
|
path: example/ios/Pods
|
||||||
key: ${{ runner.os }}-pods-${{ hashFiles('**/Podfile.lock') }}
|
key: ${{ runner.os }}-pods-${{ hashFiles('**/Podfile.lock') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-pods-
|
${{ runner.os }}-pods-
|
||||||
@ -62,6 +57,8 @@ jobs:
|
|||||||
run: "xcodebuild \
|
run: "xcodebuild \
|
||||||
-workspace VisionCameraExample.xcworkspace \
|
-workspace VisionCameraExample.xcworkspace \
|
||||||
-scheme VisionCameraExample \
|
-scheme VisionCameraExample \
|
||||||
-sdk iphoneos \
|
-sdk iphonesimulator \
|
||||||
-configuration Debug \
|
-configuration Debug \
|
||||||
|
-destination \"generic/platform=iOS Simulator\" \
|
||||||
|
build \
|
||||||
CODE_SIGNING_ALLOWED=NO"
|
CODE_SIGNING_ALLOWED=NO"
|
||||||
|
Loading…
Reference in New Issue
Block a user