Also upload jdk for anyone need it

This commit is contained in:
khanhduytran0 2021-02-19 07:29:37 +07:00
parent 8e59694493
commit 779d5c021a
6 changed files with 9 additions and 4 deletions

View File

@ -21,4 +21,4 @@ jobs:
uses: actions/upload-artifact@v2
with:
# name: jre
path: jre*.tar.xz
path: *.tar.xz

View File

@ -21,4 +21,4 @@ jobs:
uses: actions/upload-artifact@v2
with:
# name: jre
path: jre*.tar.xz
path: *.tar.xz

View File

@ -21,4 +21,4 @@ jobs:
uses: actions/upload-artifact@v2
with:
# name: jre
path: jre*.tar.xz
path: *.tar.xz

View File

@ -21,4 +21,4 @@ jobs:
uses: actions/upload-artifact@v2
with:
# name: jre
path: jre*.tar.xz
path: *.tar.xz

View File

@ -8,6 +8,7 @@ then
fi
cp -r openjdk/build/linux-${TARGET_JDK}-normal-${JVM_VARIANTS}-${JDK_DEBUG_LEVEL}/images/j2re-image jreout
cp -r openjdk/build/linux-${TARGET_JDK}-normal-${JVM_VARIANTS}-${JDK_DEBUG_LEVEL}/images/j2sdk-image jdkout
mv jreout/lib/${TARGET_JDK}/libfreetype.so.6 jreout/lib/${TARGET_JDK}/libfreetype.so || echo "Move exit $?"
# mv jreout/lib/${TARGET_JDK}/libfontmanager.diz jreout/lib/${TARGET_JDK}/libfontmanager.diz.keep
@ -15,3 +16,4 @@ mv jreout/lib/${TARGET_JDK}/libfreetype.so.6 jreout/lib/${TARGET_JDK}/libfreetyp
# mv jreout/lib/${TARGET_JDK}/libfontmanager.diz.keep jreout/lib/${TARGET_JDK}/libfontmanager.diz
find jreout -name "libjvm.diz" | xargs -- rm
find jdkout -name "*.diz" | xargs -- rm

View File

@ -3,3 +3,6 @@ set -e
mv jre_override/lib/* jreout/lib/
cd jreout
tar cJf ../jre8-${TARGET_SHORT}-`date +%Y%m%d`-${JDK_DEBUG_LEVEL}.tar.xz .
cd ../jdkout
tar cJf ../jdk8-${TARGET_SHORT}-`date +%Y%m%d`-${JDK_DEBUG_LEVEL}.tar.xz .