File tree Expand file tree Collapse file tree 1 file changed +5
-11
lines changed
Expand file tree Collapse file tree 1 file changed +5
-11
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://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-maven
3-
4- # This workflow uses actions that are not certified by GitHub.
5- # They are provided by a third-party and are governed by
6- # separate terms of service, privacy policy, and support
7- # documentation.
8-
91name : Java CI with Maven
102
113on :
168
179jobs :
1810 build :
19-
2011 runs-on : ubuntu-latest
2112
2213 steps :
2718 java-version : ' 8'
2819 distribution : ' temurin'
2920 cache : maven
30- - name : Install thrift # <-- Move this step up
21+ - name : Install thrift
3122 run : |
23+ sudo apt-get update
24+ sudo apt-get install -y software-properties-common
25+ sudo add-apt-repository -y ppa:thrift/ppa
3226 sudo apt-get update
3327 sudo apt-get install -y thrift
3428 - name : Build with Maven
35- run : mvn -B package --file pom.xml
29+ run : mvn -B package --file pom.xml
You can’t perform that action at this time.
0 commit comments