Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: java with maven

on:
push:
branches: [master]
pull_request:
branches: [master]

jobs:
Build:

runs-on: ubuntu-latest

steps:
######## Checkout code ########
- name: 'Checkout repository on branch: ${{ github.REF }}'
uses: actions/checkout@v2
continue-on-error: ${{ env.CONTINUE_ON_ERROR }}
with:
ref: ${{ github.REF }}
fetch-depth: 0
######## Build - Maven ########
- name: Build with Maven
id: build_maven
if: ${{ env.BUILD_TECH == 'java_maven' }}
run: |
mvn ${{ env.MVN_ARGS }}
continue-on-error: ${{ env.CONTINUE_ON_ERROR }}