Skip to content

Commit

Permalink
cleanup: Do not use deprecated ghvmctl snap commands (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
3v1n0 authored Dec 27, 2023
1 parent f2333ed commit ba9143e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions get-screenshots/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions setup-ghvmctl/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit ba9143e

Please sign in to comment.