From dc192b75a1b83ed998f68060efda841722e74622 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Wed, 30 Sep 2020 13:28:06 -0400 Subject: [PATCH] echo when snapcraft not installed --- .github/workflows/build.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ba3cfa659a..074c838432 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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