File tree Expand file tree Collapse file tree 1 file changed +20
-21
lines changed Expand file tree Collapse file tree 1 file changed +20
-21
lines changed Original file line number Diff line number Diff line change @@ -2,36 +2,35 @@ name: workflow of java springboot
2
2
3
3
on :
4
4
push :
5
- branches :
6
- - dev
5
+ branches :
6
+ - dev
7
7
8
8
jobs :
9
9
build :
10
- runs-on : ubuntu latest
10
+ runs-on : ubuntu- latest
11
11
12
- steps :
13
- - name : Checkout Code
14
- uses : actions/checkout@v2
12
+ steps :
13
+ - name : Checkout Code
14
+ uses : actions/checkout@v2
15
15
16
- - name : Set Up JDK 17
17
- uses : actions/setup-java@v2
18
- with :
19
- java-version : ' 17'
20
- distribution : ' temurin'
16
+ - name : Set Up JDK 17
17
+ uses : actions/setup-java@v2
18
+ with :
19
+ java-version : ' 17'
20
+ distribution : ' temurin'
21
21
22
- - name : Cache Maven Dependencies
23
- uses : actions/cache@v3
24
- with :
22
+ - name : Cache Maven Dependencies
23
+ uses : actions/cache@v3
24
+ with :
25
25
path : ~/.m2/repository
26
26
key : ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
27
27
restore-keys : |
28
28
${{ runner.os }}-maven-
29
29
30
- - name : Get Maven Build Version
31
- id : get-verison
32
- run : |
33
- echo "version=$(mvn help:evlatue -Dexpression=project.version -q -DforceStdout | tail -1)" >> $GITHUB_OUTPUT
34
- Shell : bash
30
+ - name : Get Maven Build Version
31
+ id : get-version
32
+ run : |
33
+ echo "version=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout | tail -1)" >> $GITHUB_OUTPUT
35
34
36
- - name : Build with Maven
37
- run : mvn clean package # / mvn build , mvn test path- /. src/tests/com/optum/optumlabs/AuthBridge/AuthBridgeControllerTest.java
35
+ - name : Build with Maven
36
+ run : mvn clean package
You can’t perform that action at this time.
0 commit comments