forked from redrsoe2100/os-autotest
ci: fix GITHUB_WORKSPACE
This commit is contained in:
2
.github/workflows/qemy-test.yml
vendored
2
.github/workflows/qemy-test.yml
vendored
@@ -32,7 +32,7 @@ jobs:
|
||||
echo "Download $FILE_NAME ..."
|
||||
rm -f openruyi-virt_riscv64.qcow2*
|
||||
wget -q --show-progress -O "/test/images/openruyi/openruyi-virt_riscv64.qcow2" "${QEMU_IMG}"
|
||||
bash "${{ github.workspace }}/.github/workflows/scripts/qemu.sh"
|
||||
bash "$GITHUB_WORKSPACE/.github/workflows/scripts/qemu.sh"
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "Fail to start QEMU VM!"
|
||||
exit $?
|
||||
|
||||
1
.github/workflows/scripts/qemu.sh
vendored
1
.github/workflows/scripts/qemu.sh
vendored
@@ -83,4 +83,5 @@ elif [ $RET -eq 2 ]; then
|
||||
else
|
||||
echo "启动失败,退出码 $RET"
|
||||
fi
|
||||
|
||||
exit $RET
|
||||
Reference in New Issue
Block a user