Skip to content

Ritocchi workflow

Ritocchi workflow #18

Workflow file for this run

name: Build with Maven
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Java JDK
uses: actions/setup-java@v4.2.1
with:
java-version: '22.0.1'
distribution: 'oracle'
- name: Set up Maven
uses: stCarolas/setup-maven@v5
with:
maven-version: 3.9.4
- name: Build with Maven
run: mvn clean install
# - name: Login to Docker Hub
# uses: docker/login-action@v3
# with:
# username: ${{ secrets.DOCKERHUB_USERNAME }}
# password: ${{ secrets.DOCKERHUB_TOKEN }}