From ba9143e9f68494dc55b53c1c39191829915c42e1 Mon Sep 17 00:00:00 2001 From: Marco Trevisan Date: Wed, 27 Dec 2023 21:47:22 +0100 Subject: [PATCH] cleanup: Do not use deprecated ghvmctl snap commands (#22) --- get-screenshots/action.yaml | 6 +++--- setup-ghvmctl/README.md | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/get-screenshots/action.yaml b/get-screenshots/action.yaml index 5ed8357..2238e20 100644 --- a/get-screenshots/action.yaml +++ b/get-screenshots/action.yaml @@ -71,13 +71,13 @@ runs: if ls manifest-amd64.yaml &>/dev/null; then rev="$(yq -r '.revision' manifest-amd64.yaml)" echo "Installing snap revision '${rev}' from build manifest" - ghvmctl install-snap "${snap_name}" --revision "${rev}" + ghvmctl snap-install "${snap_name}" --revision "${rev}" else echo "Installing snap from 'latest/${{ inputs.channel}}'" - ghvmctl install-snap "${snap_name}" --channel "latest/${{ inputs.channel }}" + ghvmctl snap-install "${snap_name}" --channel "latest/${{ inputs.channel }}" fi - ghvmctl run-snap "${snap_name}" + ghvmctl snap-run "${snap_name}" sleep 60 - name: Gather screenshots diff --git a/setup-ghvmctl/README.md b/setup-ghvmctl/README.md index c9980e2..e409e25 100644 --- a/setup-ghvmctl/README.md +++ b/setup-ghvmctl/README.md @@ -21,8 +21,8 @@ jobs: run: | # Prepare the VM, install and launch the app on the desktop ghvmctl prepare - ghvmctl install-snap signal-desktop --channel candidate - ghvmctl run-snap signal-desktop + ghvmctl snap-install signal-desktop --channel candidate + ghvmctl snap-run signal-desktop - name: Take screenshots & output logs run: |