Add level parameter to the snap releaser (#1282)

This commit is contained in:
Batuhan Taskaya 2022-01-26 12:44:24 +03:00 committed by GitHub
parent f756cad58d
commit 770df02291
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,6 +5,10 @@ on:
description: "The branch, tag or SHA to release from"
required: true
default: "master"
level:
description: "Release level: stable, candidate, beta, edge"
required: true
default: "edge"
jobs:
snap:
@ -19,4 +23,4 @@ jobs:
with:
store_login: ${{ secrets.SNAP_STORE_LOGIN }}
snap: ${{ steps.build.outputs.snap }}
release: edge
release: ${{ github.event.inputs.level }}