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: |