Skip to content

Release - Stencil Store #2

Release - Stencil Store

Release - Stencil Store #2

name: 'Stencil Store Release'
on:
workflow_dispatch:
inputs:
channel:
description: 'Which release workflow should run?'
required: true
type: choice
default: dev
options:
- dev
- production
bump:
description: 'Semver bump for production releases.'
required: false
type: choice
default: patch
options:
- patch
- minor
- major
permissions:
contents: read
id-token: write
jobs:
run-dev:
if: ${{ github.event.inputs.channel == 'dev' }}
uses: ./.github/workflows/release-dev.yml
secrets: inherit
run-production:
if: ${{ github.event.inputs.channel == 'production' }}
uses: ./.github/workflows/release-production.yml
secrets: inherit
with:
bump: ${{ github.event.inputs.bump }}