-
Notifications
You must be signed in to change notification settings - Fork 4
44 lines (34 loc) · 1.03 KB
/
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
39
40
41
42
43
44
name: Windows
on:
push:
branches: [ master ]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Add msbuild to PATH
uses: microsoft/[email protected]
- name: Visual Studio shell
uses: egor-tensin/vs-shell@v1
- name: Setup Gluon's GraalVM
uses: gluonhq/setup-graalvm@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- 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 and Package
run: mvn gluonfx:build gluonfx:package
- name: Copy native bundles to staging
run: |
cp target/gluonfx/x86_64-windows/j3.exe staging
cp target/gluonfx/x86_64-windows/j3-*.msi staging
- name: Upload
uses: actions/upload-artifact@v2
with:
name: Package
path: staging