Forces maven version #9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and publish docker image | |
on: | |
push: | |
branches: | |
- '**' # matches every branch | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v3 | |
with: | |
java-version: '21' | |
distribution: 'zulu' | |
cache: 'maven' | |
- uses: stCarolas/setup-maven@v4.5 | |
with: | |
maven-version: 3.9.6 | |
- name: Tests Maven Version | |
working-directory: rtsl_util | |
run: mvn -version | |
- name: Builds Artifacts and Images | |
working-directory: rtsl_util | |
run: mvn clean install |