-
Notifications
You must be signed in to change notification settings - Fork 37
43 lines (32 loc) · 1.3 KB
/
release.yml
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
33
34
35
36
37
38
39
40
41
42
43
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}