Initial attempt at github actions for cross-compiling releases

This commit is contained in:
Josh Larson
2022-07-05 02:24:38 -05:00
parent 37878e197a
commit f42bfe237e

24
.github/workflows/package.yml vendored Normal file
View File

@@ -0,0 +1,24 @@
name: Package
on: release
jobs:
build-app:
strategy:
matrix:
os: [macos-latest, ubuntu-20.04, windows-latest]
name: Package
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Java
uses: actions/setup-java@v1
with:
java-version: 17
- run: ./gradlew --no-daemon clean test jpackage
- run: mkdir staging && cp build/jpackage/* staging/
- name: Upload
uses: actions/upload-artifact@v2
with:
name: ProjectSWG-${{matrix.os}}
path: staging