DimDoors/.github/workflows/gradle.yml

27 lines
614 B
YAML
Raw Normal View History

2020-10-11 06:37:50 +02:00
# This workflow will build a Java project with Gradle
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
name: CI
on:
push:
2021-03-23 03:46:03 +01:00
branches: [ "1.17" ]
2020-10-11 06:37:50 +02:00
pull_request:
2021-03-23 03:46:03 +01:00
branches: [ "1.17" ]
2020-10-11 06:37:50 +02:00
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
2021-06-17 18:33:45 +02:00
- name: Set up JDK 1.16
2020-10-11 06:37:50 +02:00
uses: actions/setup-java@v1
with:
2021-06-17 18:33:45 +02:00
java-version: 1.16
2020-10-11 06:37:50 +02:00
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew build --stacktrace --info