mirror of
https://github.com/standardnotes/web.git
synced 2024-09-11 14:55:35 +03:00
chore: fix snapcraft ci
This commit is contained in:
parent
072e9f803b
commit
071b345e93
6
.github/workflows/desktop.release.reuse.yml
vendored
6
.github/workflows/desktop.release.reuse.yml
vendored
@ -154,13 +154,14 @@ jobs:
|
|||||||
|
|
||||||
Publish:
|
Publish:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
env:
|
||||||
|
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_STORE_CREDENTIALS }}
|
||||||
if: ${{ always() }}
|
if: ${{ always() }}
|
||||||
needs: [Windows, Mac, Linux]
|
needs: [Windows, Mac, Linux]
|
||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
working-directory: packages/desktop
|
working-directory: packages/desktop
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: actions/setup-node@v3
|
- uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
@ -209,6 +210,5 @@ jobs:
|
|||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
run: |
|
run: |
|
||||||
sudo snap install snapcraft --classic
|
sudo snap install snapcraft --classic
|
||||||
echo "${{ secrets.SNAPCRAFT_LOGIN_FILE }}" >> snapauth.txt
|
snapcraft login
|
||||||
snapcraft login --with=snapauth.txt
|
|
||||||
snapcraft upload dist/standard-notes-${{ env.APP_VERSION }}-linux-amd64.snap --release stable,candidate,beta,edge
|
snapcraft upload dist/standard-notes-${{ env.APP_VERSION }}-linux-amd64.snap --release stable,candidate,beta,edge
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
"version": "3.166.17",
|
"version": "3.166.17",
|
||||||
"license": "AGPL-3.0-or-later",
|
"license": "AGPL-3.0-or-later",
|
||||||
"main": "dist/app.js",
|
"main": "dist/app.js",
|
||||||
"author": "Standard Notes",
|
"author": "Standard Notes.",
|
||||||
"private": true,
|
"private": true,
|
||||||
"files": [
|
"files": [
|
||||||
"dist"
|
"dist"
|
||||||
|
Loading…
Reference in New Issue
Block a user