Skip to content

Commit e739aeb

Browse files
Fix workflows and update bundle (#187)
Things got broken because the consistency check job wasn't set as required. This PR fixes any inconsistencies. --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent db96e98 commit e739aeb

File tree

5 files changed

+4
-6
lines changed

5 files changed

+4
-6
lines changed

.github/workflows/build.main.kts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,14 @@ import io.github.typesafegithub.workflows.domain.RunnerType
1616
import io.github.typesafegithub.workflows.domain.triggers.PullRequest
1717
import io.github.typesafegithub.workflows.domain.triggers.Push
1818
import io.github.typesafegithub.workflows.dsl.workflow
19-
import io.github.typesafegithub.workflows.yaml.writeToFile
2019

2120
workflow(
2221
name = "Build",
2322
on = listOf(
2423
Push(branches = listOf("main")),
2524
PullRequest(),
2625
),
27-
sourceFile = __FILE__.toPath(),
26+
sourceFile = __FILE__,
2827
) {
2928
job(
3029
id = "build",
@@ -102,4 +101,4 @@ workflow(
102101
command = "git diff --exit-code .",
103102
)
104103
}
105-
}.writeToFile()
104+
}

.github/workflows/update-dist.main.kts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,13 @@ import io.github.typesafegithub.workflows.actions.gradle.ActionsSetupGradle
1111
import io.github.typesafegithub.workflows.domain.RunnerType
1212
import io.github.typesafegithub.workflows.domain.triggers.WorkflowDispatch
1313
import io.github.typesafegithub.workflows.dsl.workflow
14-
import io.github.typesafegithub.workflows.yaml.writeToFile
1514

1615
workflow(
1716
name = "Update dist",
1817
on = listOf(
1918
WorkflowDispatch(),
2019
),
21-
sourceFile = __FILE__.toPath(),
20+
sourceFile = __FILE__,
2221
) {
2322
job(
2423
id = "build",
@@ -60,4 +59,4 @@ workflow(
6059
command = "git push",
6160
)
6261
}
63-
}.writeToFile()
62+
}
-595 Bytes
Binary file not shown.
-1.64 MB
Binary file not shown.
1.65 MB
Binary file not shown.

0 commit comments

Comments
 (0)