Skip to content

Commit

Permalink
need secrets to avoid NPE
Browse files Browse the repository at this point in the history
  • Loading branch information
robfletcher committed Aug 8, 2024
1 parent 6a76b28 commit c70c061
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,6 @@ jobs:
uses: gradle/actions/setup-gradle@v3
- name: Build with Gradle
run: ./gradlew build
env:
ORG_GRADLE_PROJECT_ossrhToken: ${{ secrets.OSSRH_TOKEN }}
ORG_GRADLE_PROJECT_ossrhTokenPassword: ${{ secrets.OSSRH_TOKEN_PASSWORD }}
5 changes: 3 additions & 2 deletions site/site.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
@file:Suppress("KDocMissingDocumentation")

import org.jetbrains.kotlin.gradle.dsl.JvmTarget.JVM_18
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile

/*
Expand Down Expand Up @@ -50,7 +51,7 @@ orchid {
}

val compileOrchidKotlin by tasks.getting(KotlinCompile::class) {
kotlinOptions {
jvmTarget = JavaVersion.VERSION_1_8.toString()
compilerOptions {
jvmTarget.set(JVM_18)
}
}

0 comments on commit c70c061

Please sign in to comment.