-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (42 loc) · 1.12 KB
/
release.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
45
46
name: Release
on:
push:
tags:
- 'v*'
jobs:
MacOs:
runs-on: macos-13
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
architecture: x64
- run: |
chmod 755 mvnw
./mvnw clean package --batch-mode --no-transfer-progress
- run: |
$JAVA_HOME/bin/jpackage @target/jpackage-macos.args --type dmg
- uses: softprops/action-gh-release@v2
with:
draft: true
files: target/distr/macos/*.dmg
Windows:
runs-on: windows-2019
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
architecture: x64
- run: |
./mvnw clean package --batch-mode --no-transfer-progress
- run: |
%JAVA_HOME%\bin\jpackage.exe @target\jpackage-win.args --type exe
shell: cmd
- uses: softprops/action-gh-release@v2
with:
draft: true
files: target/distr/win/*.exe