left tree width set to limit #84
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Windows | |
on: | |
push: | |
branches: [ main ] | |
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 | |
shell: cmd | |
run: .\mvnw -ntp test -Pdesktop gluonfx:build gluonfx:package | |
- name: Copy native bundles to staging | |
run: | | |
target/gluonfx/x86_64-windows/swaggerific.exe || exit /b | |
cp -r target/gluonfx/x86_64-windows/*.exe staging | |
cp -r target/gluonfx/x86_64-windows/*.msi staging | |
- name: Upload | |
uses: actions/upload-artifact@v2 | |
with: | |
name: Package | |
path: staging | |
- uses: "marvinpinto/action-automatic-releases@latest" | |
with: | |
repo_token: "${{ secrets.GITHUB_TOKEN }}" | |
automatic_release_tag: "latest_windows" | |
prerelease: true | |
title: "Windows Development Build" | |
files: | | |
staging/* | |
id: "automatic_releases" |