diff --git a/.github/workflows/test-action.yml b/.github/workflows/test-action.yml index 4d648a3..8abb63d 100644 --- a/.github/workflows/test-action.yml +++ b/.github/workflows/test-action.yml @@ -29,8 +29,8 @@ jobs: sudo add-apt-repository ppa:canonical-server/server-backports sudo apt-get update sudo apt-get install --yes gnupg xz-utils expect systemd-container qemu-user-static qemu-utils qemu-system-arm - echo "::set-output name=imagexz::$(basename "$(curl "https://downloads.raspberrypi.org/raspios_lite_armhf_latest" -s -L -I -o /dev/null -w '%{url_effective}')")" - echo "::set-output name=image::$(echo "$(basename "$(curl "https://downloads.raspberrypi.org/raspios_lite_armhf_latest" -s -L -I -o /dev/null -w '%{url_effective}')")" | sed -e 's/.xz//')" + echo "imagexz=$(basename "$(curl "https://downloads.raspberrypi.org/raspios_lite_armhf_latest" -s -L -I -o /dev/null -w '%{url_effective}')")" >> $GITHUB_OUTPUT + echo "image=$(echo "$(basename "$(curl "https://downloads.raspberrypi.org/raspios_lite_armhf_latest" -s -L -I -o /dev/null -w '%{url_effective}')")" | sed -e 's/.xz//')" >> $GITHUB_OUTPUT - name: Cache Raspberry Pi OS 32bit image uses: actions/cache@v4 with: diff --git a/tests/image.bash b/tests/image.bash index b868be5..7918702 100755 --- a/tests/image.bash +++ b/tests/image.bash @@ -25,7 +25,7 @@ if [[ $1 == "setup" ]]; then gpg -q --trust-model always --verify "${2}.sig" "$2" xz "$2" -d fi - qemu-img resize -f raw "$3" 4G + qemu-img resize -f raw "$3" 6G echo ", +" | sfdisk -N 2 "$3" imageFile "mount" "$3" rsync -avr --exclude="*.img" --exclude="*.sig" --exclude="tests/fs" --exclude="tests/dtb" --exclude="tests/kernel" ./ tests/fs/opt/zram