forked from FDelporte/ResistorCalculatorApp
-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (36 loc) · 1.02 KB
/
maven-windows.yml
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
35
36
37
38
name: Windows
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Add msbuild to PATH
uses: microsoft/setup-msbuild@v1.0.2
- name: Visual Studio shell
uses: egor-tensin/vs-shell@v1
- name: Setup GraalVM environment
uses: DeLaGuardo/setup-graalvm@master
with:
graalvm-version: 20.3.0.java11
- name: Make staging directory
run: mkdir staging
- name: Gluon License
uses: gluonhq/gluon-build-license@v1
with:
gluon-license: ${{ secrets.GLUON_LICENSE }}
- name: Gluon Build
run: mvn -Pdesktop client:build client:package
env:
GRAALVM_HOME: ${{ env.JAVA_HOME }}
- name: Copy native client to staging
run: cp -r target/client/x86_64-windows/*.exe staging
- name: Upload
uses: actions/upload-artifact@v2
with:
name: Package
path: staging