Skip to content

Commit

Permalink
Deploy snap
Browse files Browse the repository at this point in the history
  • Loading branch information
pbek authored Sep 23, 2020
1 parent f5e4426 commit 895299f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ jobs:
uses: samuelmeuli/action-snapcraft@v1
with:
use_lxd: true
snapcraft_token: ${{ secrets.SNAP_TOKEN_GH }}
- name: Cache Qt
id: cache-qt
uses: actions/cache@v1
Expand Down Expand Up @@ -235,6 +236,13 @@ jobs:
asset_path: ./qownnotes_${{ env.VERSION }}_amd64.snap
asset_name: QOwnNotes-amd64.snap
asset_content_type: application/vnd.snap
- if: contains( matrix.os, 'ubuntu-latest')
name: Deploy Snap
shell: bash
run: |
if [ -n "$(ls *.snap 2>/dev/null)" ]; then
sudo snapcraft push *.snap --release edge
fi
- if: contains( matrix.os, 'ubuntu-16')
name: Release AppImage for Linux
Expand Down

0 comments on commit 895299f

Please sign in to comment.