File tree 2 files changed +9
-2
lines changed
2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 1
1
#! / 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 " )
3
3
4
4
import it.krzeminski.githubactions.actions.actions.CheckoutV3
5
5
import it.krzeminski.githubactions.actions.gradle.GradleBuildActionV2
Original file line number Diff line number Diff line change 16
16
name : Check out
17
17
uses : actions/checkout@v3
18
18
- 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
19
26
name : Execute script
20
27
run : rm '.github/workflows/build.yaml' && '.github/workflows/build.main.kts'
21
- - id : step-2
28
+ - id : step-3
22
29
name : Consistency check
23
30
run : git diff --exit-code '.github/workflows/build.yaml'
24
31
build :
You can’t perform that action at this time.
0 commit comments