-
-
Notifications
You must be signed in to change notification settings - Fork 45
32 lines (32 loc) · 1.06 KB
/
gradle-build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: Build
on: [push, pull_request]
jobs:
validation:
name: "Validation"
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- uses: gradle/actions/wrapper-validation@cc4fc85e6b35bafd578d5ffbc76a5518407e1af0
- uses: eskatos/gradle-command-action@ac2d340dc04d9e1113182899e983b5400c17cda1
with:
arguments: wrapper
- run: >
if [[ -n $(git status --porcelain) ]]; then
echo "Please run Gradle wrapper task and commit wrapper changes."
exit 1
fi
gradle:
name: "Build"
strategy:
matrix:
os: [ubuntu-22.04, macos-14, windows-2022]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b
with:
java-version: 11
distribution: zulu
- uses: eskatos/gradle-command-action@ac2d340dc04d9e1113182899e983b5400c17cda1
with:
arguments: build --parallel --continue