File tree Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Original file line number Diff line number Diff line change 10
10
with :
11
11
java-version : ' 17'
12
12
- name : Build with Maven
13
- run : mvn -B package -P linux --file pom.xml
13
+ run : mvn package
14
14
- name : Get job's artifacts
15
15
uses : actions/upload-artifact@v2
16
16
with :
26
26
with :
27
27
java-version : ' 17'
28
28
- name : Build with Maven
29
- run : mvn -B package -P mac --file pom.xml
29
+ run : mvn package
30
30
- name : Get job's artifacts
31
31
uses : actions/upload-artifact@v2
32
32
with :
42
42
with :
43
43
java-version : ' 17'
44
44
- name : Build with Maven
45
- run : mvn -B package -P win --file pom.xml
45
+ run : mvn package
46
46
- name : Get job's artifacts
47
47
uses : actions/upload-artifact@v2
48
48
with :
51
51
Release :
52
52
runs-on : ubuntu-latest
53
53
needs : [Linux-Artifact, Mac-Artifact, Windows-Artifact]
54
+ if : startsWith(github.ref, 'refs/tags/')
54
55
steps :
55
56
- name : Download Linux artifact
56
57
uses : actions/download-artifact@v2
78
79
79
80
- name : Release
80
81
uses : softprops/action-gh-release@v1
81
- if : startsWith(github.ref, 'refs/tags/')
82
82
with :
83
83
draft : true
84
84
files : |
Original file line number Diff line number Diff line change 20
20
<profile >
21
21
<id >win</id >
22
22
<activation >
23
- <activeByDefault >true</ activeByDefault >
23
+ <os >< family >windows</ family ></ os >
24
24
</activation >
25
25
<properties >
26
26
<javafx .platform>win</javafx .platform>
27
27
</properties >
28
28
</profile >
29
29
<profile >
30
30
<id >linux</id >
31
+ <activation >
32
+ <os ><family >unix</family ></os >
33
+ </activation >
31
34
<properties >
32
35
<javafx .platform>linux</javafx .platform>
33
36
</properties >
34
37
</profile >
35
38
<profile >
36
39
<id >mac</id >
40
+ <activation >
41
+ <os ><family >mac</family ></os >
42
+ </activation >
37
43
<properties >
38
44
<javafx .platform>mac</javafx .platform>
39
45
</properties >
You can’t perform that action at this time.
0 commit comments