Skip to content

Commit

Permalink
chore: update actions (#197)
Browse files Browse the repository at this point in the history
Signed-off-by: Ry Jones <[email protected]>
Co-authored-by: Javier Ribó <[email protected]>
  • Loading branch information
ryjones and elribonazo authored Jan 31, 2025
1 parent c38976b commit 9e1a069
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ jobs:
run: ./gradlew koverHtmlReport koverXmlReport

- name: "Upload coverage html"
uses: actions/upload-artifact@v3.1.2
uses: actions/upload-artifact@v4.0.0
with:
name: coverage-results-${{ matrix.os-type }}.zip
path: apollo/build/reports/kover/html
Expand All @@ -154,7 +154,7 @@ jobs:

- name: "Upload the build report"
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
path: "**/build/reports/"
name: report-${{ matrix.os-type }}
10 changes: 7 additions & 3 deletions apollo/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -645,7 +645,11 @@ kotlin {
implementation("org.jetbrains.kotlin-wrappers:kotlin-node:18.11.13-pre.461")
}
}
val jsTest by getting
val jsTest by getting {
dependencies {
implementation(npm("url", "0.11.4"))
}
}
val nativeMain by getting {
dependsOn(allButJSMain)
kotlin.srcDir(
Expand Down Expand Up @@ -691,12 +695,12 @@ kotlin {
if (os.isMacOsX) {
if (tasks.findByName("iosX64Test") != null) {
tasks.getByName<org.jetbrains.kotlin.gradle.targets.native.tasks.KotlinNativeSimulatorTest>("iosX64Test") {
device.set("iPhone 14 Plus")
device.set("iPhone 15 Pro Max")
}
}
if (tasks.findByName("iosSimulatorArm64Test") != null) {
tasks.getByName<org.jetbrains.kotlin.gradle.targets.native.tasks.KotlinNativeSimulatorTest>("iosSimulatorArm64Test") {
device.set("iPhone 14 Plus")
device.set("iPhone 15 Pro Max")
}
}
}
Expand Down

0 comments on commit 9e1a069

Please sign in to comment.