Repository navigation
56 lines (53 loc) · 1.6 KB
/
Copy pathrelease.yml
File metadata and controls
56 lines (53 loc) · 1.6 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
46
47
48
49
50
51
52
53
54
55
56
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
dry_run:
type: boolean
description: Build and verify all selected packages without publishing them
default: false
jobs:
web:
uses: ./.github/workflows/~publish_web.yml
permissions:
contents: read
id-token: write
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
stage: true
dry_run: ${{ inputs.dry_run == 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
dry_run: ${{ inputs.dry_run == 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
dry_run: ${{ inputs.dry_run == true }}