From 2ba2c8966ab07389562cf5c74980a403225656bb Mon Sep 17 00:00:00 2001 From: Jake Smith Date: Fri, 23 Jun 2023 13:16:40 +0100 Subject: [PATCH 01/10] Split off 9.0.20 Signed-off-by: Jake Smith --- commons-hpcc/pom.xml | 2 +- dfsclient/pom.xml | 2 +- pom.xml | 2 +- wsclient/pom.xml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/commons-hpcc/pom.xml b/commons-hpcc/pom.xml index 7f8e05b7a..77be53468 100644 --- a/commons-hpcc/pom.xml +++ b/commons-hpcc/pom.xml @@ -9,7 +9,7 @@ org.hpccsystems hpcc4j - 9.0.19-0-SNAPSHOT + 9.0.21-0-SNAPSHOT diff --git a/dfsclient/pom.xml b/dfsclient/pom.xml index 615e202ff..cb1993746 100644 --- a/dfsclient/pom.xml +++ b/dfsclient/pom.xml @@ -9,7 +9,7 @@ org.hpccsystems hpcc4j - 9.0.19-0-SNAPSHOT + 9.0.21-0-SNAPSHOT diff --git a/pom.xml b/pom.xml index 7d56e9c34..37d3b2c17 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 org.hpccsystems hpcc4j - 9.0.19-0-SNAPSHOT + 9.0.21-0-SNAPSHOT pom HPCC Systems Java Projects https://hpccsystems.com diff --git a/wsclient/pom.xml b/wsclient/pom.xml index 1bb4feaf8..16266ce42 100644 --- a/wsclient/pom.xml +++ b/wsclient/pom.xml @@ -9,7 +9,7 @@ org.hpccsystems hpcc4j - 9.0.19-0-SNAPSHOT + 9.0.21-0-SNAPSHOT From a08e523644a90030c71592561ba84704ae2c8b61 Mon Sep 17 00:00:00 2001 From: Gordon Smith Date: Thu, 29 Jun 2023 17:40:59 +0100 Subject: [PATCH 02/10] Split off 9.0.22 Signed-off-by: Gordon Smith --- commons-hpcc/pom.xml | 2 +- dfsclient/pom.xml | 2 +- pom.xml | 2 +- wsclient/pom.xml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/commons-hpcc/pom.xml b/commons-hpcc/pom.xml index 77be53468..07ccb93b2 100644 --- a/commons-hpcc/pom.xml +++ b/commons-hpcc/pom.xml @@ -9,7 +9,7 @@ org.hpccsystems hpcc4j - 9.0.21-0-SNAPSHOT + 9.0.23-0-SNAPSHOT diff --git a/dfsclient/pom.xml b/dfsclient/pom.xml index cb1993746..a1fc78977 100644 --- a/dfsclient/pom.xml +++ b/dfsclient/pom.xml @@ -9,7 +9,7 @@ org.hpccsystems hpcc4j - 9.0.21-0-SNAPSHOT + 9.0.23-0-SNAPSHOT diff --git a/pom.xml b/pom.xml index 37d3b2c17..5d3fdb553 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 org.hpccsystems hpcc4j - 9.0.21-0-SNAPSHOT + 9.0.23-0-SNAPSHOT pom HPCC Systems Java Projects https://hpccsystems.com diff --git a/wsclient/pom.xml b/wsclient/pom.xml index 16266ce42..cb788c41b 100644 --- a/wsclient/pom.xml +++ b/wsclient/pom.xml @@ -9,7 +9,7 @@ org.hpccsystems hpcc4j - 9.0.21-0-SNAPSHOT + 9.0.23-0-SNAPSHOT From 6eb4675cd57e0ff050ccd65268bae30077df1308 Mon Sep 17 00:00:00 2001 From: James McMullan Date: Fri, 30 Jun 2023 17:26:06 -0400 Subject: [PATCH 03/10] JAPI-519 DFSClient: BinaryRecordWriter improve float conversions (#619) - Added additional Real type conversions Signed-off-by: James McMullan James.McMullan@lexisnexis.com Signed-off-by: James McMullan James.McMullan@lexisnexis.com --- .../dfs/client/BinaryRecordWriter.java | 28 ++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/dfsclient/src/main/java/org/hpccsystems/dfs/client/BinaryRecordWriter.java b/dfsclient/src/main/java/org/hpccsystems/dfs/client/BinaryRecordWriter.java index 313bad5df..8855c622a 100644 --- a/dfsclient/src/main/java/org/hpccsystems/dfs/client/BinaryRecordWriter.java +++ b/dfsclient/src/main/java/org/hpccsystems/dfs/client/BinaryRecordWriter.java @@ -415,10 +415,36 @@ else if (fd.getDataLen() < 8 && fd.getDataLen() > 0) { value = (Double) fieldValue; } - else if (fieldValue instanceof Integer) + else if (fieldValue instanceof Float) { value = ((Float) fieldValue).doubleValue(); } + else if (fieldValue instanceof Integer) + { + value = ((Integer) fieldValue).doubleValue(); + } + else if (fieldValue instanceof Long) + { + value = ((Long) fieldValue).doubleValue(); + } + else if (fieldValue instanceof BigInteger) + { + value = ((BigInteger) fieldValue).doubleValue(); + messages.addMessage("Warning: Potential loss of precision converting BigInteger to Double", fd.getFieldName()); + } + else if (fieldValue instanceof BigDecimal) + { + value = ((BigDecimal) fieldValue).doubleValue(); + messages.addMessage("Warning: Potential loss of precision converting BigDecimal to Double", fd.getFieldName()); + } + else if (fieldValue instanceof Short) + { + value = ((Short) fieldValue).doubleValue(); + } + else if (fieldValue instanceof Byte) + { + value = ((Byte) fieldValue).doubleValue(); + } if (fd.getDataLen() == 4) { From 1e269baf46c99bdce1e3cb1af32443fca88f1048 Mon Sep 17 00:00:00 2001 From: Jake Smith Date: Thu, 6 Jul 2023 17:08:43 +0100 Subject: [PATCH 04/10] Split off 9.0.24 Signed-off-by: Jake Smith --- commons-hpcc/pom.xml | 2 +- dfsclient/pom.xml | 2 +- pom.xml | 2 +- wsclient/pom.xml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/commons-hpcc/pom.xml b/commons-hpcc/pom.xml index 07ccb93b2..fd683a284 100644 --- a/commons-hpcc/pom.xml +++ b/commons-hpcc/pom.xml @@ -9,7 +9,7 @@ org.hpccsystems hpcc4j - 9.0.23-0-SNAPSHOT + 9.0.25-0-SNAPSHOT diff --git a/dfsclient/pom.xml b/dfsclient/pom.xml index a1fc78977..90904f990 100644 --- a/dfsclient/pom.xml +++ b/dfsclient/pom.xml @@ -9,7 +9,7 @@ org.hpccsystems hpcc4j - 9.0.23-0-SNAPSHOT + 9.0.25-0-SNAPSHOT diff --git a/pom.xml b/pom.xml index 5d3fdb553..10072224b 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 org.hpccsystems hpcc4j - 9.0.23-0-SNAPSHOT + 9.0.25-0-SNAPSHOT pom HPCC Systems Java Projects https://hpccsystems.com diff --git a/wsclient/pom.xml b/wsclient/pom.xml index cb788c41b..5e7dfa988 100644 --- a/wsclient/pom.xml +++ b/wsclient/pom.xml @@ -9,7 +9,7 @@ org.hpccsystems hpcc4j - 9.0.23-0-SNAPSHOT + 9.0.25-0-SNAPSHOT From d01f74b215beb904602f967d4f280341c7fa805b Mon Sep 17 00:00:00 2001 From: Jake Smith Date: Thu, 6 Jul 2023 17:12:41 +0100 Subject: [PATCH 05/10] Split off 9.2.2 Signed-off-by: Jake Smith --- commons-hpcc/pom.xml | 2 +- dfsclient/pom.xml | 2 +- pom.xml | 2 +- wsclient/pom.xml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/commons-hpcc/pom.xml b/commons-hpcc/pom.xml index 77fd36521..75328a89f 100644 --- a/commons-hpcc/pom.xml +++ b/commons-hpcc/pom.xml @@ -9,7 +9,7 @@ org.hpccsystems hpcc4j - 9.2.1-0-SNAPSHOT + 9.2.3-0-SNAPSHOT diff --git a/dfsclient/pom.xml b/dfsclient/pom.xml index bf5f2d56d..b3c8313e7 100644 --- a/dfsclient/pom.xml +++ b/dfsclient/pom.xml @@ -9,7 +9,7 @@ org.hpccsystems hpcc4j - 9.2.1-0-SNAPSHOT + 9.2.3-0-SNAPSHOT diff --git a/pom.xml b/pom.xml index 5feae8d13..c51aab6ef 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 org.hpccsystems hpcc4j - 9.2.1-0-SNAPSHOT + 9.2.3-0-SNAPSHOT pom HPCC Systems Java Projects https://hpccsystems.com diff --git a/wsclient/pom.xml b/wsclient/pom.xml index b9c8cc799..16335535c 100644 --- a/wsclient/pom.xml +++ b/wsclient/pom.xml @@ -9,7 +9,7 @@ org.hpccsystems hpcc4j - 9.2.1-0-SNAPSHOT + 9.2.3-0-SNAPSHOT From b9b35da991f6c0ed016da4650b536d20f15311b8 Mon Sep 17 00:00:00 2001 From: Gordon Smith Date: Thu, 13 Jul 2023 17:18:08 +0100 Subject: [PATCH 06/10] Split off 9.0.26 Signed-off-by: Gordon Smith --- commons-hpcc/pom.xml | 2 +- dfsclient/pom.xml | 2 +- pom.xml | 2 +- wsclient/pom.xml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/commons-hpcc/pom.xml b/commons-hpcc/pom.xml index fd683a284..acfb4759c 100644 --- a/commons-hpcc/pom.xml +++ b/commons-hpcc/pom.xml @@ -9,7 +9,7 @@ org.hpccsystems hpcc4j - 9.0.25-0-SNAPSHOT + 9.0.27-0-SNAPSHOT diff --git a/dfsclient/pom.xml b/dfsclient/pom.xml index 90904f990..a5913361d 100644 --- a/dfsclient/pom.xml +++ b/dfsclient/pom.xml @@ -9,7 +9,7 @@ org.hpccsystems hpcc4j - 9.0.25-0-SNAPSHOT + 9.0.27-0-SNAPSHOT diff --git a/pom.xml b/pom.xml index 10072224b..e37f1cc09 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 org.hpccsystems hpcc4j - 9.0.25-0-SNAPSHOT + 9.0.27-0-SNAPSHOT pom HPCC Systems Java Projects https://hpccsystems.com diff --git a/wsclient/pom.xml b/wsclient/pom.xml index 5e7dfa988..bf97b4963 100644 --- a/wsclient/pom.xml +++ b/wsclient/pom.xml @@ -9,7 +9,7 @@ org.hpccsystems hpcc4j - 9.0.25-0-SNAPSHOT + 9.0.27-0-SNAPSHOT From 44ff5fdd29443b3977bee7840e6b8b3d745ed3d6 Mon Sep 17 00:00:00 2001 From: Gordon Smith Date: Thu, 13 Jul 2023 17:19:30 +0100 Subject: [PATCH 07/10] Split off 9.2.4 Signed-off-by: Gordon Smith --- commons-hpcc/pom.xml | 2 +- dfsclient/pom.xml | 2 +- pom.xml | 2 +- wsclient/pom.xml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/commons-hpcc/pom.xml b/commons-hpcc/pom.xml index 75328a89f..d9f200266 100644 --- a/commons-hpcc/pom.xml +++ b/commons-hpcc/pom.xml @@ -9,7 +9,7 @@ org.hpccsystems hpcc4j - 9.2.3-0-SNAPSHOT + 9.2.5-0-SNAPSHOT diff --git a/dfsclient/pom.xml b/dfsclient/pom.xml index b3c8313e7..ab101af62 100644 --- a/dfsclient/pom.xml +++ b/dfsclient/pom.xml @@ -9,7 +9,7 @@ org.hpccsystems hpcc4j - 9.2.3-0-SNAPSHOT + 9.2.5-0-SNAPSHOT diff --git a/pom.xml b/pom.xml index c51aab6ef..74211b95f 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 org.hpccsystems hpcc4j - 9.2.3-0-SNAPSHOT + 9.2.5-0-SNAPSHOT pom HPCC Systems Java Projects https://hpccsystems.com diff --git a/wsclient/pom.xml b/wsclient/pom.xml index 16335535c..e932ac576 100644 --- a/wsclient/pom.xml +++ b/wsclient/pom.xml @@ -9,7 +9,7 @@ org.hpccsystems hpcc4j - 9.2.3-0-SNAPSHOT + 9.2.5-0-SNAPSHOT From 35a357f36c65d092a5b6e63e0fbfa0b13e4673be Mon Sep 17 00:00:00 2001 From: James McMullan Date: Tue, 18 Jul 2023 11:08:28 -0400 Subject: [PATCH 08/10] HPCC4J-523 Incorrect Java version linking based on JDK (#622) * HPCC4J-523 Incorrect Java version linking based on JDK - Updated POM file to use release configuration - Updated Github actions to use JDK 11 required by release build feature Signed-off-by: James McMullan James.McMullan@lexisnexis.com * Removed redundant javadoc return annotation * Code review changes --------- Signed-off-by: James McMullan James.McMullan@lexisnexis.com --- .github/workflows/BuildTestCandidateAndMaster.yml | 4 ++-- .github/workflows/JAPIPRBuildAction.yml | 7 ++++--- .github/workflows/Nightly.yml | 6 +++--- .github/workflows/httpsUnitTests.yml | 15 ++++++++++----- .github/workflows/javadocTest.yml | 10 +++++----- pom.xml | 6 ++---- .../ws/client/HPCCWsWorkUnitsClient.java | 1 - 7 files changed, 26 insertions(+), 23 deletions(-) diff --git a/.github/workflows/BuildTestCandidateAndMaster.yml b/.github/workflows/BuildTestCandidateAndMaster.yml index af0995bfe..4b9a547f5 100644 --- a/.github/workflows/BuildTestCandidateAndMaster.yml +++ b/.github/workflows/BuildTestCandidateAndMaster.yml @@ -12,10 +12,10 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Set up JDK 1.8 + - name: Set up JDK 11 uses: actions/setup-java@v1 with: - java-version: 1.8 + java-version: 11 # speed things up with caching from https://docs.github.com/en/actions/guides/building-and-testing-java-with-maven - name: Cache Maven packages diff --git a/.github/workflows/JAPIPRBuildAction.yml b/.github/workflows/JAPIPRBuildAction.yml index c77d3c6e7..56d2121c0 100644 --- a/.github/workflows/JAPIPRBuildAction.yml +++ b/.github/workflows/JAPIPRBuildAction.yml @@ -18,10 +18,11 @@ jobs: git config user.name 'hpccsystems development' git rebase origin/${{ github.event.pull_request.base.ref }} git log --pretty=one -n 15 - - name: Set up JDK 1.8 + + - name: Set up JDK 11 uses: actions/setup-java@v1 with: - java-version: 1.8 + java-version: 11 # speed things up with caching from https://docs.github.com/en/actions/guides/building-and-testing-java-with-maven - name: Cache Maven packages @@ -30,6 +31,6 @@ jobs: path: ~/.m2 key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} restore-keys: ${{ runner.os }}-m2 - + - name: Build with Maven run: mvn -B package --file pom.xml diff --git a/.github/workflows/Nightly.yml b/.github/workflows/Nightly.yml index 5010c29d0..6febc3b1e 100644 --- a/.github/workflows/Nightly.yml +++ b/.github/workflows/Nightly.yml @@ -3,7 +3,7 @@ name: hpcc4j Nightly on: schedule: - cron: "0 2 * * 1-5" - + jobs: build: @@ -11,9 +11,9 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Set up JDK 1.8 + - name: Set up JDK 11 uses: actions/setup-java@v1 with: - java-version: 1.8 + java-version: 11 - name: Build with Maven run: mvn -B package --file pom.xml diff --git a/.github/workflows/httpsUnitTests.yml b/.github/workflows/httpsUnitTests.yml index fd3498233..4dd93074b 100644 --- a/.github/workflows/httpsUnitTests.yml +++ b/.github/workflows/httpsUnitTests.yml @@ -14,10 +14,10 @@ jobs: steps: - - name: Setup JDK 1.8 + - name: Setup JDK 11 uses: actions/setup-java@v1 with: - java-version: 1.8 + java-version: 11 - name: Install K8s uses: balchua/microk8s-actions@v0.3.2 @@ -100,14 +100,19 @@ jobs: sudo -- sh -c -e "echo '${{ env.ROWSERVICE_IP }} rowservice.default' >> /etc/hosts"; sudo -- sh -c -e "echo '${{ env.SQL_TO_ECL_IP }} sql2ecl.default' >> /etc/hosts"; + # Notes: + # Using keytool -import -cacerts doesn't work as expected, need to specify the cacerts path explicitly + # Path changed between JDK 8 & 11, Command for JDK 8: + # sudo keytool -import -keystore $JAVA_HOME/jre/lib/security/cacerts -storepass changeit -noprompt -alias eclwatch-tls -file cert.der - name: Trust Certs run: | openssl s_client -showcerts -connect eclwatch.default:8010 < /dev/null | openssl x509 -outform DER > cert.der - sudo keytool -import -keystore $JAVA_HOME/jre/lib/security/cacerts -storepass changeit -noprompt -alias eclwatch-tls -file cert.der + sudo keytool -import -keystore $JAVA_HOME/lib/security/cacerts -storepass changeit -noprompt -alias eclwatch-tls -file cert.der openssl s_client -showcerts -connect rowservice.default:7600 < /dev/null | openssl x509 -outform DER > cert.der - sudo keytool -import -keystore $JAVA_HOME/jre/lib/security/cacerts -storepass changeit -noprompt -alias dafilesrv-tls -file cert.der + sudo keytool -import -keystore $JAVA_HOME/lib/security/cacerts -storepass changeit -noprompt -alias dafilesrv-tls -file cert.der openssl s_client -showcerts -connect sql2ecl.default:8510 < /dev/null | openssl x509 -outform DER > cert.der - sudo keytool -import -keystore $JAVA_HOME/jre/lib/security/cacerts -storepass changeit -noprompt -alias sqltoecl-tls -file cert.der + sudo keytool -import -keystore $JAVA_HOME/lib/security/cacerts -storepass changeit -noprompt -alias sqltoecl-tls -file cert.der + # speed things up with caching from https://docs.github.com/en/actions/guides/building-and-testing-java-with-maven - name: Cache Maven packages diff --git a/.github/workflows/javadocTest.yml b/.github/workflows/javadocTest.yml index 310964a02..8c5df5fa4 100644 --- a/.github/workflows/javadocTest.yml +++ b/.github/workflows/javadocTest.yml @@ -1,6 +1,6 @@ name: Javadoc Test -on: +on: pull_request: branches: - "master" @@ -11,13 +11,13 @@ jobs: runs-on: ubuntu-latest steps: - + - uses: actions/checkout@v2 - - name: Setup JDK 1.8 + - name: Setup JDK 11 uses: actions/setup-java@v1 with: - java-version: 1.8 + java-version: 11 # speed things up with caching from https://docs.github.com/en/actions/guides/building-and-testing-java-with-maven - name: Cache Maven packages @@ -26,6 +26,6 @@ jobs: path: ~/.m2 key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} restore-keys: ${{ runner.os }}-m2 - + - name: Build with Maven run: mvn -B -Dmaven.test.skip=True clean install javadoc:javadoc diff --git a/pom.xml b/pom.xml index 74211b95f..c99095bef 100644 --- a/pom.xml +++ b/pom.xml @@ -31,8 +31,7 @@ UTF-8 3.8.0 - 1.8 - 1.8 + 8 3.1.1 1.6.8 false @@ -203,8 +202,7 @@ maven-compiler-plugin ${maven.compiler.version} - ${maven.compiler.source} - ${maven.compiler.target} + ${maven.compiler.release} ${maven.compiler.groups} ${maven.compiler.excludedGroups} diff --git a/wsclient/src/main/java/org/hpccsystems/ws/client/HPCCWsWorkUnitsClient.java b/wsclient/src/main/java/org/hpccsystems/ws/client/HPCCWsWorkUnitsClient.java index 6f67f28f7..b0e638d2a 100644 --- a/wsclient/src/main/java/org/hpccsystems/ws/client/HPCCWsWorkUnitsClient.java +++ b/wsclient/src/main/java/org/hpccsystems/ws/client/HPCCWsWorkUnitsClient.java @@ -793,7 +793,6 @@ public void publishWU(String wuid) throws Exception * the array of esp exception wrapper * @param wuinfodetailsparams * - workunit info request wrapper - * @return - ECLWorkunit object with information pertaining to the WU * @throws Exception a {@link java.lang.Exception} object. * - Caller must handle exceptions * @throws ArrayOfEspExceptionWrapper a {@link org.hpccsystems.ws.client.wrappers.ArrayOfEspExceptionWrapper} object. From ca5ed9ff539f5261ae993d059cd4e3fc34720c5d Mon Sep 17 00:00:00 2001 From: Rodrigo Date: Tue, 18 Jul 2023 16:32:28 -0400 Subject: [PATCH 09/10] Update publish-snapshots-on-merge.yml (#617) (#623) extend action to on branch creations as well --- .../workflows/publish-snapshots-on-merge.yml | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/publish-snapshots-on-merge.yml diff --git a/.github/workflows/publish-snapshots-on-merge.yml b/.github/workflows/publish-snapshots-on-merge.yml new file mode 100644 index 000000000..3b305d462 --- /dev/null +++ b/.github/workflows/publish-snapshots-on-merge.yml @@ -0,0 +1,27 @@ +name: Publish snapshot package to the Maven Central Repository +on: + push: + branches: + - 'master' + - 'candidate-*' + create: + branches: + - 'candidate-*' +jobs: + publish: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Set up Maven Central Repository + uses: actions/setup-java@v3 + with: + java-version: '11' + distribution: 'adopt' + server-id: ossrh + server-username: MAVEN_USERNAME + server-password: MAVEN_PASSWORD + - name: Publish package + run: mvn --batch-mode deploy + env: + MAVEN_USERNAME: ${{ secrets.OSSRH_USER_NAME }} + MAVEN_PASSWORD: ${{ secrets.OSSRH_PASS }} From 3143504a0d94dd4f642af71bbc90f6fb90668e3c Mon Sep 17 00:00:00 2001 From: Rodrigo Date: Tue, 18 Jul 2023 16:32:43 -0400 Subject: [PATCH 10/10] Update publish-snapshots-on-merge.yml (#617) (#624) extend action to on branch creations as well --- .github/workflows/publish-snapshots-on-merge.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish-snapshots-on-merge.yml b/.github/workflows/publish-snapshots-on-merge.yml index 4b57324cd..3b305d462 100644 --- a/.github/workflows/publish-snapshots-on-merge.yml +++ b/.github/workflows/publish-snapshots-on-merge.yml @@ -4,6 +4,9 @@ on: branches: - 'master' - 'candidate-*' + create: + branches: + - 'candidate-*' jobs: publish: runs-on: ubuntu-latest @@ -21,4 +24,4 @@ jobs: run: mvn --batch-mode deploy env: MAVEN_USERNAME: ${{ secrets.OSSRH_USER_NAME }} - MAVEN_PASSWORD: ${{ secrets.OSSRH_PASS }} \ No newline at end of file + MAVEN_PASSWORD: ${{ secrets.OSSRH_PASS }}