Bump version number #43
Workflow file for this run
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 CD | |
on: | |
push: | |
tags: "v*.*.*" | |
permissions: | |
contents: write | |
jobs: | |
release_linux: | |
name: Release - Linux | |
runs-on: ubuntu-latest | |
env: | |
ARCH: x86_64 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Java | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: '17' | |
cache: 'maven' | |
- name: Build native executable with Maven | |
run: mvn -B package --file pom.xml | |
- name: Upload to release | |
uses: softprops/action-gh-release@v1 | |
if: startsWith(github.ref, 'refs/tags/') | |
with: | |
fail_on_unmatched_files: true | |
files: | | |
target/ESManager.AppImage | |
- name: Build cross-platform jar with Maven | |
run: mvn -B clean package --file pom.xml -Djar | |
- name: Upload to release | |
uses: softprops/action-gh-release@v1 | |
if: startsWith(github.ref, 'refs/tags/') | |
with: | |
fail_on_unmatched_files: true | |
files: | | |
target/ESManager.jar | |
target/ESManager-sources.jar | |
target/ESManager-javadoc.jar | |
release_windows: | |
name: Release - Windows | |
runs-on: windows-latest | |
env: | |
ARCH: x86_64 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Java | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: '17' | |
cache: 'maven' | |
- name: Build native executable with Maven | |
run: mvn -B package --file pom.xml | |
- name: Upload to release | |
uses: softprops/action-gh-release@v1 | |
if: startsWith(github.ref, 'refs/tags/') | |
with: | |
fail_on_unmatched_files: true | |
files: target/ESManager.exe | |
release_macos: | |
name: Release - macOS | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Java | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: '17' | |
cache: 'maven' | |
- name: Build native executable with Maven | |
run: mvn -B package --file pom.xml | |
- name: Upload to release | |
uses: softprops/action-gh-release@v1 | |
if: startsWith(github.ref, 'refs/tags/') | |
with: | |
fail_on_unmatched_files: true | |
files: target/ESManager.dmg |