Skip to content

Commit

Permalink
ci(main-build): Add GitHub Actions main workflow (build.yml) (#256)
Browse files Browse the repository at this point in the history
  • Loading branch information
f-lopes authored Aug 22, 2024
1 parent bf9096e commit ffca958
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Build

on:
push:
branches:
- '**'
pull_request:
branches: [ main ]

jobs:
build:
name: "Build with ${{ matrix.java }}"
strategy:
matrix:
java: [ 11, 17 ]

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Setup java ${{ matrix.java }}
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java }}
distribution: 'temurin'
cache: 'maven'

- name: Build with Maven
run: mvn -B verify

0 comments on commit ffca958

Please sign in to comment.