diff --git a/.github/workflows/actions/setup-qemu/action.yml b/.github/workflows/actions/setup-qemu/action.yml index c43e074e62..9fb01938ec 100644 --- a/.github/workflows/actions/setup-qemu/action.yml +++ b/.github/workflows/actions/setup-qemu/action.yml @@ -37,8 +37,8 @@ runs: run: | git clone https://github.com/foxsen/qemu.git $QEMU_PATH cd $QEMU_PATH - && git checkout loongarch \ - && ./configure --prefix=$PREFIX --target-list=loongarch64-softmmu \ + git checkout loongarch + ../configure --prefix=$PREFIX --target-list=loongarch64-softmmu \ && make -j > /dev/null 2>&1 \ && make install