snap store login (#7593)

* snap store login

* use v1

* fix

* Update .github/workflows/release-publish.yml

---------

Co-authored-by: Filipe Freire <livrofubia@gmail.com>
This commit is contained in:
Jack Kavanagh
2024-06-27 11:56:51 +02:00
committed by GitHub
parent 6fd8a1e69c
commit 46db2ed72f

View File

@@ -166,9 +166,9 @@ jobs:
- name: Upload to snapcraft (beta and stable only)
if: ${{ !contains(github.event.inputs.version, 'alpha') }}
uses: snapcore/action-publish@7fe468c9de12396a9c8964af5d0dfd1d5b493bd7
uses: snapcore/action-publish@v1
env:
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_LOGIN_FILE }}
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_LOGIN_FILE_NEW }}
with:
snap: artifacts/ubuntu-latest-artifacts/insomnia/dist/Insomnia.Core-${{ env.RELEASE_VERSION }}.snap
release: ${{ contains(github.event.inputs.version, 'beta') && 'beta' || 'stable' }}