@ondeinference / onde / commits / 6e27fd3

Fix Kotlin release workflow runner

Seto Elkahfi committed May 15, 2026 at 03:00 UTC 6e27fd377cfef915d778aac1b0d06c4ee03d29fa
1 file changed +8 -3
.github/workflows/release-sdk-kotlin.yml
+8 -3
@@ -5,6 +5,11 @@ on:
5 tags:
6 - "[0-9]+.[0-9]+.[0-9]+"
7 workflow_dispatch:
8 + inputs:
9 + publish:
10 + description: "Publish 1.1.0 artifacts to Maven Central from the selected ref"
11 + type: boolean
12 + default: false
13
14 permissions:
15 contents: write
@@ -12,7 +17,7 @@ permissions:
17 jobs:
18 publish:
19 name: Build and publish KMP library to Maven Central
15 - runs-on: macos-15
20 + runs-on: macos-26
21
22 env:
23 GRESIQ_API_KEY_DEV: ${{ secrets.GRESIQ_API_KEY_DEV }}
@@ -133,8 +138,8 @@ jobs:
138 working-directory: sdk/kotlin
139 run: ./gradlew :lib:publishToMavenCentral --dry-run --no-configuration-cache
140
136 - - name: Publish and release to Maven Central (tag push only)
137 - if: startsWith(github.ref, 'refs/tags/')
141 + - name: Publish and release to Maven Central (tag push or manual publish)
142 + if: startsWith(github.ref, 'refs/tags/') || (github.event_name == 'workflow_dispatch' && inputs.publish)
143 working-directory: sdk/kotlin
144 env:
145 ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.ORG_GRADLE_PROJECT_MAVENCENTRALUSERNAME }}