diff --git a/.github/workflows/qemy-test.yml b/.github/workflows/qemy-test.yml index 80ce11cb4bf..87a9e720b06 100644 --- a/.github/workflows/qemy-test.yml +++ b/.github/workflows/qemy-test.yml @@ -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 $? diff --git a/.github/workflows/scripts/qemu.sh b/.github/workflows/scripts/qemu.sh index 377869c00a3..115bc7528f9 100644 --- a/.github/workflows/scripts/qemu.sh +++ b/.github/workflows/scripts/qemu.sh @@ -83,4 +83,5 @@ elif [ $RET -eq 2 ]; then else echo "启动失败,退出码 $RET" fi -exit $RET \ No newline at end of file + +exit $RET