Skip to content

Commit 6356f82

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

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

.github/workflows/maven-build.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,16 @@ jobs:
2020
runs-on: ubuntu-latest
2121

2222
steps:
23-
- uses: actions/checkout@v3
24-
- name: Set up JDK 8
25-
uses: actions/setup-java@v3
26-
with:
27-
java-version: '8'
28-
distribution: 'temurin'
29-
cache: maven
30-
- name: Build with Maven
31-
run: mvn -B package --file pom.xml
32-
- name: Install thrift
33-
run: |
34-
sudo apt-get update
35-
sudo apt-get install -y thrift
23+
- uses: actions/checkout@v3
24+
- name: Set up JDK 8
25+
uses: actions/setup-java@v3
26+
with:
27+
java-version: '8'
28+
distribution: 'temurin'
29+
cache: maven
30+
- name: Install thrift # <-- Move this step up
31+
run: |
32+
sudo apt-get update
33+
sudo apt-get install -y thrift
34+
- name: Build with Maven
35+
run: mvn -B package --file pom.xml

0 commit comments

Comments
 (0)