From c7fe9852a2981c31c153091cd6b829d07589a6b0 Mon Sep 17 00:00:00 2001 From: Adrien Kantcheff <5028967+akantcheff@users.noreply.github.com> Date: Fri, 15 Mar 2024 14:56:02 +0100 Subject: [PATCH] ci(build): sign artifacts with GPG (#86) --- .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 }}