Skip to content

Commit 7784d74

Browse files
committed
fix ci issue
1 parent fbf790c commit 7784d74

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

.github/workflows/test-qemu.yml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -50,17 +50,9 @@ jobs:
5050
5151
- name: Download IMAGES
5252
run: |
53-
IMAGES_URL="https://github.com/arceos-hypervisor/axvisor-guest/releases/download/v0.0.20/${{ matrix.vmimage_name }}.tar.gz"
54-
IMAGES_DIR="/tmp/axvisor/images/${{ matrix.vmimage_name }}"
53+
IMAGES_DIR="/tmp/axvisor/${{ matrix.vmimage_name }}"
5554
ROOTFS_IMG_PATH="${IMAGES_DIR}/rootfs.img"
56-
mkdir -p "${IMAGES_DIR}"
57-
echo "Downloading rootfs from ${IMAGES_URL}"
58-
curl -L "${IMAGES_URL}" -o "${IMAGES_DIR}/${{ matrix.vmimage_name }}.tar.gz"
59-
60-
# Extract the tar.gz file
61-
echo "Extracting archive to ${IMAGES_DIR}"
62-
tar -xzf "${IMAGES_DIR}/${{ matrix.vmimage_name }}.tar.gz" -C "${IMAGES_DIR}"
63-
55+
6456
# Check if rootfs.img exists after extraction
6557
if [ -f "${ROOTFS_IMG_PATH}" ]; then
6658
echo "Found rootfs.img, patching qemu-aarch64.toml file..."

0 commit comments

Comments
 (0)