forked from canonical/postgresql-snap
-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (30 loc) · 828 Bytes
/
Copy pathrelease.yaml
File metadata and controls
34 lines (30 loc) · 828 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# 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:
push:
branches:
- 14/edge
- 16/edge
paths:
- snap/**
workflow_dispatch:
jobs:
build:
name: Build snap
uses: canonical/data-platform-workflows/.github/workflows/build_snap.yaml@v30.1.3
release:
name: Release snap
needs:
- build
uses: canonical/data-platform-workflows/.github/workflows/release_snap.yaml@v30.1.3
with:
channel: ${{ github.ref_name }}
artifact-prefix: ${{ needs.build.outputs.artifact-prefix }}
secrets:
snap-store-token: ${{ secrets.SNAP_STORE_TOKEN }}
permissions:
contents: write # Needed to create GitHub release