mirror of
https://github.com/priyanshujain/sanderling.git
synced 2026-10-02 11:07:10 +00:00
ci(folio): run gradle on jdk 21 for the metro plugin
the metro gradle plugin folio builds with publishes org.gradle.jvm.version 21 and java 21 class files, so every leg failed at the folio build on a 17 runtime. local builds pass on jdk 25, which is why only ci saw it.
This commit is contained in:
1 parent
b02e86b2e3
commit
6caf77a194
1 file changed
+18
-6
@@ -49,11 +49,15 @@ jobs:
|
|||||||
go-version-file: go.mod
|
go-version-file: go.mod
|
||||||
cache: true
|
cache: true
|
||||||
|
|
||||||
- name: Set up JDK 17
|
- name: Set up the JDKs
|
||||||
uses: actions/setup-java@v4
|
uses: actions/setup-java@v4
|
||||||
with:
|
with:
|
||||||
distribution: temurin
|
distribution: temurin
|
||||||
java-version: "17"
|
# The metro gradle plugin folio builds with needs a 21 runtime; the
|
||||||
|
# sidecar toolchain pins 17. Both are installed so gradle can pick.
|
||||||
|
java-version: |
|
||||||
|
17
|
||||||
|
21
|
||||||
|
|
||||||
- name: Set up Android SDK
|
- name: Set up Android SDK
|
||||||
uses: android-actions/setup-android@v3
|
uses: android-actions/setup-android@v3
|
||||||
@@ -134,11 +138,15 @@ jobs:
|
|||||||
- name: Install idb-companion, xcodegen and just
|
- name: Install idb-companion, xcodegen and just
|
||||||
run: brew install facebook/fb/idb-companion xcodegen just
|
run: brew install facebook/fb/idb-companion xcodegen just
|
||||||
|
|
||||||
- name: Set up JDK 17
|
- name: Set up the JDKs
|
||||||
uses: actions/setup-java@v4
|
uses: actions/setup-java@v4
|
||||||
with:
|
with:
|
||||||
distribution: temurin
|
distribution: temurin
|
||||||
java-version: "17"
|
# The metro gradle plugin folio builds with needs a 21 runtime; the
|
||||||
|
# sidecar toolchain pins 17. Both are installed so gradle can pick.
|
||||||
|
java-version: |
|
||||||
|
17
|
||||||
|
21
|
||||||
|
|
||||||
# The iOS app builds its Kotlin framework through the folio gradle
|
# The iOS app builds its Kotlin framework through the folio gradle
|
||||||
# project, which configures :app:androidApp and so needs an Android SDK
|
# project, which configures :app:androidApp and so needs an Android SDK
|
||||||
@@ -208,11 +216,15 @@ jobs:
|
|||||||
go-version-file: go.mod
|
go-version-file: go.mod
|
||||||
cache: true
|
cache: true
|
||||||
|
|
||||||
- name: Set up JDK 17
|
- name: Set up the JDKs
|
||||||
uses: actions/setup-java@v4
|
uses: actions/setup-java@v4
|
||||||
with:
|
with:
|
||||||
distribution: temurin
|
distribution: temurin
|
||||||
java-version: "17"
|
# The metro gradle plugin folio builds with needs a 21 runtime; the
|
||||||
|
# sidecar toolchain pins 17. Both are installed so gradle can pick.
|
||||||
|
java-version: |
|
||||||
|
17
|
||||||
|
21
|
||||||
|
|
||||||
- name: Set up bun
|
- name: Set up bun
|
||||||
uses: oven-sh/setup-bun@v2
|
uses: oven-sh/setup-bun@v2
|
||||||
|
|||||||
Reference in new issue
Block a user