-
-
Notifications
You must be signed in to change notification settings - Fork 8
42 lines (32 loc) · 931 Bytes
/
java_build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: Java Build
on:
workflow_dispatch:
pull_request:
types: [opened, reopened, edited, synchronize]
paths:
- 'Software/LMSourceCode/ImageProcessing/golfsim_tomee_webapp/**.java'
- 'Software/LMSourceCode/ImageProcessing/golfsim_tomee_webapp/**.xml'
jobs:
Setup:
name: Setup
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Java 17
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 17
cache: maven
- name: Set up Maven
uses: stCarolas/[email protected]
with:
maven-version: 3.9.2
- name: Branch Name
id: extract_branch
run: |
echo $BRANCH_NAME
shell: bash
- name: Maven Build
run: mvn -B package --file Software/LMSourceCode/ImageProcessing/golfsim_tomee_webapp/pom.xml