-
-
Save krzema12/1be7be50c1f6fd0465f98f61c303c44e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env kotlin | |
@file:DependsOn("it.krzeminski:github-actions-kotlin-dsl:0.31.0") | |
// imports... | |
workflow( | |
name = "Build", | |
on = listOf(Push(branches = listOf("main"))), | |
sourceFile = __FILE__.toPath(), | |
) { | |
job( | |
id = "build", | |
runsOn = UbuntuLatest, | |
) { | |
uses(CheckoutV3()) | |
uses(GradleBuildActionV2(arguments = "build")) | |
} | |
}.writeToFile() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment