Piped-Backend/.github/workflows/ci.yml

27 lines
491 B
YAML
Raw Normal View History

2021-01-05 05:31:07 +00:00
name: CI
on:
push:
branches:
- master
pull_request:
jobs:
build-and-test:
runs-on: ubuntu-latest
2021-10-31 18:05:04 +00:00
strategy:
matrix:
2022-08-18 03:13:40 +00:00
java: [ 17 ]
2021-01-05 05:31:07 +00:00
steps:
- uses: actions/checkout@v3
2021-01-05 05:31:07 +00:00
2021-10-31 18:05:04 +00:00
- name: set up JDK ${{ matrix.java }}
uses: actions/setup-java@v3
2021-01-05 05:31:07 +00:00
with:
2021-10-31 18:05:04 +00:00
java-version: ${{ matrix.java }}
distribution: temurin
check-latest: true
cache: "gradle"
2021-01-05 05:34:52 +00:00
- name: Run Build
run: ./gradlew build