Skip to content

bmg13 github actions #7

bmg13 github actions

bmg13 github actions #7

name: GitHub Actions
run-name: ${{ github.actor }} github actions
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- run: echo "The job was automatically triggered by a ${{ github.event_name }} event."
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: maven
- name: Build with Maven
run: mvn -B package --file pom.xml
- name: Running tests
run: mvn test