Skip to content

Commit

Permalink
[Gradle Release Plugin] - pre tag commit: 'v3.1.2'.
Browse files Browse the repository at this point in the history
  • Loading branch information
Vampire committed Oct 18, 2024
2 parents 6f87de3 + 9114dfc commit a1f2c38
Show file tree
Hide file tree
Showing 19 changed files with 1,022 additions and 109 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/check-action-typing.main.kts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env kotlin

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

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

import io.github.typesafegithub.workflows.actions.actions.CheckoutV3
import io.github.typesafegithub.workflows.actions.typesafegithub.GithubActionsTypingV1
import io.github.typesafegithub.workflows.actions.actions.Checkout
import io.github.typesafegithub.workflows.actions.typesafegithub.GithubActionsTyping
import io.github.typesafegithub.workflows.domain.RunnerType.UbuntuLatest
import io.github.typesafegithub.workflows.domain.triggers.PullRequest
import io.github.typesafegithub.workflows.domain.triggers.Push
Expand All @@ -43,11 +46,11 @@ workflowWithCopyright(
)
uses(
name = "Checkout",
action = CheckoutV3()
action = Checkout()
)
uses(
name = "Check Action Typing",
action = GithubActionsTypingV1()
action = GithubActionsTyping()
)
}
}
4 changes: 2 additions & 2 deletions .github/workflows/check-action-typing.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2020-2023 Björn Kautler
# Copyright 2020-2024 Björn Kautler
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -45,7 +45,7 @@ jobs:
run: 'git config --global core.autocrlf input'
- id: 'step-1'
name: 'Checkout'
uses: 'actions/checkout@v3'
uses: 'actions/checkout@v4'
- id: 'step-2'
name: 'Check Action Typing'
uses: 'typesafegithub/github-actions-typing@v1'
20 changes: 12 additions & 8 deletions .github/workflows/check-dependency-versions.main.kts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env kotlin

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

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

import io.github.typesafegithub.workflows.actions.actions.CheckoutV3
import io.github.typesafegithub.workflows.actions.actions.SetupJavaV3
import io.github.typesafegithub.workflows.actions.actions.SetupJavaV3.Distribution.Temurin
import io.github.typesafegithub.workflows.actions.burrunan.GradleCacheActionV1
import io.github.typesafegithub.workflows.actions.actions.Checkout
import io.github.typesafegithub.workflows.actions.actions.SetupJava
import io.github.typesafegithub.workflows.actions.actions.SetupJava.Distribution.Temurin
import io.github.typesafegithub.workflows.actions.burrunan.GradleCacheAction
import io.github.typesafegithub.workflows.domain.RunnerType.WindowsLatest
import io.github.typesafegithub.workflows.domain.triggers.Cron
import io.github.typesafegithub.workflows.domain.triggers.Schedule
Expand Down Expand Up @@ -52,18 +56,18 @@ workflowWithCopyright(
)
uses(
name = "Checkout",
action = CheckoutV3()
action = Checkout()
)
uses(
name = "Setup Java 11",
action = SetupJavaV3(
action = SetupJava(
javaVersion = "11",
distribution = Temurin
)
)
uses(
name = "Check Dependency Versions",
action = GradleCacheActionV1(
action = GradleCacheAction(
arguments = listOf("--show-version", "dependencyUpdates"),
debug = false,
concurrent = true
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/check-dependency-versions.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2020-2023 Björn Kautler
# Copyright 2020-2024 Björn Kautler
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -45,10 +45,10 @@ jobs:
run: 'git config --global core.autocrlf input'
- id: 'step-1'
name: 'Checkout'
uses: 'actions/checkout@v3'
uses: 'actions/checkout@v4'
- id: 'step-2'
name: 'Setup Java 11'
uses: 'actions/setup-java@v3'
uses: 'actions/setup-java@v4'
with:
java-version: '11'
distribution: 'temurin'
Expand Down
Loading

0 comments on commit a1f2c38

Please sign in to comment.