Skip to content

Commit

Permalink
Automatisches 32bit-Build entfernt
Browse files Browse the repository at this point in the history
GitHub Actions können keine 32bit Windows Installer erstellen.
  • Loading branch information
heinrich26 authored Nov 9, 2023
1 parent ccb7caa commit 9b70d37
Showing 1 changed file with 17 additions and 16 deletions.
33 changes: 17 additions & 16 deletions .github/workflows/gradle-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,22 @@ jobs:
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
# 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: ${{ matrix.java-distro }}
distribution: 'corretto'
java-version: '18'
architecture: ${{ matrix.arch }}
# architecture: ${{ matrix.arch }}
cache: 'gradle'
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
Expand All @@ -49,14 +50,14 @@ jobs:
gradle :app:buildRPM
gradle :merger:buildRPM
- 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"
# - 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"

- name: Upload build reports
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit 9b70d37

Please sign in to comment.