From d4bfbd3bfb9eb4b4a43a2e02b4b28fd84b44c88c Mon Sep 17 00:00:00 2001 From: Adrien Kantcheff Date: Thu, 14 Mar 2024 18:04:11 +0100 Subject: [PATCH] ci(build): sign artifacts with GPG --- .github/workflows/_reusable_build.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/_reusable_build.yml b/.github/workflows/_reusable_build.yml index e79af46..fe3b43e 100644 --- a/.github/workflows/_reusable_build.yml +++ b/.github/workflows/_reusable_build.yml @@ -56,7 +56,8 @@ jobs: - name: Maven Build & Deploy release if: ${{ inputs.release }} timeout-minutes: 60 - run: ./mvnw -ntp deploy -DaltDeploymentRepository=staging::${{ vars.STAGING_REPOSITORY_URL }} + # Profile release is used to sign artifacts with GPG + run: ./mvnw -ntp deploy -Prelease -DaltDeploymentRepository=staging::${{ vars.STAGING_REPOSITORY_URL }} - name: Upload BOS to the Github release if: ${{ inputs.release }}