File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Trino
2+ on :
3+ workflow_dispatch :
4+ inputs :
5+ trino-version :
6+ required : true
7+ description : The Trino version (e.g. 378), should be compatible with the patch
8+
9+
10+ jobs :
11+ build :
12+ name : Trino Build
13+ runs-on : ubuntu-20.04
14+ steps :
15+ - uses : actions/setup-java@v3
16+ with :
17+ distribution : ' zulu'
18+ java-version : 17
19+ cache : ' maven'
20+ - name : Clone
21+ run : git clone --depth 1 --branch ${{ github.event.inputs.trino-version }} https://github.com/trinodb/trino.git
22+ - name : Patch
23+ run : |
24+ sed -i '/verifyJvmRequirements()/d' core/trino-main/src/main/java/io/trino/server/Server.java
25+ sed -i '/import static io.trino.server.TrinoSystemRequirements.verifyJvmRequirements;/d' core/trino-main/src/main/java/io/trino/server/Server.java
26+ - name : Build
27+ run : ./mvnw -pl core/trino-server clean install -DskipTests
28+ - uses : actions/upload-artifact@v3
29+ with :
30+ name : trino-server-${{ github.event.inputs.trino-version }}
31+ path : core/trino-server/target/trino-server-${{ github.event.inputs.trino-version }}.tar.gz
You can’t perform that action at this time.
0 commit comments