Skip to content

Commit cacb13e

Browse files
committed
update github workflows, add Install thrift
1 parent 6356f82 commit cacb13e

File tree

1 file changed

+5
-11
lines changed

1 file changed

+5
-11
lines changed

.github/workflows/maven-build.yml

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,3 @@
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-
91
name: Java CI with Maven
102

113
on:
@@ -16,7 +8,6 @@ on:
168

179
jobs:
1810
build:
19-
2011
runs-on: ubuntu-latest
2112

2213
steps:
@@ -27,9 +18,12 @@ jobs:
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

0 commit comments

Comments
 (0)