Skip to content

Commit

Permalink
chore: Also publish on github packages
Browse files Browse the repository at this point in the history
  • Loading branch information
bric3 committed Mar 26, 2024
1 parent 49dbd89 commit b655415
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions build-logic/src/main/kotlin/fireplace.maven-publication.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -77,17 +77,17 @@ publishing {
}
}

// if (isGithubRelease) {
// logger.lifecycle("Publishing to GitHubPackages")
// maven {
// name = "GitHubPackages"
// url = uri("https://maven.pkg.github.com/bric3/fireplace")
// credentials {
// username = providers.environmentVariable("GITHUB_USER").get()
// password = providers.environmentVariable("GITHUB_TOKEN").get()
// }
// }
// }
if (isGithubRelease) {
logger.lifecycle("Publishing to GitHubPackages")
maven {
name = "GitHubPackages"
url = uri("https://maven.pkg.github.com/bric3/fireplace")
credentials {
username = providers.environmentVariable("GITHUB_USER").get()
password = providers.environmentVariable("GITHUB_TOKEN").get()
}
}
}
} else {
maven {
name = "build-dir"
Expand Down

0 comments on commit b655415

Please sign in to comment.