mirror of
https://github.com/apple/pkl.git
synced 2026-07-09 06:25:16 +02:00
Bump pkl.impl.ghactions to 1.0.1 (#1358)
This commit is contained in:
@@ -2,9 +2,8 @@ abstract module GradleJob
|
||||
|
||||
extends "PklJob.pkl"
|
||||
|
||||
import "@gha/actions/Common.pkl"
|
||||
import "@gha/actions/Setup.pkl"
|
||||
import "@gha/Workflow.pkl"
|
||||
import "@gha/catalog.pkl"
|
||||
|
||||
/// Whether this is a release build or not.
|
||||
isRelease: Boolean = false
|
||||
@@ -21,9 +20,9 @@ nightlyMacOS: Boolean(implies(os == "macOS")) = false
|
||||
|
||||
extraGradleArgs: Listing<String>
|
||||
|
||||
steps: Listing<*Workflow.Step | Workflow.TypedStep>
|
||||
steps: Listing<Workflow.Step>
|
||||
|
||||
preSteps: Listing<*Workflow.Step | Workflow.TypedStep>
|
||||
preSteps: Listing<Workflow.Step>
|
||||
|
||||
/// The fetch depth to use when doing a git checkout.
|
||||
fetchDepth: Int?
|
||||
@@ -73,14 +72,14 @@ fixed job {
|
||||
steps {
|
||||
...preSteps
|
||||
// full checkout (needed for spotless)
|
||||
new Common.Checkout {
|
||||
(catalog.`actions/checkout@v6`) {
|
||||
when (fetchDepth != null) {
|
||||
with {
|
||||
`fetch-depth` = fetchDepth
|
||||
}
|
||||
}
|
||||
}
|
||||
new Setup.Java {
|
||||
(catalog.`actions/setup-java@v5`) {
|
||||
with {
|
||||
`java-version` = "21"
|
||||
distribution = "temurin"
|
||||
|
||||
Reference in New Issue
Block a user