Skip to content

Commit 5fd5d4f

Browse files
committed
Build missing Trino dependencies from sources
1 parent 806280e commit 5fd5d4f

3 files changed

Lines changed: 21 additions & 9 deletions

File tree

.github/workflows/maven.yaml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ jobs:
1111
build:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v4
14+
- uses: actions/checkout@v5
1515
- name: Set up the JDK
16-
uses: actions/setup-java@v4
16+
uses: actions/setup-java@v5
1717
with:
1818
java-version: '24'
1919
distribution: 'temurin'
@@ -23,8 +23,16 @@ jobs:
2323
run: |
2424
echo "::add-matcher::.github/problem-matcher.json"
2525
echo "::remove-matcher owner=java::"
26+
27+
- uses: actions/checkout@v5
28+
repository: trinodb/trino
29+
path: trino
30+
- name: Build Trino
31+
run: cd trino && ./mvnw -B install -DskipTests -Dair.check.skip-all -Dskip.npm -pl ':trino-main,:trino-testing,:trino-memory,:trino-tpch' -am
32+
2633
- name: Build with Maven
2734
run: ./mvnw -B package
35+
2836
- name: Annotate run
2937
uses: trinodb/github-actions/action-surefire-report@b63800bedfbc7ab1ff2e5fe7eaecf5ab82ce6a70
3038
if: always()

.github/workflows/release.yaml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,36 +12,37 @@ jobs:
1212
contents: write
1313
packages: write
1414
steps:
15-
- uses: actions/checkout@v4
15+
- uses: actions/checkout@v5
1616
with:
1717
fetch-depth: 0
18-
19-
- name: Set up the JDK
20-
uses: actions/setup-java@v4
18+
- uses: actions/setup-java@v5
2119
with:
2220
java-version: '24'
2321
distribution: 'temurin'
2422
cache: 'maven'
25-
2623
- name: Configure Problem Matchers
2724
run: |
2825
echo "::add-matcher::.github/problem-matcher.json"
2926
echo "::remove-matcher owner=java::"
30-
3127
- name: Configure Git user
3228
run: |
3329
git config user.name "${{ github.event.head_commit.committer.name }}"
3430
git config user.email "${{ github.event.head_commit.committer.email }}"
3531
3632
- name: Set up Docker Buildx
3733
uses: docker/setup-buildx-action@v3
38-
3934
- name: Login to Docker Hub
4035
uses: docker/login-action@v3
4136
with:
4237
username: ${{ secrets.DOCKERHUB_USERNAME }}
4338
password: ${{ secrets.DOCKERHUB_TOKEN }}
4439

40+
- uses: actions/checkout@v5
41+
repository: trinodb/trino
42+
path: trino
43+
- name: Build Trino
44+
run: cd trino && ./mvnw -B install -DskipTests -Dair.check.skip-all -Dskip.npm -pl ':trino-main,:trino-testing,:trino-memory,:trino-tpch' -am
45+
4546
- name: Prepare release
4647
run: ./mvnw -B release:prepare
4748

.mvn/maven.config

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
--strict-checksums
2+
-b
3+
smart

0 commit comments

Comments
 (0)