chore: fix snapcraft ci

This commit is contained in:
Mo 2023-07-18 07:24:02 -05:00
parent 072e9f803b
commit 071b345e93
No known key found for this signature in database
GPG Key ID: 034B13B1644297E1
2 changed files with 4 additions and 4 deletions

View File

@ -154,13 +154,14 @@ jobs:
Publish:
runs-on: ubuntu-latest
env:
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_STORE_CREDENTIALS }}
if: ${{ always() }}
needs: [Windows, Mac, Linux]
defaults:
run:
working-directory: packages/desktop
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
@ -209,6 +210,5 @@ jobs:
continue-on-error: true
run: |
sudo snap install snapcraft --classic
echo "${{ secrets.SNAPCRAFT_LOGIN_FILE }}" >> snapauth.txt
snapcraft login --with=snapauth.txt
snapcraft login
snapcraft upload dist/standard-notes-${{ env.APP_VERSION }}-linux-amd64.snap --release stable,candidate,beta,edge

View File

@ -3,7 +3,7 @@
"version": "3.166.17",
"license": "AGPL-3.0-or-later",
"main": "dist/app.js",
"author": "Standard Notes",
"author": "Standard Notes.",
"private": true,
"files": [
"dist"