Skip to content

Commit

Permalink
Fix Snapcraft #4
Browse files Browse the repository at this point in the history
  • Loading branch information
Rustem Mussabekov committed Jul 10, 2022
1 parent 6ca7c25 commit 88f9288
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ jobs:

- name: Install Snapcraft
uses: samuelmeuli/action-snapcraft@v1
with:
snapcraft_token: ${{ secrets.SNAPCRAFT_EXPORT }}

- name: Use Node.js 16.x
uses: actions/setup-node@v1
Expand All @@ -30,5 +28,12 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
run: yarn build:linux

- name: publish
uses: snapcore/action-publish@v1
env:
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_EXPORT }}
run: yarn build:linux --publish always
with:
snap: "${{ github.workspace }}/dist/Raindrop-amd64.snap"
release: stable

0 comments on commit 88f9288

Please sign in to comment.