Skip to content

cosmetics

cosmetics #152

Workflow file for this run

name: ci
on: [push, pull_request]
jobs:
build-windows:
runs-on: [ windows-latest ]
steps:
- uses: actions/checkout@v4
- name: Set up JDK 21.0.4
uses: actions/setup-java@v4
with:
java-version: 21.0.4
distribution: 'zulu'
gpg-private-key: ${{ secrets.GPG_KEY }}
gpg-passphrase: PASSPHRASE
- name: Build with Gradle
run: ./gradlew.bat build
env:
PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
- name: Create Distribution
run: .\build_app_windows.bat
- uses: actions/upload-artifact@v4
with:
name: GlucoStatusFX Windows
path: |
build/installer
build/libs
build-mac-aarch64:
runs-on: [ macos-latest ]
steps:
- uses: actions/checkout@v4
- name: Set up JDK 21.0.4
uses: actions/setup-java@v4
with:
java-version: 21.0.4
distribution: 'zulu'
gpg-private-key: ${{ secrets.GPG_KEY }}
gpg-passphrase: PASSPHRASE
- name: Build with Gradle
run: ./gradlew build
env:
PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
- name: Grant execute permission for build_app_macos.sh
run: chmod +x ./build_app_macos.sh
- name: Create Distribution
run: ./build_app_macos.sh
- uses: actions/upload-artifact@v4
with:
name: GlucoStatusFX Mac
path: |
build/installer
build/libs
build-mac-x64:
runs-on: [ macos-13 ]
steps:
- uses: actions/checkout@v4
- name: Set up JDK 21.0.4
uses: actions/setup-java@v4
with:
java-version: 21.0.4
distribution: 'zulu'
gpg-private-key: ${{ secrets.GPG_KEY }}
gpg-passphrase: PASSPHRASE
- name: Build with Gradle
run: ./gradlew build
env:
PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
- name: Grant execute permission for build_app_macos.sh
run: chmod +x ./build_app_macos.sh
- name: Create Distribution
run: ./build_app_macos.sh
- uses: actions/upload-artifact@v4
with:
name: GlucoStatusFX Mac x64
path: |
build/installer
build/libs
build-linux:
runs-on: [ ubuntu-latest ]
steps:
- uses: actions/checkout@v4
- name: Set up JDK 21.0.4
uses: actions/setup-java@v4
with:
java-version: 21.0.4
distribution: 'zulu'
gpg-private-key: ${{ secrets.GPG_KEY }}
gpg-passphrase: PASSPHRASE
- name: Build with Gradle
run: ./gradlew build
env:
PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
- name: Grant execute permission for build_app_linux.sh
run: chmod +x ./build_app_linux.sh
- name: Create Distribution
run: ./build_app_linux.sh
- uses: actions/upload-artifact@v4
with:
name: GlucoStatusFX Linux
path: |
build/installer
build/libs