-
Notifications
You must be signed in to change notification settings - Fork 5
43 lines (41 loc) · 1.21 KB
/
build.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
name: Java CI
on:
push:
branches: [ master ]
tags:
- v**
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 17
uses: actions/setup-java@v2
with:
java-version: '17'
distribution: 'temurin'
- name: Build GDLDE
run: ./mvnw clean verify
- name: Upload Build Artifacts
uses: actions/[email protected]
with:
name: GDL Workbench (Windows)
path: product/target/products/gdlde.product-win32.win32.x86_64.zip
- name: Upload Build Artifacts
uses: actions/[email protected]
with:
name: GDL Workbench (macOS)
path: product/target/products/gdlde.product-macosx.cocoa.x86_64.tar.gz
- name: Upload Build Artifacts
uses: actions/[email protected]
with:
name: GDL Workbench (Linux)
path: product/target/products/gdlde.product-linux.gtk.x86_64.tar.gz
- name: Upload Release Assets
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
uses: ncipollo/release-action@v1
with:
artifacts: product/target/products/gdlde.product-*
token: ${{ secrets.GITHUB_TOKEN }}