Skip to content

Specify 'main' branch as the commit for Release action #6

Specify 'main' branch as the commit for Release action

Specify 'main' branch as the commit for Release action #6

Workflow file for this run

# This workflow will build the Java project with Maven
name: Build
on:
push:
branches: [ "main", "dev" ]
pull_request:
branches: [ "main", "dev" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'zulu'
cache: maven
- name: Build with Maven
run: mvn package