fix: build differently so arm64 can be generated (#946)

This commit is contained in:
Baptiste Augrain
2021-12-18 01:24:22 +01:00
committed by GitHub
parent 36b06dd66b
commit 02755e7599
6 changed files with 29 additions and 4 deletions

View File

@@ -109,10 +109,14 @@ jobs:
- name: Check deploy
run: ./stores/snapcraft/check_deploy.sh
- name: Build snap
uses: snapcore/action-build@v1
- name: Install Snapcraft with LXD
uses: samuelmeuli/action-snapcraft@v1
with:
path: stores/snapcraft
use_lxd: true
if: env.SHOULD_DEPLOY == 'yes'
- name: Build snap
run: ./stores/snapcraft/build.sh
if: env.SHOULD_DEPLOY == 'yes'
- name: Publish snap