snap: fix channel names

This commit is contained in:
Ruslan Kuprieiev
2020-12-02 18:56:16 +02:00
committed by GitHub
parent ed02ff7c30
commit a97d5fef72
+2 -9
View File
@@ -119,18 +119,11 @@ jobs:
with:
store_login: ${{ secrets.STORE_LOGIN }}
snap: ${{ steps.snapcraft.outputs.snap }}
release: edge
release: v1/edge
- name: Publish to the stable channel
uses: snapcore/action-publish@v1
if: github.event_name == 'release'
with:
store_login: ${{ secrets.STORE_LOGIN }}
snap: ${{ steps.snapcraft.outputs.snap }}
release: stable
- name: Publish to the v1 channel
uses: snapcore/action-publish@v1
if: github.event_name == 'release'
with:
store_login: ${{ secrets.STORE_LOGIN }}
snap: ${{ steps.snapcraft.outputs.snap }}
release: v1
release: v1/stable