File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ import io.github.typesafegithub.workflows.actions.actions.Checkout
1717import io.github.typesafegithub.workflows.actions.actions.SetupJava
1818import io.github.typesafegithub.workflows.actions.gradle.ActionsSetupGradle
1919import 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
2121import io.github.typesafegithub.workflows.domain.triggers.PullRequest
2222import io.github.typesafegithub.workflows.domain.triggers.Push
2323import io.github.typesafegithub.workflows.dsl.expressions.Contexts
@@ -38,7 +38,7 @@ workflow(
3838 ),
3939 sourceFile = __FILE__ ,
4040) {
41- listOf (UbuntuLatest , Windows2022 ).forEach { runnerType ->
41+ listOf (UbuntuLatest , WindowsLatest ).forEach { runnerType ->
4242 job(
4343 id = " build-for-${runnerType::class .simpleName} " ,
4444 runsOn = runnerType,
Original file line number Diff line number Diff line change 6666 env :
6767 GITHUB_TOKEN : ' ${{ secrets.GITHUB_TOKEN }}'
6868 run : ' ./gradlew build'
69- build-for-Windows2022 :
70- runs-on : ' windows-2022 '
69+ build-for-WindowsLatest :
70+ runs-on : ' windows-latest '
7171 needs :
7272 - ' check_yaml_consistency'
7373 steps :
You can’t perform that action at this time.
0 commit comments