File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ import io.github.typesafegithub.workflows.actions.actions.Checkout
17
17
import io.github.typesafegithub.workflows.actions.actions.SetupJava
18
18
import io.github.typesafegithub.workflows.actions.gradle.ActionsSetupGradle
19
19
import io.github.typesafegithub.workflows.domain.RunnerType.UbuntuLatest
20
- import io.github.typesafegithub.workflows.domain.RunnerType.Windows2022
20
+ import io.github.typesafegithub.workflows.domain.RunnerType.WindowsLatest
21
21
import io.github.typesafegithub.workflows.domain.triggers.PullRequest
22
22
import io.github.typesafegithub.workflows.domain.triggers.Push
23
23
import io.github.typesafegithub.workflows.dsl.expressions.Contexts
@@ -38,7 +38,7 @@ workflow(
38
38
),
39
39
sourceFile = __FILE__ ,
40
40
) {
41
- listOf (UbuntuLatest , Windows2022 ).forEach { runnerType ->
41
+ listOf (UbuntuLatest , WindowsLatest ).forEach { runnerType ->
42
42
job(
43
43
id = " build-for-${runnerType::class .simpleName} " ,
44
44
runsOn = runnerType,
Original file line number Diff line number Diff line change 66
66
env :
67
67
GITHUB_TOKEN : ' ${{ secrets.GITHUB_TOKEN }}'
68
68
run : ' ./gradlew build'
69
- build-for-Windows2022 :
70
- runs-on : ' windows-2022 '
69
+ build-for-WindowsLatest :
70
+ runs-on : ' windows-latest '
71
71
needs :
72
72
- ' check_yaml_consistency'
73
73
steps :
You can’t perform that action at this time.
0 commit comments