Release to Snap Store #15
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright 2024 Canonical Ltd. | |
# See LICENSE file for licensing details. | |
name: Release to Snap Store | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
on: | |
workflow_dispatch: | |
jobs: | |
build: | |
name: Build snap | |
uses: canonical/data-platform-workflows/.github/workflows/[email protected] | |
release: | |
name: Release snap | |
needs: | |
- build | |
uses: canonical/data-platform-workflows/.github/workflows/[email protected] | |
with: | |
channel: 14/edge | |
artifact-prefix: ${{ needs.build.outputs.artifact-prefix }} | |
secrets: | |
snap-store-token: ${{ secrets.SNAP_STORE_TOKEN }} | |
permissions: | |
contents: write # Needed to create GitHub release |