Skip to content

ci(Github action): trigger on create new tag or branch #10

ci(Github action): trigger on create new tag or branch

ci(Github action): trigger on create new tag or branch #10

name: Release version
on:
push:
branches:
- release
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Build and Test
uses: qcastel/github-actions-maven-cmd@master
with:
maven-args: 'clean install'
- name: Release
uses: qcastel/github-actions-maven-release@master
env:
JAVA_HOME: /usr/lib/jvm/java-17-openjdk/
with:
git-release-bot-name: 'bot-github-actions'
git-release-bot-email: '[email protected]'
release-branch-name: 'release'
maven-args: '-Dmaven.javadoc.skip=true -DskipTests -DskipITs -Ddockerfile.skip -DdockerCompose.skip -Dmaven.deploy.skip=true'
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}