Skip to content

Commit

Permalink
Update github-actions-kotlin-dsl to 0.40.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Vampire committed Apr 2, 2023
1 parent 7a220b6 commit aedef2f
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 26 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/check-dependency-versions.main.kts
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,7 @@ workflowWithCopyright(
Cron(
minute = "0",
hour = "0",
// work-around for https://github.com/krzema12/github-workflows-kt/issues/642
// use FRI after the issue is fixed
dayWeek = "5"
dayWeek = "FRI"
)
)
)
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-dependency-versions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
name: Check Dependency Versions
on:
schedule:
- cron: 0 0 * * 5
- cron: 0 0 * * FRI
jobs:
check_yaml_consistency:
name: Check YAML consistency
Expand Down
21 changes: 0 additions & 21 deletions .github/workflows/test.main.kts
Original file line number Diff line number Diff line change
Expand Up @@ -1070,24 +1070,3 @@ val Step.successNotOnUbuntu2204Condition
""".trimIndent()

val Step.outcome get() = "steps.$id.outcome"

// work-around for https://github.com/krzema12/github-workflows-kt/issues/640
fun SetupWslV1.copy(
distribution: Distribution? = null,
useCache: Boolean? = null,
wslConf: String? = null,
setAsDefault: Boolean? = null,
update: Boolean? = null,
additionalPackages: List<String>? = null,
wslShellUser: String? = null,
wslShellCommand: String? = null
) = SetupWslV1(
distribution = distribution ?: this.distribution,
useCache = useCache ?: this.useCache,
wslConf = wslConf ?: this.wslConf,
setAsDefault = setAsDefault ?: this.setAsDefault,
update = update ?: this.update,
additionalPackages = additionalPackages ?: this.additionalPackages,
wslShellUser = wslShellUser ?: this.wslShellUser,
wslShellCommand = wslShellCommand ?: this.wslShellCommand
)
2 changes: 1 addition & 1 deletion .github/workflows/workflow-with-copyright.main.kts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

@file:DependsOn("it.krzeminski:github-actions-kotlin-dsl:0.37.0")
@file:DependsOn("it.krzeminski:github-actions-kotlin-dsl:0.40.0")

import it.krzeminski.githubactions.domain.Concurrency
import it.krzeminski.githubactions.domain.triggers.Trigger
Expand Down

0 comments on commit aedef2f

Please sign in to comment.