Skip to content

Commit

Permalink
[DMR-51] Add GitHub action for Continuous Integration
Browse files Browse the repository at this point in the history
JIRA: https://issues.redhat.com/browse/DMR-51

Signed-off-by: Jeff Mesnil <jmesnil@redhat.com>
  • Loading branch information
jmesnil committed Aug 3, 2023
1 parent bf83ae8 commit 7da82c9
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Build JBoss DMR

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

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 with Maven
run: mvn -B package --file pom.xml
- name: Submit Dependency Snapshot
uses: advanced-security/maven-dependency-submission-action@v3

0 comments on commit 7da82c9

Please sign in to comment.