Skip to content

Commit

Permalink
Update version to publish
Browse files Browse the repository at this point in the history
  • Loading branch information
pierre-yves-monnet committed Aug 8, 2024
1 parent dfd3673 commit dc7da05
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 18 deletions.
32 changes: 15 additions & 17 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# see https://github.com/camunda-community-hub/community-action-maven-release
name: Deploy artifacts with Maven
on:
push:
Expand All @@ -9,33 +8,32 @@ jobs:
publish:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Cache
uses: actions/cache@v2
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Checks out code
uses: actions/checkout@v4

- name: Set up Java environment
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: 17
java-version: 21
distribution: temurin
cache: maven
gpg-private-key: ${{ secrets.MAVEN_CENTRAL_GPG_SIGNING_KEY_SEC }}
gpg-passphrase: ${{ secrets.MAVEN_CENTRAL_GPG_PASSPHRASE }}
gpg-passphrase: MAVEN_CENTRAL_GPG_PASSPHRASE

- name: Deploy SNAPSHOT / Release
uses: camunda-community-hub/community-action-maven-release@v1.1.0
uses: camunda-community-hub/community-action-maven-release@v1.2.1

This comment has been minimized.

Copy link
@xomiamoore

xomiamoore Aug 9, 2024

Contributor

@pierre-yves-monnet This should be v1.2.2 or latest

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
github-token: ${{ secrets.GITHUB_TOKEN }}
id: release

- if: github.event.release
name: Attach artifacts to GitHub Release (Release only)
uses: actions/upload-release-asset@v1
Expand All @@ -45,4 +43,4 @@ jobs:
upload_url: ${{ github.event.release.upload_url }}
asset_path: ${{ steps.release.outputs.artifacts_archive_path }}
asset_name: ${{ steps.release.outputs.artifacts_archive_path }}
asset_content_type: application/zip
asset_content_type: application/zip
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<parent>
<groupId>org.camunda.community</groupId>
<artifactId>community-hub-release-parent</artifactId>
<version>1.4.2</version>
<version>1.4.4</version>
</parent>

<dependencies>
Expand Down

0 comments on commit dc7da05

Please sign in to comment.