-
Notifications
You must be signed in to change notification settings - Fork 2
88 lines (82 loc) · 2.21 KB
/
release.yaml
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
name: Release
on:
workflow_call:
secrets:
KONFIG_API_KEY:
required: true
TEST_ENV:
required: false
SUBMODULE_DEPLOY_KEY_TYPESCRIPT:
required: false
SUBMODULE_DEPLOY_KEY_PYTHON:
required: false
SUBMODULE_DEPLOY_KEY_JAVA:
required: false
SUBMODULE_DEPLOY_KEY_CSHARP:
required: false
SUBMODULE_DEPLOY_KEY_GO:
required: false
SUBMODULE_DEPLOY_KEY_PHP:
required: false
SUBMODULE_DEPLOY_KEY_PHP7:
required: false
SUBMODULE_DEPLOY_KEY_RUBY:
required: false
SUBMODULE_DEPLOY_KEY_SWIFT:
required: false
NPM_TOKEN:
required: false
PYPI_TOKEN_1:
required: false
PYPI_TOKEN_2:
required: false
GPG_PASSPHRASE:
required: false
GPG_PRIVATE_KEY:
required: false
GPG_KEY_ID:
required: false
OSSRH_USERNAME:
required: false
OSSRH_PASSWORD:
required: false
NUGET_API_KEY:
required: false
PACKAGIST_API_TOKEN:
required: false
GEM_HOST_API_KEY:
required: false
COCOAPODS_SESSION_PASSWORD:
required: false
COCOAPODS_SESSION_EMAIL:
required: false
jobs:
find-konfig-yamls:
runs-on: ubuntu-latest
concurrency: ${{ github.workflow }}-${{ github.ref }}
outputs:
konfig_yaml_dirs: ${{ steps.find-konfig-yamls.outputs.konfig_yaml_dirs }}
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Find konfig.yaml files
id: find-konfig-yamls
uses: konfig-dev/automation/.github/actions/private/find-konfig-yamls@main
bump:
needs: find-konfig-yamls
strategy:
matrix:
konfig_yaml_dir: ${{ fromJson(needs.find-konfig-yamls.outputs.konfig_yaml_dirs) }}
uses: ./.github/workflows/bump.yaml
with:
konfig_yaml_dir: ${{ matrix.konfig_yaml_dir }}
secrets: inherit
publish:
needs: find-konfig-yamls
strategy:
matrix:
konfig_yaml_dir: ${{ fromJson(needs.find-konfig-yamls.outputs.konfig_yaml_dirs) }}
uses: ./.github/workflows/publish.yaml
with:
konfig_yaml_dir: ${{ matrix.konfig_yaml_dir }}
secrets: inherit