Skip to content

Commit

Permalink
ci: Add GPG private key and passphrase to java environment
Browse files Browse the repository at this point in the history
  • Loading branch information
remcowesterhoud committed Dec 13, 2021
1 parent 597b94c commit f3c77e6
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/deploy-artifact.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,6 @@ jobs:
restore-keys: |
${{ runner.os }}-maven-
- name: Set up Java environment
uses: actions/[email protected]
with:
distribution: temurin
java-version: 11

- name: Import Secrets
id: secrets
uses: hashicorp/[email protected]
Expand All @@ -46,6 +40,15 @@ jobs:
secret/data/common/github.com/actions/camunda-community-hub MAVEN_CENTRAL_DEPLOYMENT_USR;
secret/data/common/github.com/actions/camunda-community-hub MAVEN_CENTRAL_DEPLOYMENT_PSW;
secret/data/common/github.com/actions/camunda-community-hub MAVEN_CENTRAL_GPG_SIGNING_KEY_PASSPHRASE;
secret/data/common/github.com/actions/camunda-community-hub MAVEN_CENTRAL_GPG_SIGNING_KEY_SEC;
- name: Set up Java environment
uses: actions/[email protected]
with:
distribution: temurin
java-version: 11
gpg-private-key: ${{ steps.secrets.outputs.MAVEN_CENTRAL_GPG_SIGNING_KEY_SEC }}
gpg-passphrase: ${{ steps.secrets.outputs.MAVEN_CENTRAL_GPG_SIGNING_KEY_PASSPHRASE }}

- name: Deploy SNAPSHOT / Release
id: release
Expand Down

0 comments on commit f3c77e6

Please sign in to comment.