Skip to content

Commit

Permalink
sdkman
Browse files Browse the repository at this point in the history
  • Loading branch information
chensoul committed Nov 6, 2024
1 parent 4365f8b commit 17416e2
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/maven-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Maven Build

on:
workflow_dispatch:
push:
branches:
- main
pull_request:
types: [ opened, synchronize, reopened ]
branches:
- main

jobs:
build-and-analyse:
runs-on: ubuntu-latest
strategy:
matrix:
java: [ '8' ]
steps:
- uses: actions/checkout@v4
- name: Set up JDK ${{matrix.java}}
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: ${{matrix.java}}
cache: 'maven'

- name: Test with Maven
run: ./mvnw clean test -ntp -B
2 changes: 2 additions & 0 deletions .sdkmanrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
java=8.0.432-zulu
maven=3.9.9

0 comments on commit 17416e2

Please sign in to comment.