Skip to content

Commit a1f2c38

Browse files
committed
[Gradle Release Plugin] - pre tag commit: 'v3.1.2'.
2 parents 6f87de3 + 9114dfc commit a1f2c38

19 files changed

+1022
-109
lines changed

.github/workflows/check-action-typing.main.kts

+8-5
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env kotlin
22

33
/*
4-
* Copyright 2020-2023 Björn Kautler
4+
* Copyright 2020-2024 Björn Kautler
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.
@@ -17,9 +17,12 @@
1717
*/
1818

1919
@file:Import("workflow-with-copyright.main.kts")
20+
@file:Repository("https://bindings.krzeminski.it/")
21+
@file:DependsOn("actions:checkout:v4")
22+
@file:DependsOn("typesafegithub:github-actions-typing:v1")
2023

21-
import io.github.typesafegithub.workflows.actions.actions.CheckoutV3
22-
import io.github.typesafegithub.workflows.actions.typesafegithub.GithubActionsTypingV1
24+
import io.github.typesafegithub.workflows.actions.actions.Checkout
25+
import io.github.typesafegithub.workflows.actions.typesafegithub.GithubActionsTyping
2326
import io.github.typesafegithub.workflows.domain.RunnerType.UbuntuLatest
2427
import io.github.typesafegithub.workflows.domain.triggers.PullRequest
2528
import io.github.typesafegithub.workflows.domain.triggers.Push
@@ -43,11 +46,11 @@ workflowWithCopyright(
4346
)
4447
uses(
4548
name = "Checkout",
46-
action = CheckoutV3()
49+
action = Checkout()
4750
)
4851
uses(
4952
name = "Check Action Typing",
50-
action = GithubActionsTypingV1()
53+
action = GithubActionsTyping()
5154
)
5255
}
5356
}

.github/workflows/check-action-typing.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2020-2023 Björn Kautler
1+
# Copyright 2020-2024 Björn Kautler
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.
@@ -45,7 +45,7 @@ jobs:
4545
run: 'git config --global core.autocrlf input'
4646
- id: 'step-1'
4747
name: 'Checkout'
48-
uses: 'actions/checkout@v3'
48+
uses: 'actions/checkout@v4'
4949
- id: 'step-2'
5050
name: 'Check Action Typing'
5151
uses: 'typesafegithub/github-actions-typing@v1'

.github/workflows/check-dependency-versions.main.kts

+12-8
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env kotlin
22

33
/*
4-
* Copyright 2020-2023 Björn Kautler
4+
* Copyright 2020-2024 Björn Kautler
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.
@@ -17,11 +17,15 @@
1717
*/
1818

1919
@file:Import("workflow-with-copyright.main.kts")
20+
@file:Repository("https://bindings.krzeminski.it/")
21+
@file:DependsOn("actions:checkout:v4")
22+
@file:DependsOn("actions:setup-java:v4")
23+
@file:DependsOn("burrunan:gradle-cache-action:v1")
2024

21-
import io.github.typesafegithub.workflows.actions.actions.CheckoutV3
22-
import io.github.typesafegithub.workflows.actions.actions.SetupJavaV3
23-
import io.github.typesafegithub.workflows.actions.actions.SetupJavaV3.Distribution.Temurin
24-
import io.github.typesafegithub.workflows.actions.burrunan.GradleCacheActionV1
25+
import io.github.typesafegithub.workflows.actions.actions.Checkout
26+
import io.github.typesafegithub.workflows.actions.actions.SetupJava
27+
import io.github.typesafegithub.workflows.actions.actions.SetupJava.Distribution.Temurin
28+
import io.github.typesafegithub.workflows.actions.burrunan.GradleCacheAction
2529
import io.github.typesafegithub.workflows.domain.RunnerType.WindowsLatest
2630
import io.github.typesafegithub.workflows.domain.triggers.Cron
2731
import io.github.typesafegithub.workflows.domain.triggers.Schedule
@@ -52,18 +56,18 @@ workflowWithCopyright(
5256
)
5357
uses(
5458
name = "Checkout",
55-
action = CheckoutV3()
59+
action = Checkout()
5660
)
5761
uses(
5862
name = "Setup Java 11",
59-
action = SetupJavaV3(
63+
action = SetupJava(
6064
javaVersion = "11",
6165
distribution = Temurin
6266
)
6367
)
6468
uses(
6569
name = "Check Dependency Versions",
66-
action = GradleCacheActionV1(
70+
action = GradleCacheAction(
6771
arguments = listOf("--show-version", "dependencyUpdates"),
6872
debug = false,
6973
concurrent = true

.github/workflows/check-dependency-versions.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2020-2023 Björn Kautler
1+
# Copyright 2020-2024 Björn Kautler
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.
@@ -45,10 +45,10 @@ jobs:
4545
run: 'git config --global core.autocrlf input'
4646
- id: 'step-1'
4747
name: 'Checkout'
48-
uses: 'actions/checkout@v3'
48+
uses: 'actions/checkout@v4'
4949
- id: 'step-2'
5050
name: 'Setup Java 11'
51-
uses: 'actions/setup-java@v3'
51+
uses: 'actions/setup-java@v4'
5252
with:
5353
java-version: '11'
5454
distribution: 'temurin'

0 commit comments

Comments
 (0)