Merge pull request #362 from UMM-CSci-3601/dependabot/gradle/server/c… #614
Workflow file for this run
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: Server Java | |
on: [push, pull_request] | |
jobs: | |
gradle-build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out the repository | |
uses: actions/checkout@v2 | |
- name: Cache Gradle artifacts (downloaded JARs, the wrapper, and any downloaded JDKs) | |
uses: actions/cache@v2 | |
with: | |
path: | | |
~/.gradle/caches | |
~/.gradle/wrapper | |
~/.gradle/jdks | |
key: ${{ runner.os }}-gradle-${{ hashFiles('**/.gradle/') }} | |
restore-keys: | | |
${{ runner.os }}-gradle- | |
- name: Build with Gradle | |
run: ./gradlew build | |
working-directory: ./server |