Skip to content

Stencil Release

Stencil Release #29

name: 'Stencil Release'
on:
schedule:
# Run every Monday-Friday at 5:00 AM (UTC)
- cron: '00 05 * * 1-5'
workflow_dispatch:
inputs:
release-type:
description: 'Which Stencil release workflow should run?'
required: true
type: choice
default: nightly
options:
- dev
- nightly
- production
tag:
description: 'npm tag for production releases.'
required: false
type: choice
default: latest
options:
- dev
- latest
- use_pkg_json_version
base:
description: 'Base branch for production releases.'
required: false
type: choice
default: main
options:
- main
- v3-maintenance
permissions:
contents: write
id-token: write
jobs:
run-nightly:
if: ${{ github.event_name == 'schedule' || (github.event_name == 'workflow_dispatch' && inputs.release-type == 'nightly') }}
uses: ./.github/workflows/release-nightly.yml
secrets: inherit
run-dev:
if: ${{ github.event_name == 'workflow_dispatch' && inputs.release-type == 'dev' }}
uses: ./.github/workflows/release-dev.yml
secrets: inherit
run-production:
if: ${{ github.event_name == 'workflow_dispatch' && inputs.release-type == 'production' }}
uses: ./.github/workflows/release-production.yml

Check failure on line 53 in .github/workflows/release-orchestrator.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/release-orchestrator.yml

Invalid workflow file

error parsing called workflow ".github/workflows/release-orchestrator.yml" -> "./.github/workflows/release-production.yml" (source branch with sha:49e30a5602ed2911a50c3318bbe7a54614256fd6) : workflow is not reusable as it is missing a `on.workflow_call` trigger
secrets: inherit
with:
tag: ${{ inputs.tag }}
base: ${{ inputs.base }}