2022-09-06 13:10:28 +02:00
|
|
|
name: Release Process
|
|
|
|
on:
|
2023-11-10 18:30:16 +01:00
|
|
|
workflow_dispatch:
|
|
|
|
inputs:
|
|
|
|
mode:
|
|
|
|
description: What type of release
|
|
|
|
required: true
|
|
|
|
default: rc
|
|
|
|
type: choice
|
|
|
|
options:
|
|
|
|
- rc
|
|
|
|
- final
|
|
|
|
matrix-js-sdk:
|
|
|
|
description: JS SDK version to use (current|X.Y.Z)
|
|
|
|
required: false
|
|
|
|
default: current
|
|
|
|
type: string
|
|
|
|
npm:
|
|
|
|
description: Publish to npm
|
|
|
|
required: true
|
|
|
|
type: boolean
|
|
|
|
default: true
|
|
|
|
concurrency: ${{ github.workflow }}
|
2022-09-06 13:10:28 +02:00
|
|
|
jobs:
|
2023-11-10 18:30:16 +01:00
|
|
|
release:
|
2023-11-24 15:54:28 +01:00
|
|
|
uses: matrix-org/matrix-js-sdk/.github/workflows/release-make.yml@develop
|
2023-11-10 18:30:16 +01:00
|
|
|
secrets: inherit
|
|
|
|
with:
|
|
|
|
final: ${{ inputs.mode == 'final' }}
|
|
|
|
npm: ${{ inputs.npm }}
|
|
|
|
dependencies: |
|
|
|
|
matrix-js-sdk=${{ inputs.matrix-js-sdk }}
|