echo when snapcraft not installed

This commit is contained in:
Kyle Spearrin 2020-09-30 13:28:06 -04:00
parent 9db307555b
commit dc192b75a1
1 changed files with 2 additions and 3 deletions

View File

@ -46,8 +46,7 @@ jobs:
- name: Set up snap
if: github.event_name == 'release'
run: |
#sudo snap install snapcraft --classic
#echo "::add-path::/snap/bin"
sudo snap install snapcraft --classic
echo "$SNAP_TOKEN" | snapcraft login --with -
env:
SNAP_TOKEN: ${{ secrets.SNAP_TOKEN }}
@ -57,7 +56,7 @@ jobs:
node --version
npm --version
snap --version
snapcraft --version
snapcraft --version || echo 'snapcraft unavailable'
- name: Checkout repo
uses: actions/checkout@v2