Merge pull request #1143 from UMM-CSci-3601/dependabot/npm_and_yarn/c… #1804
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] | |
jobs: | |
gradle-build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout the repository | |
uses: actions/checkout@v3 | |
- name: Cache Gradle artifacts (downloaded JARs, the wrapper, and any downloaded JDKs) | |
uses: actions/cache@v3 | |
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 |