53
53
- v3.3
54
54
pull_request :
55
55
release :
56
- types : [ published ]
56
+ types : [published]
57
57
58
58
jobs :
59
59
ScreenshotTests :
60
60
name : Run Screenshot Tests
61
61
runs-on : ubuntu-latest
62
62
permissions :
63
63
contents : read
64
- pull-requests : write
65
64
steps :
66
65
- uses : actions/checkout@v4
67
66
- name : Set up JDK 17
68
67
uses : actions/setup-java@v4
69
68
with :
70
69
java-version : ' 17'
71
70
distribution : ' temurin'
72
- - name : Install Mesa3D and OpenCL
71
+ - name : Install Mesa3D
73
72
run : |
74
73
sudo apt-get update
75
74
sudo apt-get install -y mesa-utils libgl1-mesa-dri libgl1 libglx-mesa0 xvfb
@@ -127,14 +126,14 @@ jobs:
127
126
128
127
# Build the engine, we only deploy from ubuntu-latest jdk21
129
128
BuildJMonkey :
130
- needs : [ BuildAndroidNatives ]
129
+ needs : [BuildAndroidNatives]
131
130
name : Build on ${{ matrix.osName }} jdk${{ matrix.jdk }}
132
131
runs-on : ${{ matrix.os }}
133
132
strategy :
134
133
fail-fast : false
135
134
matrix :
136
- os : [ ubuntu-latest,windows-latest,macOS-latest ]
137
- jdk : [ 11, 17, 21 ]
135
+ os : [ubuntu-latest,windows-latest,macOS-latest]
136
+ jdk : [11, 17, 21]
138
137
include :
139
138
- os : ubuntu-latest
140
139
osName : linux
@@ -230,7 +229,7 @@ jobs:
230
229
path : dist/maven
231
230
232
231
- name : Upload javadoc
233
- if : matrix.deploy==true
232
+ if : matrix.deploy==true
234
233
uses : actions/upload-artifact@master
235
234
with :
236
235
name : javadoc
@@ -249,7 +248,7 @@ jobs:
249
248
# this is useful for people that want to build only the java part and don't have
250
249
# all the stuff needed to compile natives.
251
250
DeployNativeSnapshot :
252
- needs : [ BuildJMonkey ]
251
+ needs : [BuildJMonkey]
253
252
name : " Deploy native snapshot"
254
253
runs-on : ubuntu-latest
255
254
if : github.event_name == 'push'
@@ -335,7 +334,7 @@ jobs:
335
334
336
335
# This job deploys snapshots on the master branch
337
336
DeployJavaSnapshot :
338
- needs : [ BuildJMonkey ]
337
+ needs : [BuildJMonkey]
339
338
name : Deploy Java Snapshot
340
339
runs-on : ubuntu-latest
341
340
if : github.event_name == 'push' && github.ref_name == 'master'
@@ -379,7 +378,7 @@ jobs:
379
378
380
379
# This job deploys the release
381
380
DeployRelease :
382
- needs : [ BuildJMonkey ]
381
+ needs : [BuildJMonkey]
383
382
name : Deploy Release
384
383
runs-on : ubuntu-latest
385
384
if : github.event_name == 'release'
@@ -460,7 +459,7 @@ jobs:
460
459
461
460
# Deploy the javadoc
462
461
DeployJavaDoc :
463
- needs : [ BuildJMonkey ]
462
+ needs : [BuildJMonkey]
464
463
name : Deploy Javadoc
465
464
runs-on : ubuntu-latest
466
465
if : github.event_name == 'release'
0 commit comments