Skip to content

Commit

Permalink
Create maven.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
akmsw authored Sep 7, 2022
1 parent a8d4f27 commit 9c2fd70
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: build

# La acción se va a correr ante un 'push' o 'pull request' en la rama 'develop'.
on:
push:
branches: [ "develop" ]
pull_request:
branches: [ "develop" ]

jobs:
build:

# Verificar que corra en Ubuntu es suficiente.
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: xvfb-run mvn -B package --file pom.xml

0 comments on commit 9c2fd70

Please sign in to comment.