File tree Expand file tree Collapse file tree 1 file changed +16
-4
lines changed Expand file tree Collapse file tree 1 file changed +16
-4
lines changed Original file line number Diff line number Diff line change @@ -6,25 +6,37 @@ name: Nightly NBM Deployment
66on :
77 push :
88 branches : [ master ]
9+ pull_request :
10+
911jobs :
10- build :
12+ BuildSDK :
1113 runs-on : ubuntu-latest
1214
1315 steps :
14- - uses : actions/checkout@v2
16+ - uses : actions/checkout@v3
1517 - name : Set up JDK 21
16- uses : actions/setup-java@v1
18+ uses : actions/setup-java@v3
1719 with :
1820 java-version : 21
21+ distribution : ' temurin'
22+
23+ - name : Validate the Gradle wrapper
24+ uses : gradle/wrapper-validation-action@v2
1925
2026 - name : Grant execute permission for gradle
2127 run : chmod +x gradlew
2228
2329 - name : Build the SDK
2430 run : ./gradlew buildSdk
31+
32+ NBMDeployment :
33+ needs : [BuildSDK]
34+ runs-on : ubuntu-latest
35+ if : github.event_name == 'push'
2536
37+ steps :
2638 - name : Checkout the nightly-trigger repository
27- uses : actions/checkout@v2
39+ uses : actions/checkout@v3
2840 with :
2941 repository : ' jMonkeyEngine/sdk-update-center'
3042 ref : nightly
You can’t perform that action at this time.
0 commit comments