Skip to content

Commit

Permalink
Updated
Browse files Browse the repository at this point in the history
  • Loading branch information
cloudshiftchris committed Jul 16, 2023
1 parent bd41951 commit 498c041
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/publish.main.kts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ import io.github.typesafegithub.workflows.yaml.writeToFile

workflow(
name = "Publish Kotlin AWS CDK DSL to Maven Central",
on = listOf(Push(tags = listOf("*"))),
// on = listOf(Push(tags = listOf("*"))),
on = listOf(Push()),
sourceFile = __FILE__.toPath(),
env = linkedMapOf(
"ORG_GRADLE_PROJECT_signingKey" to expr("secrets.SIGNING_KEY"),
Expand All @@ -23,7 +24,7 @@ workflow(
"ORG_GRADLE_PROJECT_sonatypePassword" to expr("secrets.SONATYPEPASSWORD"),
),
) {
job(id = "build", runsOn = RunnerType.Labelled("Large_Runner")) {
job(id = "build", runsOn = UbuntuLatest) {
uses(name = "checkout", action = CheckoutV3())
uses(name = "build", action = GradleBuildActionV2(
gradleVersion = "wrapper",
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ jobs:
name: 'Consistency check'
run: 'git diff --exit-code ''.github/workflows/publish.yaml'''
build:
runs-on:
- 'Large_Runner'
runs-on: 'ubuntu-latest'
needs:
- 'check_yaml_consistency'
steps:
Expand Down

0 comments on commit 498c041

Please sign in to comment.