Skip to content

Add java distribution to build.yml #2

Add java distribution to build.yml

Add java distribution to build.yml #2

Workflow file for this run

name: Build & Test RepCounterBot
on:
push:
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 17
java-package: jdk
cache: maven
- name: Build and test
run: mvn clean install