From 83f009cff7b2a4ebc4ccf9b47c2cc79d942e55cc Mon Sep 17 00:00:00 2001 From: Manuel Ernesto Garcia Date: Mon, 12 Feb 2024 13:28:59 -0500 Subject: [PATCH] adding snapcraft action --- .github/workflows/release.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index add3945..6a985a1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -34,6 +34,10 @@ jobs: sudo dpkg --add-architecture i386 sudo apt-get update sudo apt-get install wine wine32 + sudo apt-get install bsdtar + sudo apt-get update -qq + sudo apt-get install snapd + sudo snap install snapcraft --classic - name: build-linux if: matrix.os == 'ubuntu-latest' @@ -51,6 +55,15 @@ jobs: GH_TOKEN: ${{ secrets.GH_TOKEN }} VUE_APP_SENTRY_DNS: ${{ secrets.VUE_APP_SENTRY_DNS }} + - name: build-linux-snap + if: matrix.os == 'ubuntu-latest' + run: | + yarn electron:build --linux snap -p always + env: + GH_TOKEN: ${{ secrets.GH_TOKEN }} + VUE_APP_SENTRY_DNS: ${{ secrets.VUE_APP_SENTRY_DNS }} + SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_STORE_CREDENTIALS }} + - name: build-mac if: matrix.os == 'macos-latest' run: yarn run electron:build