JavaAlgorithms/.github/workflows/build.yml
Piotr Idzik 72247ed85c
chore: update actions/setup-java to v3 (#4352)
chore: use `actions/setup-java@v3`
2023-09-05 11:19:26 +05:30

15 lines
348 B
YAML

name: Build
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: 17
distribution: 'adopt'
- name: Build with Maven
run: mvn --batch-mode --update-snapshots verify