update CI script

This commit is contained in:
longpanda 2021-01-29 14:26:02 +08:00
parent 715f410832
commit b1ad99cde0
3 changed files with 6 additions and 3 deletions

View File

@ -27,4 +27,7 @@ jobs:
with: with:
name: ventoy-livecd name: ventoy-livecd
path: INSTALL/ventoy-*livecd* path: INSTALL/ventoy-*livecd*
- uses: actions/upload-artifact@v2
with:
name: build-log
path: DOC/build.log

View File

@ -14,4 +14,4 @@ CMD cd /ventoy \
&& wget -O EDK2/edk2-edk2-stable201911.zip https://codeload.github.com/tianocore/edk2/zip/edk2-stable201911 \ && wget -O EDK2/edk2-edk2-stable201911.zip https://codeload.github.com/tianocore/edk2/zip/edk2-stable201911 \
&& wget -P /opt/ https://releases.linaro.org/components/toolchain/binaries/7.4-2019.02/aarch64-linux-gnu/gcc-linaro-7.4.1-2019.02-x86_64_aarch64-linux-gnu.tar.xz \ && wget -P /opt/ https://releases.linaro.org/components/toolchain/binaries/7.4-2019.02/aarch64-linux-gnu/gcc-linaro-7.4.1-2019.02-x86_64_aarch64-linux-gnu.tar.xz \
&& wget -P /opt/ https://toolchains.bootlin.com/downloads/releases/toolchains/aarch64/tarballs/aarch64--uclibc--stable-2020.08-1.tar.bz2 \ && wget -P /opt/ https://toolchains.bootlin.com/downloads/releases/toolchains/aarch64/tarballs/aarch64--uclibc--stable-2020.08-1.tar.bz2 \
&& cd INSTALL && ls -la && sh all_in_one.sh CI && cd INSTALL && ls -la && sh all_in_one.sh CI > DOC/build.log 2>&1

View File

@ -64,7 +64,7 @@ cd $VTOY_PATH/INSTALL
if [ "$1" = "CI" ]; then if [ "$1" = "CI" ]; then
Ver=$(date +%m%d%H%M) Ver=$(date +%m%d%H%M)
sed "s/VENTOY_VERSION=.*/VENTOY_VERSION=$Ver/" -i ./grub/grub.cfg sed "s/VENTOY_VERSION=.*/VENTOY_VERSION=\"$Ver\"/" -i ./grub/grub.cfg
fi fi
sh ventoy_pack.sh || exit 1 sh ventoy_pack.sh || exit 1