From baad141feb65470c2b1bba2933d4c2173b7776cf Mon Sep 17 00:00:00 2001 From: Ethan Dye Date: Mon, 27 May 2024 01:32:01 -0600 Subject: [PATCH] Update deprecated GH Actions options Signed-off-by: Ethan Dye --- .github/workflows/test-action.yml | 4 ++-- tests/image.bash | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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