main.yml: add Gradle-wrapper validation to several jobs

v3.3
Stephen Gold 5 years ago committed by Paul Speed
parent 1198908555
commit f0e09b2a9e
  1. 14
      .github/workflows/main.yml

@ -69,7 +69,8 @@ jobs:
uses: actions/checkout@v1 uses: actions/checkout@v1
with: with:
fetch-depth: 1 fetch-depth: 1
- name: Validate the Gradle wrapper
uses: gradle/wrapper-validation-action@v1
- name: Build - name: Build
run: | run: |
# Build # Build
@ -96,10 +97,11 @@ jobs:
uses: actions/checkout@v1 uses: actions/checkout@v1
with: with:
fetch-depth: 1 fetch-depth: 1
- name: Validate the Gradle wrapper
uses: gradle/wrapper-validation-action@v1
- name: Build - name: Build
run: | run: |
gradle -PuseCommitHashAsVersionName=true --no-daemon -PbuildNativeProjects=true \ ./gradlew -PuseCommitHashAsVersionName=true --no-daemon -PbuildNativeProjects=true \
:jme3-android-native:assemble \ :jme3-android-native:assemble \
:jme3-bullet-native-android:assemble :jme3-bullet-native-android:assemble
@ -138,7 +140,8 @@ jobs:
with: with:
java-version: ${{ matrix.jdk }} java-version: ${{ matrix.jdk }}
architecture: x64 architecture: x64
- name: Validate the Gradle wrapper
uses: gradle/wrapper-validation-action@v1
- name: Build Natives - name: Build Natives
shell: bash shell: bash
env: env:
@ -233,7 +236,8 @@ jobs:
with: with:
name: linuxarm-natives name: linuxarm-natives
path: build/native path: build/native
- name: Validate the Gradle wrapper
uses: gradle/wrapper-validation-action@v1
- name: Build Engine - name: Build Engine
shell: bash shell: bash
run: | run: |

Loading…
Cancel
Save