Skip to content

Schema geupdated und Einheitlichkeit bei anzahl in WildcardRegel un… #194

Schema geupdated und Einheitlichkeit bei anzahl in WildcardRegel un…

Schema geupdated und Einheitlichkeit bei anzahl in WildcardRegel un… #194

Workflow file for this run

name: Gradle Package
on:
push:
branches-ignore:
- data
paths-ignore:
- '**.md'
- '.idea/**'
- '**.py'
- 'schema.json'
workflow_dispatch:
jobs:
gradle:
strategy:
fail-fast: false
matrix:
os: [ windows-latest, macos-latest, ubuntu-latest ]
# arch: [ x64 ]
# java-distro: [ corretto ]
# include:
# - os: windows-latest
# arch: x86
# java-distro: zulu
runs-on: ${{ matrix.os }}
steps:
- name: Checkout project sources
uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
# distribution: ${{ matrix.java-distro }}
distribution: 'corretto'
java-version: '18'
# architecture: ${{ matrix.arch }}
cache: 'gradle'
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
with:
gradle-version: 7.6
- name: Build Application with JPackage
run: gradle :app:jpackage
- name: Build Commandline-Merger with JPackage
run: gradle :merger:jpackage
- name: Upload binaries
uses: actions/upload-artifact@v3
with:
name: application
path: out/executable/
- name: Build RPMs with JPackage
if: ${{ matrix.os == 'ubuntu-latest' }}
run: |
gradle :app:buildRPM
gradle :merger:buildRPM
- name: Upload rpm binaries
if: ${{ matrix.os == 'ubuntu-latest' }}
uses: actions/upload-artifact@v3
with:
name: application
path: out/executable/
# - name: Rename win32 Binaries
# if: ${{ matrix.arch == 'x86' }}
# working-directory: ./out/executable/basic
# shell: cmd
# run: |
# for %%F in (*.msi) do RENAME %%F "%%~nF_win32.msi"
# cd ../full
# for %%F in (*.msi) do RENAME %%F "%%~nF_win32.msi"