From b70dea7acf2d88557a400f0d2fcbef0320f9271e Mon Sep 17 00:00:00 2001 From: Joseph Flinn Date: Wed, 27 Jan 2021 22:19:59 +0000 Subject: [PATCH] making sure that dist/snap exists --- .github/workflows/build.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index db67ee4336..ffc4206535 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -196,17 +196,17 @@ jobs: - name: Build Snap Package run: | - mkdir ./dist - cp -r ./stores/snap -t ./dist/snap - sed -i s/__version__/${{ env.PACKAGE_VERSION }}/g ./dist/snap/snapcraft.yaml + mkdir -p dist/snap + cp -r stores/snap -t dist/snap + sed -i s/__version__/${{ env.PACKAGE_VERSION }}/g dist/snap/snapcraft.yaml - cd ./dist/snap + cd dist/snap snapcraft sha256sum bw_${{ env.PACKAGE_VERSION }}_amd64.snap | awk '{split($0, a); print a[1]}' > bw-snap-sha256-${{ env.PACKAGE_VERSION }}.txt - name: Install Snap - run: sudo snap install ./dist/snap/bw*.snap --dangerous + run: sudo snap install dist/snap/bw*.snap --dangerous - name: Test Snap shell: pwsh