Release - Stencil Store #2
This file contains hidden or 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
| 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 }} |