Skip to content

Commit b1e8420

Browse files
committed
Use released version of github-workflows-kt
1 parent 9b3213e commit b1e8420

2 files changed

Lines changed: 6 additions & 10 deletions

File tree

.github/workflows/build.main.kts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#!/usr/bin/env kotlin
2-
// TODO: stop using the snapshot once 'checkoutActionVersion' feature is released
3-
@file:Repository("https://central.sonatype.com/repository/maven-snapshots/")
4-
@file:DependsOn("io.github.typesafegithub:github-workflows-kt:3.6.1-SNAPSHOT")
2+
@file:Repository("https://repo1.maven.org/maven2/")
3+
@file:DependsOn("io.github.typesafegithub:github-workflows-kt:3.7.0")
54

65
@file:Repository("https://bindings.krzeminski.it")
76
@file:DependsOn("actions:checkout:v6")
@@ -27,7 +26,7 @@ workflow(
2726
PullRequest(),
2827
),
2928
consistencyCheckJobConfig = DEFAULT_CONSISTENCY_CHECK_JOB_CONFIG.copy(
30-
checkoutActionVersion = CheckoutActionVersionSource.InferredFromClasspath,
29+
checkoutActionVersion = CheckoutActionVersionSource.InferFromClasspath(),
3130
),
3231
sourceFile = __FILE__,
3332
) {

.github/workflows/release.main.kts

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
#!/usr/bin/env kotlin
2-
// TODO: stop using the snapshot once 'checkoutActionVersion' feature is released
3-
@file:Repository("https://central.sonatype.com/repository/maven-snapshots/")
4-
@file:DependsOn("io.github.typesafegithub:github-workflows-kt:3.6.1-SNAPSHOT")
5-
62
@file:Repository("https://repo1.maven.org/maven2/")
3+
@file:DependsOn("io.github.typesafegithub:github-workflows-kt:3.7.0")
74
@file:DependsOn("org.jetbrains.kotlinx:kotlinx-serialization-json:1.9.0")
85

96
@file:Repository("https://bindings.krzeminski.it")
@@ -40,7 +37,7 @@ workflow(
4037
),
4138
),
4239
consistencyCheckJobConfig = DEFAULT_CONSISTENCY_CHECK_JOB_CONFIG.copy(
43-
checkoutActionVersion = CheckoutActionVersionSource.InferredFromClasspath,
40+
checkoutActionVersion = CheckoutActionVersionSource.InferFromClasspath(),
4441
),
4542
sourceFile = __FILE__,
4643
) {
@@ -107,7 +104,7 @@ workflow(
107104
WorkflowDispatch(),
108105
),
109106
consistencyCheckJobConfig = DEFAULT_CONSISTENCY_CHECK_JOB_CONFIG.copy(
110-
checkoutActionVersion = CheckoutActionVersionSource.InferredFromClasspath,
107+
checkoutActionVersion = CheckoutActionVersionSource.InferFromClasspath(),
111108
),
112109
sourceFile = __FILE__,
113110
targetFileName = "make-branch-runnable.yaml",

0 commit comments

Comments
 (0)