Bump manusa/actions-setup-minikube from 2.7.2 to 2.9.0 #3155
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
# This workflow will build a Java project with Maven | |
name: Build and Unit tests | |
on: | |
push: | |
branches: | |
- 'main' | |
- "[0-9]+.[0-9]+.x" | |
pull_request: | |
branches: | |
- 'main' | |
- "[0-9]+.[0-9]+.x" | |
types: [ opened, reopened, synchronize ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: 11 | |
distribution: 'temurin' | |
cache: 'maven' | |
- name: Build and run Unit tests | |
run: mvn install --file pom.xml --no-transfer-progress -Dno-format | |
- name: Save Build Context | |
run: echo "$GITHUB_CONTEXT" > target/build-context.json | |
env: | |
GITHUB_CONTEXT: ${{ toJson(github) }} | |
- name: Attach Build Output | |
uses: actions/upload-artifact@v3 | |
with: | |
name: target | |
path: | | |
**/target/ | |
!**/target/**/*.jar |