From bd0a49d617f6db970fc0fb59a464b0035d897664 Mon Sep 17 00:00:00 2001 From: Joseph Flinn Date: Mon, 11 Jan 2021 15:30:36 +0000 Subject: [PATCH] switching from pwsh to bash for the snap build --- .github/workflows/build.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 296489201f..c913999e37 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -247,6 +247,23 @@ jobs: GITHUB_EVENT: ${{ github.event_name }} - name: Build Snap Package + run: | + cp -r stores/snap -t /dist/snap + ls -atlh dist + ls -alth dist/snap + + sed -i s/__version__/${{ env.PACKAGE_VERSION }}/g dist/snap/snapcraft.yaml + + cd dist/snap + ls -atlh + snapcraft + cd ../.. + ls -atlh + + snap install ./dist/snap/bw*.snap --dangerous + + - name: Build Snap Package + if: false shell: pwsh run: | #./scripts/snap-build.ps1 -version $env:PACKAGE_VERSION