Skip to content

Commit

Permalink
Update build-release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
pbek authored Sep 20, 2020
1 parent 9d531ce commit 3aeb109
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ jobs:
# make
- if: contains( matrix.os, 'ubuntu-latest')
name: Build for Snapcraft
run: cd .. && sg lxd -c 'snapcraft --use-lxd'
run: cd .. && sg lxd -c 'snapcraft --use-lxd' && ls

- if: contains( matrix.os, 'ubuntu-16')
name: Build for Linux
Expand Down Expand Up @@ -225,6 +225,17 @@ jobs:
# asset_path: ./travis/QOwnNotes.deb
# asset_name: QOwnNotes.deb
# asset_content_type: application/vnd.debian.binary-package
- if: contains( matrix.os, 'ubuntu-latest')
name: Release Snap for Linux
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ needs.create_release.outputs.upload_url }}
asset_path: ./qownnotes_${{ env.VERSION }}_amd64.snap
asset_name: QOwnNotes-amd64.snap
asset_content_type: application/vnd.snap

- if: contains( matrix.os, 'ubuntu-16')
name: Release AppImage for Linux
uses: actions/upload-release-asset@v1
Expand Down

0 comments on commit 3aeb109

Please sign in to comment.