Skip to content

Add configuration to invalidate action token after one time use (By d… #18

Add configuration to invalidate action token after one time use (By d…

Add configuration to invalidate action token after one time use (By d… #18

Workflow file for this run

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 -Dmaven.test.skip=true -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 -Dmaven.test.skip=true -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}