Added actions to build prs and upload artifacts

This commit is contained in:
yueh
2020-06-09 13:34:48 +02:00
parent ddd51c419c
commit 962bd3af32
2 changed files with 39 additions and 0 deletions
+8
View File
@@ -52,7 +52,15 @@ tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
// Create version number
version = version_major + "." + version_minor + "." + version_patch
ext.prNumber = System.getenv('PR_NUMBER') ?: false
if (ext.prNumber) {
version = version + "+pr." + ext.prNumber
}
// Maven group and artifact name
group = artifact_group
archivesBaseName = artifact_basename