File tree 2 files changed +19
-9
lines changed
2 files changed +19
-9
lines changed Original file line number Diff line number Diff line change 55
55
permissions :
56
56
contents : write
57
57
strategy :
58
+ fail-fast : false
58
59
matrix :
59
60
include :
60
61
# compiling for arm32 needs a self-hosted runner on Raspi OS (32-bit)
@@ -102,7 +103,7 @@ jobs:
102
103
p12-file-base64 : ${{ secrets.CERTIFICATES_P12 }}
103
104
p12-password : ${{ secrets.CERTIFICATES_P12_PASSWORD }}
104
105
- name : Build Release
105
- run : ant -noinput -buildfile build/build.xml ${{ matrix.os_prefix }}-dist -Dversion="${{ needs.version.outputs.version }}"
106
+ run : ant -noinput -buildfile build/build.xml ${{ matrix.os_prefix }}-dist -Dversion="${{ needs.version.outputs.version }}" -Dplatform=${{ matrix.os_prefix }}
106
107
env :
107
108
PROCESSING_APP_PASSWORD : ${{ secrets.PROCESSING_APP_PASSWORD }}
108
109
PROCESSING_APPLE_ID : ${{ secrets.PROCESSING_APPLE_ID }}
Original file line number Diff line number Diff line change 9
9
</classpath >
10
10
</taskdef >
11
11
12
- <!-- Sets properties for macos/windows/linux depending on current system -->
12
+ <!-- Only do OS detection if platform isn't already set by override -->
13
13
<condition property =" platform" value =" macos" >
14
- <os family =" mac" />
14
+ <and >
15
+ <not ><isset property =" platform" /></not >
16
+ <os family =" mac" />
17
+ </and >
15
18
</condition >
16
19
17
20
<condition property =" platform" value =" windows" >
18
- <os family =" windows" />
21
+ <and >
22
+ <not ><isset property =" platform" /></not >
23
+ <os family =" windows" />
24
+ </and >
19
25
</condition >
20
26
21
27
<condition property =" platform" value =" linux" >
22
28
<and >
23
- <os family =" unix" />
24
- <not >
25
- <os family =" mac" />
26
- </not >
29
+ <not ><isset property =" platform" /></not >
30
+ <and >
31
+ <os family =" unix" />
32
+ <not >
33
+ <os family =" mac" />
34
+ </not >
35
+ </and >
27
36
</and >
28
37
</condition >
29
38
114
123
115
124
<!-- ${platform} ok for Windows/Linux, but 'macos' needs to be 'mac' -->
116
125
<condition property =" jdk.download.os" value =" mac" else =" ${ platform } " >
117
- <os family = " mac " />
126
+ <equals arg1= " ${ platform } " arg2= " macos " />
118
127
</condition >
119
128
120
129
<!-- amd64 or x86_64 use x64, others use os.arch -->
You can’t perform that action at this time.
0 commit comments