Skip to content

Commit

Permalink
gha: packages: update for 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
efiop authored Feb 17, 2021
1 parent 52ee995 commit 5198847
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/packages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
branches:
- master
release:
types: [released]
types: [released, prereleased]
jobs:
linux:
runs-on: ubuntu-16.04
Expand Down Expand Up @@ -121,11 +121,11 @@ jobs:
with:
store_login: ${{ secrets.STORE_LOGIN }}
snap: ${{ steps.snapcraft.outputs.snap }}
release: edge
release: edge,v2/edge
- name: Publish to the stable channel
uses: snapcore/action-publish@v1
if: github.event_name == 'release'
if: ${{ github.event_name == 'release' && github.event.release.released }}
with:
store_login: ${{ secrets.STORE_LOGIN }}
snap: ${{ steps.snapcraft.outputs.snap }}
release: stable
release: stable,v2/stable

0 comments on commit 5198847

Please sign in to comment.