-
Notifications
You must be signed in to change notification settings - Fork 14
27 lines (24 loc) · 880 Bytes
/
main.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
name: CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
uses: actions/checkout@v3 # https://github.com/actions/checkout
- name: Validate the Gradle wrapper
uses: gradle/wrapper-validation-action@v1 # https://github.com/gradle/wrapper-validation-action
- name: Set up JDK 17
uses: actions/setup-java@v3 # https://github.com/actions/setup-java
with:
distribution: temurin
java-version: 17
- name: Set encoding and print version information
run: |
export LANG=C.UTF-8
locale
./gradlew --version
- name: Build with Gradle (this action caches various parts as well)
uses: gradle/gradle-build-action@v2 # https://github.com/gradle/gradle-build-action
with:
arguments: check