diff --git a/.github/workflows/deploy-to-github-packages.yaml b/.github/workflows/deploy-to-github-packages.yaml index ff6e692..2986d88 100644 --- a/.github/workflows/deploy-to-github-packages.yaml +++ b/.github/workflows/deploy-to-github-packages.yaml @@ -10,8 +10,8 @@ jobs: contents: read packages: write steps: - - uses: actions/checkout@v3 - - uses: actions/setup-java@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-java@v4 with: java-version: '17' distribution: 'adopt' diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 39ac41b..c9bb56a 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -1,7 +1,5 @@ name: Deploy artifacts with Maven on: - push: - branches: [$default_branch] release: types: [published] jobs: @@ -9,24 +7,23 @@ jobs: runs-on: ubuntu-20.04 steps: - name: Checks out code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Java environment - uses: actions/setup-java@v3 + 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 diff --git a/pom.xml b/pom.xml index 49a0569..c9c5d74 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ org.camunda.community community-hub-release-parent - 1.4.0 + 1.4.4 org.camunda.community.vanillabp