From 5e8f8fefa8f11359886fe9a44307e4b121c68692 Mon Sep 17 00:00:00 2001 From: Jorge Bornhausen Date: Fri, 18 Jul 2025 14:01:02 +0200 Subject: [PATCH] ci(github-actions): fix jars not being published on tags --- .github/workflows/build.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index f99f691..bf8a636 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -101,5 +101,5 @@ jobs: run: ./mvnw $COMMON_MAVEN_OPTS org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=quarkus-commons -Dsonar.projectName='quarkus-commons' -Dsonar.coverage.jacoco.xmlReportPaths=../**/target/jacoco-report/jacoco.xml - name: Publish jars - if: github.ref == 'refs/heads/main' + if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/') run: ./mvnw $COMMON_MAVEN_OPTS deploy -Dmaven.test.skip=true -Dmaven.javadoc.skip=true \ No newline at end of file