From 766066caac0ace981cbffce85989106bed039967 Mon Sep 17 00:00:00 2001 From: Stephan Pelikan Date: Wed, 11 Sep 2024 15:40:05 +0200 Subject: [PATCH] Upgrade to current community-hub-release (#54) --- .github/workflows/deploy.yaml | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index f982ecc..c9bb56a 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -1,32 +1,29 @@ name: Deploy artifacts with Maven on: - push: - branches: [$default_branch] release: types: [published] jobs: publish: - runs-on: ubuntu-22.04 + runs-on: ubuntu-20.04 steps: - name: Checks out code uses: actions/checkout@v4 - name: Set up Java environment uses: actions/setup-java@v4 with: - java-version: 17 - distribution: zulu + java-version: 21 + distribution: temurin cache: maven gpg-private-key: ${{ secrets.MAVEN_CENTRAL_GPG_SIGNING_KEY_SEC }} gpg-passphrase: MAVEN_CENTRAL_GPG_PASSPHRASE - name: Deploy SNAPSHOT / Release - uses: camunda-community-hub/community-action-maven-release@v1 + uses: camunda-community-hub/community-action-maven-release@v1.2.2 with: release-version: ${{ github.event.release.tag_name }} - release-profile: community-action-maven-release nexus-usr: ${{ secrets.NEXUS_USR }} nexus-psw: ${{ secrets.NEXUS_PSW }} - maven-usr: ${{ secrets.MAVEN_CENTRAL_DEPLOYMENT_USR }} - maven-psw: ${{ secrets.MAVEN_CENTRAL_DEPLOYMENT_PSW }} + maven-usr: ${{ secrets.COMMUNITY_HUB_MAVEN_CENTRAL_OSS_USR }} + maven-psw: ${{ secrets.COMMUNITY_HUB_MAVEN_CENTRAL_OSS_PSW }} maven-url: oss.sonatype.org maven-gpg-passphrase: ${{ secrets.MAVEN_CENTRAL_GPG_SIGNING_KEY_PASSPHRASE }} maven-auto-release-after-close: true