Skip to content

Commit eb57b38

Browse files
committed
chore: Update actions
1 parent 369cb4a commit eb57b38

File tree

5 files changed

+12
-14
lines changed

5 files changed

+12
-14
lines changed

.github/workflows/build-android.yml

+4-10
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ jobs:
3030
steps:
3131
- uses: actions/checkout@v4
3232

33-
- name: Setup JDK 11
33+
- name: Setup JDK 17
3434
uses: actions/setup-java@v4
3535
with:
3636
distribution: 'zulu'
37-
java-version: 11
37+
java-version: 17
3838
java-package: jdk
3939

4040
- name: Get yarn cache directory path
@@ -64,12 +64,6 @@ jobs:
6464
${{ runner.os }}-gradle-
6565
- name: Run Gradle Build for example/android/
6666
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
7367

7468
build-no-frame-processors:
7569
name: Build Android Example App (without Frame Processors)
@@ -80,11 +74,11 @@ jobs:
8074
steps:
8175
- uses: actions/checkout@v4
8276

83-
- name: Setup JDK 11
77+
- name: Setup JDK 17
8478
uses: actions/setup-java@v4
8579
with:
8680
distribution: 'zulu'
87-
java-version: 11
81+
java-version: 17
8882
java-package: jdk
8983

9084
- name: Get yarn cache directory path

package/scripts/clang-format.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@ if which clang-format >/dev/null; then
55
clang-format -style=file:./cpp/.clang-format -i "$file"
66
done
77
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
910
fi

package/scripts/ktlint.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@
33
if which ktlint >/dev/null; then
44
cd android && ktlint --color --relative --editorconfig=./.editorconfig -F ./**/*.kt*
55
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
78
fi

package/scripts/swiftformat.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@
33
if which swiftformat >/dev/null; then
44
cd ios && swiftformat --quiet .
55
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
78
fi

package/scripts/swiftlint.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@
33
if which swiftlint >/dev/null; then
44
cd ios && swiftlint --quiet --fix && swiftlint --quiet
55
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
78
fi

0 commit comments

Comments
 (0)