File tree Expand file tree Collapse file tree 2 files changed +19
-3
lines changed Expand file tree Collapse file tree 2 files changed +19
-3
lines changed Original file line number Diff line number Diff line change 1010 MAVEN_INSTALL_OPTS : " -Xmx2G -XX:+ExitOnOutOfMemoryError"
1111 MAVEN_FAST_INSTALL : " -B -V --quiet -T 1C -DskipTests -Dair.check.skip-all --no-transfer-progress -Dmaven.javadoc.skip=true"
1212 RETRY : .github/bin/retry
13+ PLUGIN_TO_EXCLUDE : native-sql-invoked-functions-plugin
1314
1415jobs :
1516 changes :
@@ -57,10 +58,12 @@ jobs:
5758 distribution : ' temurin'
5859 java-version : ${{ matrix.java }}
5960 cache : ' maven'
60- - name : List Presto plugin directories
61+ - name : Exclude plugins
6162 run : |
62- ls -l /usr/lib/presto/plugin
63- ls -l /presto/plugin
63+ if [ -d "/var/presto/plugin/${PLUGIN_TO_EXCLUDE}" ]; then
64+ echo "Excluding plugin: $PLUGIN_TO_EXCLUDE"
65+ rm -rf "/var/presto/plugin/${PLUGIN_TO_EXCLUDE}"
66+ fi
6467 - name : Download nodejs to maven cache
6568 if : needs.changes.outputs.codechange == 'true'
6669 run : .github/bin/download_nodejs
Original file line number Diff line number Diff line change 1010 MAVEN_INSTALL_OPTS : " -Xmx2G -XX:+ExitOnOutOfMemoryError"
1111 MAVEN_FAST_INSTALL : " -B -V --quiet -T 1C -DskipTests -Dair.check.skip-all --no-transfer-progress -Dmaven.javadoc.skip=true"
1212 RETRY : .github/bin/retry
13+ PLUGIN_TO_EXCLUDE : native-sql-invoked-functions-plugin
1314
1415jobs :
1516 changes :
5758 distribution : ' temurin'
5859 java-version : ${{ matrix.java }}
5960 cache : ' maven'
61+ - name : Exclude plugins
62+ run : |
63+ if [ -d "/var/presto/plugin/${PLUGIN_TO_EXCLUDE}" ]; then
64+ echo "Excluding plugin: $PLUGIN_TO_EXCLUDE"
65+ rm -rf "/var/presto/plugin/${PLUGIN_TO_EXCLUDE}"
66+ fi
6067 - name : Download nodejs to maven cache
6168 if : needs.changes.outputs.codechange == 'true'
6269 run : .github/bin/download_nodejs
@@ -123,6 +130,12 @@ jobs:
123130 distribution : ' temurin'
124131 java-version : ${{ matrix.java }}
125132 cache : ' maven'
133+ - name : Exclude plugins
134+ run : |
135+ if [ -d "/var/presto/plugin/${PLUGIN_TO_EXCLUDE}" ]; then
136+ echo "Excluding plugin: $PLUGIN_TO_EXCLUDE"
137+ rm -rf "/var/presto/plugin/${PLUGIN_TO_EXCLUDE}"
138+ fi
126139 - name : Download nodejs to maven cache
127140 if : needs.changes.outputs.codechange == 'true'
128141 run : .github/bin/download_nodejs
You can’t perform that action at this time.
0 commit comments