File tree Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -12,20 +12,23 @@ jobs:
1212 name : Trino Build
1313 runs-on : ubuntu-20.04
1414 steps :
15+ - name : Clone
16+ run : git clone --depth 1 --branch ${{ github.event.inputs.trino-version }} https://github.com/trinodb/trino.git
1517 - uses : actions/setup-java@v3
1618 with :
1719 distribution : ' zulu'
1820 java-version : 17
1921 cache : ' maven'
20- - name : Clone
21- run : git clone --depth 1 --branch ${{ github.event.inputs.trino-version }} https://github.com/trinodb/trino.git
2222 - name : Patch
2323 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
24+ sed -i '/verifyJvmRequirements()/d' trino/ core/trino-main/src/main/java/io/trino/server/Server.java
25+ sed -i '/import static io.trino.server.TrinoSystemRequirements.verifyJvmRequirements;/d' trino/ core/trino-main/src/main/java/io/trino/server/Server.java
2626 - name : Build
27+ working-directory : ./trino
2728 run : ./mvnw -pl core/trino-server clean install -DskipTests
28- - uses : actions/upload-artifact@v3
29+ - name : Release
30+ uses : softprops/action-gh-release@v1
2931 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
32+ tag_name : trino-server-${{ github.event.inputs.trino-version }}
33+ body : Custom build of Trino Server version ${{ github.event.inputs.trino-version }} disabling file descriptor checks
34+ files : trino/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