mirror of
https://github.com/ionic-team/ionicons.git
synced 2026-11-30 16:48:16 +01:00
38 lines
778 B
YAML
38 lines
778 B
YAML
name: 'Release Orchestrator'
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
inputs:
|
|
release-type:
|
|
description: 'Release type'
|
|
required: true
|
|
type: choice
|
|
options:
|
|
- dev
|
|
- production
|
|
version:
|
|
description: 'Version for production releases'
|
|
required: false
|
|
type: choice
|
|
options:
|
|
- patch
|
|
- minor
|
|
- major
|
|
|
|
permissions:
|
|
id-token: write
|
|
contents: read
|
|
|
|
jobs:
|
|
run-dev:
|
|
if: ${{ inputs.release-type == 'dev' }}
|
|
uses: ./.github/workflows/dev-release.yml
|
|
secrets: inherit
|
|
|
|
run-production:
|
|
if: ${{ inputs.release-type == 'production' }}
|
|
uses: ./.github/workflows/production-release.yml
|
|
secrets: inherit
|
|
with:
|
|
version: ${{ inputs.version }}
|