Skip to content

Commit

Permalink
Publish artifacts on ubuntu runner
Browse files Browse the repository at this point in the history
  • Loading branch information
ajalt committed Dec 1, 2024
1 parent 9735d9c commit 9b77c1c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,4 @@ jobs:
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.ORG_GRADLE_PROJECT_mavenCentralUsername }}

env:
GRADLE_OPTS: -Dorg.gradle.configureondemand=true -Dorg.gradle.parallel=true -Dkotlin.incremental=false -Dorg.gradle.project.kotlin.incremental.multiplatform=false -Dorg.gradle.project.kotlin.native.disableCompilerDaemon=true -Dorg.gradle.jvmargs="-Xmx6g -Dfile.encoding=UTF-8"
GRADLE_OPTS: -Dorg.gradle.configureondemand=true -Dorg.gradle.parallel=true -Dkotlin.incremental=false -Dorg.gradle.project.kotlin.incremental.multiplatform=false -Dorg.gradle.project.kotlin.native.disableCompilerDaemon=true -Dorg.gradle.jvmargs="-Xmx12g -Dfile.encoding=UTF-8"
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
release:
runs-on: macos-latest
runs-on: ubuntu-latest
if: ${{ github.repository == 'ajalt/clikt' }}
steps:
- uses: actions/checkout@v4
Expand All @@ -25,4 +25,4 @@ jobs:

env:
# configureondemand=false to work around KT-51763
GRADLE_OPTS: -Dorg.gradle.configureondemand=false -Dorg.gradle.parallel=true -Dkotlin.incremental=false -Dorg.gradle.project.kotlin.incremental.multiplatform=false -Dorg.gradle.project.kotlin.native.disableCompilerDaemon=true -Dorg.gradle.jvmargs="-Xmx6g -Dfile.encoding=UTF-8"
GRADLE_OPTS: -Dorg.gradle.configureondemand=false -Dorg.gradle.parallel=true -Dkotlin.incremental=false -Dorg.gradle.project.kotlin.incremental.multiplatform=false -Dorg.gradle.project.kotlin.native.disableCompilerDaemon=true -Dorg.gradle.jvmargs="-Xmx12g -Dfile.encoding=UTF-8"
2 changes: 2 additions & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ VERSION_NAME=5.0.1
# Silence the compile warning that MPP is experimental
kotlin.mpp.stability.nowarn=true

# Enable experimental cross compilation
kotlin.native.enableKlibsCrossCompilation=true

# gradle-maven-publish configuration
SONATYPE_HOST=DEFAULT
Expand Down
8 changes: 4 additions & 4 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[versions]
kotlin = "2.1.0"
coroutines = "1.8.1"
mordant = "3.0.0"
coroutines = "1.9.0"
mordant = "3.0.1"

[libraries]
mordant = {module = "com.github.ajalt.mordant:mordant", version.ref = "mordant"}
Expand All @@ -10,7 +10,7 @@ mordant-markdown = {module = "com.github.ajalt.mordant:mordant-markdown", versio
# used in tests
coroutines-core = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-core", version.ref = "coroutines" }
coroutines-test = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-test", version.ref = "coroutines" }
kotest = "io.kotest:kotest-assertions-core:5.9.0"
kotest = "io.kotest:kotest-assertions-core:5.9.1"
systemrules = "com.github.stefanbirkner:system-rules:1.19.0"
jimfs = "com.google.jimfs:jimfs:1.3.0"

Expand All @@ -20,5 +20,5 @@ kotlinx-serialization = "org.jetbrains.kotlinx:kotlinx-serialization-json:1.6.2"

[plugins]
dokka = "org.jetbrains.dokka:1.9.20"
publish = "com.vanniktech.maven.publish:0.28.0"
publish = "com.vanniktech.maven.publish:0.30.0"
kotlinBinaryCompatibilityValidator = "org.jetbrains.kotlinx.binary-compatibility-validator:0.16.3"

0 comments on commit 9b77c1c

Please sign in to comment.