Skip to content

Commit

Permalink
adding snapcraft action
Browse files Browse the repository at this point in the history
  • Loading branch information
manuelernestog committed Feb 12, 2024
1 parent d21754d commit 83f009c
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -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
Expand Down

0 comments on commit 83f009c

Please sign in to comment.