File tree Expand file tree Collapse file tree 2 files changed +51
-0
lines changed
Expand file tree Collapse file tree 2 files changed +51
-0
lines changed Original file line number Diff line number Diff line change 1+ # This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
2+ # For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
3+
4+ name : Java CI with Maven
5+
6+ on :
7+ push :
8+ branches :
9+ - feature/*
10+
11+ jobs :
12+ build :
13+
14+ runs-on : ubuntu-latest
15+
16+ steps :
17+ - uses : actions/checkout@v3
18+ - name : Set up JDK 1.8
19+ uses : actions/setup-java@v3
20+ with :
21+ java-version : ' 1.8'
22+ distribution : ' temurin'
23+ cache : maven
24+ - name : Build with Maven
25+ run : mvn -B package --file pom.xml
Original file line number Diff line number Diff line change 1+ # This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
2+ # For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
3+
4+ name : Java CI with Maven
5+
6+ on :
7+ push :
8+ branches : [ "feature/*" ]
9+ pull_request :
10+ branches : [ "feature/*" ]
11+
12+ jobs :
13+ build :
14+
15+ runs-on : ubuntu-latest
16+
17+ steps :
18+ - uses : actions/checkout@v3
19+ - name : Set up JDK 1.8
20+ uses : actions/setup-java@v3
21+ with :
22+ java-version : ' 1.8'
23+ distribution : ' temurin'
24+ cache : maven
25+ - name : Build with Maven
26+ run : mvn -B package --file pom.xml
You can’t perform that action at this time.
0 commit comments