-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
21 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,20 +11,28 @@ jobs: | |
|
||
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 }} | ||
- 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 }} |