-
Notifications
You must be signed in to change notification settings - Fork 7
37 lines (35 loc) · 1.15 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
name: fxthemes-actions
on: [push, pull_request]
jobs:
build-mac-m1:
runs-on: macos-14 # mac os (M1 cpu)
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'zulu'
- name: Build with Maven
run: mvn --batch-mode --update-snapshots verify
- run: mkdir fxthemes/staging && cp fxthemes/target/*.jar fxthemes/staging
- uses: actions/upload-artifact@v4
with:
name: FXThemes-mac-m1
path: fxthemes/staging
build-windows:
runs-on: windows-latest # windows
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'zulu'
- name: Build with Maven
run: mvn --batch-mode --update-snapshots verify
- run: mkdir fxthemes/staging && cp fxthemes/target/*.jar fxthemes/staging
- uses: actions/upload-artifact@v4
with:
name: FXThemes-windows
path: fxthemes/staging