-
Notifications
You must be signed in to change notification settings - Fork 239
45 lines (42 loc) · 1.27 KB
/
release.yml
File metadata and controls
45 lines (42 loc) · 1.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
name: Release
on:
push:
tags:
- 'v*'
workflow_dispatch:
inputs:
release_web:
type: boolean
description: Release web packages
default: true
release_csharp:
type: boolean
description: Release C# packages
default: true
release_kotlin_android:
type: boolean
description: Release Android packages
default: true
jobs:
web:
uses: ./.github/workflows/~publish_web.yml
secrets: inherit
if: (github.event_name == 'push') || (github.event_name == 'workflow_dispatch' && github.event.inputs.release_web == 'true')
with:
version: ${{github.run_number}}
npm_tag: latest
force: true
dotnet:
uses: ./.github/workflows/~publish_dotnet.yml
secrets: inherit
if: (github.event_name == 'push') || (github.event_name == 'workflow_dispatch' && github.event.inputs.release_csharp == 'true')
with:
version: ${{github.run_number}}
force: true
kotlin:
uses: ./.github/workflows/~publish_kotlin.yml
secrets: inherit
if: (github.event_name == 'push') || (github.event_name == 'workflow_dispatch' && github.event.inputs.release_kotlin_android == 'true')
with:
version: ${{github.run_number}}
force: true