mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-23 16:49:23 +08:00
29 lines
869 B
YAML
29 lines
869 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 }}
|
|
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
with:
|
|
final: ${{ inputs.mode == 'final' }}
|
|
npm: ${{ inputs.npm }}
|
|
downstreams: '["element-hq/element-web"]'
|