File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Expand file tree Collapse file tree 1 file changed +30
-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 : Test
5
+
6
+ on :
7
+ - pull_request
8
+
9
+ jobs :
10
+ build :
11
+
12
+ runs-on : ubuntu-latest
13
+
14
+ steps :
15
+ - uses : actions/checkout@v2
16
+ - name : Set up JDK 8
17
+ uses : actions/setup-java@v2
18
+ with :
19
+ java-version : ' 8'
20
+ distribution : ' temurin'
21
+ cache : maven
22
+ - name : Set up Python 3.6
23
+ uses : actions/setup-python@v2
24
+ with :
25
+ python-version : ' 3.6'
26
+
27
+ - name : Build with Maven
28
+ run : mvn -B package --file pom.xml
29
+ - name : Show Python version
30
+ run : python3 --version
You can’t perform that action at this time.
0 commit comments