Skip to content

Commit 06fa09f

Browse files
GSM Compose Actions (#229)
1 parent cd53219 commit 06fa09f

File tree

6 files changed

+3536
-0
lines changed

6 files changed

+3536
-0
lines changed

expose-json-outputs/README.md

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Expose JSON Outputs
2+
3+
This action exposes JSON input as a set of outputs.
4+
5+
## Expose JSON as outputs
6+
7+
Proxies JS shared action outputs from composite actions. See gsm-secrets as an example of the issue.
8+
9+
### Inputs
10+
11+
The list of arguments, that are used in GH Action:
12+
13+
| name | type | required | default | description |
14+
| ------ | ------ | -------- | ------- | ---------------------- |
15+
| `json` | string || | JSON string to process |
16+
17+
## Contributing
18+
19+
We would love for you to contribute to `toptal/actions/tree/main/expose-json-outputs`, pull requests are welcome!

expose-json-outputs/action.yml

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: 'Expose JSON as outputs'
2+
description: 'Proxies JS shared action outputs from composite actions. See gsm-secrets as an example of the issue.'
3+
author: 'Dev X'
4+
inputs:
5+
json:
6+
description: 'JSON string to process'
7+
required: true
8+
# outputs are intentionally not declared due to the dynamic nature of the outputs
9+
# outputs:
10+
runs:
11+
using: node20
12+
main: ./dist/index.js

0 commit comments

Comments
 (0)