File tree 1 file changed +6
-5
lines changed
1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -46,12 +46,16 @@ jobs:
46
46
container : centos:7
47
47
steps :
48
48
- name : Checkout repository
49
- uses : actions/checkout@v1
49
+ uses : actions/checkout@v1
50
+ - name : Setup Java
51
+ uses : actions/setup-java@v1
52
+ with :
53
+ java-version : 8
50
54
- name : Install environment
51
55
run : |
52
56
yum -y update
53
57
yum -y install centos-release-scl-rh epel-release
54
- yum -y install java-1.8.0-openjdk-devel devtoolset-7
58
+ yum -y install devtoolset-7
55
59
echo Downloading Maven
56
60
curl -L https://archive.apache.org/dist/maven/maven-3/3.6.3/binaries/apache-maven-3.6.3-bin.tar.gz -o $HOME/apache-maven-3.6.3-bin.tar.gz
57
61
tar xzf $HOME/apache-maven-3.6.3-bin.tar.gz -C /opt/
63
67
echo $JAVA_HOME
64
68
mvn -version
65
69
mvn clean install -Pdev -B -U -e -Dlint.skip=true
66
- - name : Run lint checks
67
- run : |
68
- mvn compiler:compile -Pdev -B -U -e
69
70
check-format :
70
71
if : github.event_name == 'pull_request'
71
72
runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments