Build Spring Boot Gradle Projects #915
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Gradle Projects | |
on: | |
push: | |
schedule: | |
- cron: '0 5 * * SUN' | |
jobs: | |
build-jdk8: | |
runs-on: ubuntu-20.04 | |
name: Build Java 8 projects | |
steps: | |
- uses: actions/checkout@v1 | |
- uses: actions/cache@v1 | |
with: | |
path: ~/.gradle/caches | |
key: ${{ runner.os }}-gradle-jdk8-${{ hashFiles('**/*.gradle') }} | |
restore-keys: | | |
${{ runner.os }}-gradle-jdk8- | |
- name: Set up JDK 1.8 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 1.8 | |
- name: Build JDK 8 projects | |
run: ./buildGradleJdk8Projects.sh |