Skip to content

Commit

Permalink
Installer SnapCraft
Browse files Browse the repository at this point in the history
  • Loading branch information
julienmalard committed Aug 23, 2023
1 parent 77bd572 commit f5566a4
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,14 @@ jobs:
RELEASE_NOTE: ${{ needs.draft.outputs.release-note }}
run: echo "$RELEASE_NOTE" >> ./buildResources/release-notes.md

- name: Install Snapcraft
uses: samuelmeuli/action-snapcraft@v1
# Only install Snapcraft on Ubuntu
if: startsWith(matrix.os, 'ubuntu')
with:
# Log in to Snap Store
snapcraft_token: ${{ secrets.SNAPCRAFT_TOKEN }}

# Compile app and upload artifacts
- name: Compile & release Electron app
uses: samuelmeuli/action-electron-builder@v1
Expand All @@ -109,6 +117,7 @@ jobs:

# If the commit is tagged with a version (e.g. "v1.0.0"),
# release the app after building
# ${{ startsWith(github.ref, 'refs/tags/v') }}
release: true

# Sometimes the build may fail due to a connection problem with Apple, GitHub, etc. servers.
Expand Down

0 comments on commit f5566a4

Please sign in to comment.