File tree 5 files changed +12
-14
lines changed
5 files changed +12
-14
lines changed Original file line number Diff line number Diff line change @@ -30,11 +30,11 @@ jobs:
30
30
steps :
31
31
- uses : actions/checkout@v4
32
32
33
- - name : Setup JDK 11
33
+ - name : Setup JDK 17
34
34
uses : actions/setup-java@v4
35
35
with :
36
36
distribution : ' zulu'
37
- java-version : 11
37
+ java-version : 17
38
38
java-package : jdk
39
39
40
40
- name : Get yarn cache directory path
64
64
${{ runner.os }}-gradle-
65
65
- name : Run Gradle Build for example/android/
66
66
run : cd example/android && ./gradlew assembleDebug --build-cache && cd ../..
67
- - name : Upload .apk to GitHub
68
- uses : actions/upload-artifact@v4
69
- with :
70
- name : VisionCamera Example (.apk)
71
- path : package/example/android/app/build/outputs/apk/debug/app-debug.apk
72
- if-no-files-found : error
73
67
74
68
build-no-frame-processors :
75
69
name : Build Android Example App (without Frame Processors)
@@ -80,11 +74,11 @@ jobs:
80
74
steps :
81
75
- uses : actions/checkout@v4
82
76
83
- - name : Setup JDK 11
77
+ - name : Setup JDK 17
84
78
uses : actions/setup-java@v4
85
79
with :
86
80
distribution : ' zulu'
87
- java-version : 11
81
+ java-version : 17
88
82
java-package : jdk
89
83
90
84
- name : Get yarn cache directory path
Original file line number Diff line number Diff line change @@ -5,5 +5,6 @@ if which clang-format >/dev/null; then
5
5
clang-format -style=file:./cpp/.clang-format -i " $file "
6
6
done
7
7
else
8
- echo " warning: clang-format not installed, install with 'brew install clang-format' (or manually from https://clang.llvm.org/docs/ClangFormat.html)"
8
+ echo " error: clang-format not installed, install with 'brew install clang-format' (or manually from https://clang.llvm.org/docs/ClangFormat.html)"
9
+ exit 1
9
10
fi
Original file line number Diff line number Diff line change 3
3
if which ktlint > /dev/null; then
4
4
cd android && ktlint --color --relative --editorconfig=./.editorconfig -F ./** /* .kt*
5
5
else
6
- echo " warning: KTLint not installed, install with 'brew install ktlint' (or manually from https://github.com/pinterest/ktlint)"
6
+ echo " error: KTLint not installed, install with 'brew install ktlint' (or manually from https://github.com/pinterest/ktlint)"
7
+ exit 1
7
8
fi
Original file line number Diff line number Diff line change 3
3
if which swiftformat > /dev/null; then
4
4
cd ios && swiftformat --quiet .
5
5
else
6
- echo " warning: SwiftFormat not installed, install with 'brew install swiftformat' (or manually from https://github.com/nicklockwood/SwiftFormat)"
6
+ echo " error: SwiftFormat not installed, install with 'brew install swiftformat' (or manually from https://github.com/nicklockwood/SwiftFormat)"
7
+ exit 1
7
8
fi
Original file line number Diff line number Diff line change 3
3
if which swiftlint > /dev/null; then
4
4
cd ios && swiftlint --quiet --fix && swiftlint --quiet
5
5
else
6
- echo " warning: SwiftLint not installed, install with 'brew install swiftlint' (or manually from https://github.com/realm/SwiftLint)"
6
+ echo " error: SwiftLint not installed, install with 'brew install swiftlint' (or manually from https://github.com/realm/SwiftLint)"
7
+ exit 1
7
8
fi
You can’t perform that action at this time.
0 commit comments