Maven release #39
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
name: Release Izanami Java client (maven) | |
on: workflow_dispatch | |
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: maven release | |
uses: qcastel/[email protected] | |
env: | |
JAVA_HOME: /usr/lib/jvm/java-11-openjdk/ | |
with: | |
release-branch-name: "main" | |
maven-args: " -Dmaven.deploy.skip=true" | |
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }} | |
git-release-bot-name: "Release bot" | |
git-release-bot-email: "[email protected]" | |
- name: github release | |
uses: softprops/action-gh-release@v2 | |
with: | |
files: | | |
target/izanami-java-client.jar | |
target/izanami-java-client-javadoc.jar | |
target/izanami-java-client-sources.jar |