-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (35 loc) · 1.05 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
name: Release Izanami Java client
on:
push:
tags:
- 2.**
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'
cache: maven
- name: Build & update version
run: mvn -B clean install --file pom.xml
- name: GitHub Tag Name example
run: |
echo "Tag name from GITHUB_REF_NAME: $GITHUB_REF_NAME"
echo "Tag name from github.ref_name: ${{ github.ref_name }}"
- name: Release
uses: qcastel/[email protected]
env:
JAVA_HOME: /usr/lib/jvm/java-11-openjdk/
with:
release-branch-name: "main"
git-release-bot-name: "Benjamin Cavy"
git-release-bot-email: "[email protected]"
maven-args: "-Dmaven.deploy.skip=true"
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
#gpg-enabled: true
#gpg-key-id: ${{ secrets.GPG_KEY_ID }}
#gpg-key: ${{ secrets.GPG_KEY }}