Skip to content

Workflow file for this run

name: Release Izanami Java client
on:
push:
branches:
- main
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"
maven-args: "-DskipTests -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 }}