fix issue with duplicate grant flow being created on each startup (#231) #78
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: release version | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
if: "!contains(github.event.head_commit.message, '[ci skip]')" | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build and Test | |
uses: qcastel/github-actions-maven-cmd@master | |
with: | |
maven-args: "clean install -Ddockerfile.skip -DdockerCompose.skip -Djib.skip" | |
- name: Release | |
uses: qcastel/github-actions-maven-release@master | |
with: | |
release-branch-name: "main" | |
version-minor: true | |
git-release-bot-name: "phasetwo-bot" | |
git-release-bot-email: "[email protected]" | |
maven-args: "-B -DskipITs -Dmaven.deploy.skip=true" | |
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }} | |
gpg-enabled: true | |
gpg-key-id: BC6B4EADEB514AFD | |
gpg-key: ${{ secrets.GPG_KEY }} | |
docker-registry-id: ossrh | |
docker-registry-username: ${{ secrets.OSSRH_USERNAME }} | |
docker-registry-password: ${{ secrets.OSSRH_PASSWORD }} | |
maven-development-version-number: ${parsedVersion.majorVersion}.${parsedVersion.nextMinorVersion}-SNAPSHOT | |
maven-release-version-number: ${parsedVersion.majorVersion}.${parsedVersion.minorVersion} |