-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
53 lines (47 loc) · 1.25 KB
/
action.yml
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
name: 'SDK Generator'
description: 'Automatically update client SDK repositories from an OpenAPI'
inputs:
github-token:
# Example:
# GITHUB_TOKEN: ${{ secrets.SDK_GENERATOR_ACCESS_TOKEN }}
description: 'GitHub Access Token'
required: true
aws-key:
required: false
description: 'AWS Access Key Id'
aws-key-secret:
required: false
description: 'AWS Secret Access Key'
aws-api-id:
required: false
description: 'AWS API Gateway REST API Id'
aws-api-stage:
required: false
description: 'AWS API Gateway REST API Stage'
languages:
# Example:
# languages: go,rust,python,scala,dart
#
# Supported languages & frameworks:
# https://github.com/swagger-api/swagger-codegen#overview
description: 'Programming languages to generate SDKs for'
required: true
prefix:
description: 'Repository name prefix'
# Example:
# prefix: MyAPI
required: false
outputs:
exit-code:
description: 'Exit code'
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.access-token }}
- ${{ inputs.languages }}
- ${{ inputs.prefix }}
- ${{ inputs.aws-key }}
- ${{ inputs.aws-key-secret }}
- ${{ inputs.aws-api-id }}
- ${{ inputs.aws-api-stage }}