-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (25 loc) · 1.01 KB
/
release2.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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
env:
JAVA_HOME: /usr/lib/jvm/java-11-openjdk/
with:
git-release-bot-name: "bot-idhub"
git-release-bot-email: "bot@idhub.io"
maven-args: "-Dmaven.javadoc.skip=true -DskipTests -DskipITs -Dmaven.deploy.skip=true"
maven-servers: '[{"id": "github", "username": "xxsumsxx", "password": "${{ env.GITHUB_TOKEN }}", "privateKey": "test", "passphrase": "testes"}, {"id": "serverId2", "username": "username2", "password": "password2"}]'
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}