-
Notifications
You must be signed in to change notification settings - Fork 2
34 lines (32 loc) · 1.02 KB
/
createStandaloneApp.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Also see https://github.com/beryx-gist/badass-runtime-example-javafx/blob/master/.github/workflows/gradle.yml
name: 🏗️ qr-code-app standalone
on:
workflow_dispatch:
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04, macos-11, windows-2019]
fail-fast: false
name: ${{ matrix.os }}
steps:
- name: Git checkout
uses: actions/checkout@v4.1.1
- name: Set up JDK
uses: actions/setup-java@v3.13.0
with:
java-version: 17
distribution: 'temurin'
- name: Echo JAVA_HOME
run: echo $JAVA_HOME
- name: Execute qr-code-app:runtime
run: ./gradlew --info --stacktrace qr-code-app:runtime
- name: Set distribution os env var
run: |
OS_NAME=$(echo "${{ matrix.os }}" | cut -d'-' -f1)
echo "OS=${OS_NAME}" >> $GITHUB_ENV
- uses: actions/upload-artifact@v3
with:
name: qr-code-app-${{ env.OS }}
path: qr-code-app/build/qr-code-with-logo-app/