refactor: changed test case execution to work on flow scope level #140
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy artifacts with Maven | |
on: | |
push: | |
branches: [ master ] | |
release: | |
types: [ published ] | |
jobs: | |
publish: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Java environment | |
uses: actions/setup-java@v4 | |
with: | |
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/[email protected] | |
with: | |
release-version: ${{ github.event.release.tag_name }} | |
nexus-usr: ${{ secrets.NEXUS_USR }} | |
nexus-psw: ${{ secrets.NEXUS_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 }} | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
artifacts-pattern: "" | |
run-tests: true | |
maven-auto-release-after-close: true | |
id: release |