0bbed853da
Because apparently secrets: inherit only works for environment secrets, and it only took me several hours of research to track this down 🙄
27 lines
821 B
YAML
27 lines
821 B
YAML
name: Release Process
|
|
on:
|
|
workflow_dispatch:
|
|
inputs:
|
|
mode:
|
|
description: What type of release
|
|
required: true
|
|
default: rc
|
|
type: choice
|
|
options:
|
|
- rc
|
|
- final
|
|
npm:
|
|
description: Publish to npm
|
|
required: true
|
|
type: boolean
|
|
default: true
|
|
concurrency: ${{ github.workflow }}
|
|
jobs:
|
|
release:
|
|
uses: matrix-org/matrix-js-sdk/.github/workflows/release-make.yml@develop
|
|
secrets:
|
|
ELEMENT_BOT_TOKEN: ${{ secrets.ELEMENT_BOT_TOKEN }}
|
|
with:
|
|
final: ${{ inputs.mode == 'final' }}
|
|
npm: ${{ inputs.npm }}
|
|
downstreams: '["element-hq/element-web"]'
|