fix: install snapcraft to check version (#951)

This commit is contained in:
Baptiste Augrain 2021-12-18 03:09:27 +01:00 committed by GitHub
parent 3b6954231f
commit e5de9c3096
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,6 +13,8 @@ elif [[ "${GITHUB_EVENT_NAME}" == "push" ]]; then
else
echo "It's a cron"
sudo snap install --channel stable --classic snapcraft
echo "$SNAP_STORE_LOGIN" | snapcraft login --with -
ARCHITECTURE=$(dpkg --print-architecture)