File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed
Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 11#! / usr/ bin/ env kotlin
2- @file:DependsOn(" it.krzeminski:github-actions-kotlin-dsl:0.33.0 " )
2+ @file:DependsOn(" it.krzeminski:github-actions-kotlin-dsl:0.34.1 " )
33
44import it.krzeminski.githubactions.actions.actions.CheckoutV3
55import it.krzeminski.githubactions.actions.gradle.GradleBuildActionV2
Original file line number Diff line number Diff line change 1616 name : Check out
1717 uses : actions/checkout@v3
1818 - id : step-1
19+ name : Set up Java in proper version
20+ uses : actions/setup-java@v3
21+ with :
22+ java-version : 17
23+ distribution : zulu
24+ cache : gradle
25+ - id : step-2
1926 name : Execute script
2027 run : rm '.github/workflows/build.yaml' && '.github/workflows/build.main.kts'
21- - id : step-2
28+ - id : step-3
2229 name : Consistency check
2330 run : git diff --exit-code '.github/workflows/build.yaml'
2431 build :
You can’t perform that action at this time.
0 commit comments