-
Notifications
You must be signed in to change notification settings - Fork 1.5k
72 lines (64 loc) · 1.94 KB
/
Copy pathsdk-platform.yml
File metadata and controls
72 lines (64 loc) · 1.94 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# Runs SDK language checks for one runtime platform as soon as its artifact is
# available. Merge groups retain only the Node.js compatibility lane.
name: "SDK platform"
on:
workflow_call:
inputs:
platform:
required: true
type: string
sdk-home:
required: true
type: string
outputs:
nodejs-result:
description: "Node.js SDK result, independent of other languages"
# Direct result outputs can be empty: https://github.com/actions/runner/issues/2495
value: ${{ fromJSON(toJSON(jobs.nodejs)).result }}
nodejs-capi-result:
description: "Standard-platform Node.js CAPI result, independent of BYOK and other languages"
value: ${{ jobs.nodejs.outputs.capi-result }}
permissions:
contents: read
jobs:
nodejs:
uses: ./.github/workflows/sdk-nodejs.yml
with:
platform: ${{ inputs.platform }}
sdk-home: ${{ inputs.sdk-home }}
secrets: inherit
python:
if: github.event_name != 'merge_group'
uses: ./.github/workflows/sdk-python.yml
with:
platform: ${{ inputs.platform }}
sdk-home: ${{ inputs.sdk-home }}
secrets: inherit
go:
if: github.event_name != 'merge_group'
uses: ./.github/workflows/sdk-go.yml
with:
platform: ${{ inputs.platform }}
sdk-home: ${{ inputs.sdk-home }}
secrets: inherit
dotnet:
if: github.event_name != 'merge_group'
uses: ./.github/workflows/sdk-dotnet.yml
with:
platform: ${{ inputs.platform }}
sdk-home: ${{ inputs.sdk-home }}
secrets: inherit
rust:
if: github.event_name != 'merge_group'
uses: ./.github/workflows/sdk-rust.yml
with:
platform: ${{ inputs.platform }}
sdk-home: ${{ inputs.sdk-home }}
secrets: inherit
java:
if: github.event_name != 'merge_group'
uses: ./.github/workflows/sdk-java.yml
with:
platform: ${{ inputs.platform }}
sdk-home: ${{ inputs.sdk-home }}
secrets: inherit