diff --git a/__tests__/fixtures/action.yml b/__tests__/fixtures/action/action.yml similarity index 100% rename from __tests__/fixtures/action.yml rename to __tests__/fixtures/action/action.yml diff --git a/__tests__/fixtures/action_docs_action_action.yml b/__tests__/fixtures/action/action_docs_action_action.yml similarity index 100% rename from __tests__/fixtures/action_docs_action_action.yml rename to __tests__/fixtures/action/action_docs_action_action.yml diff --git a/__tests__/fixtures/action/action_docs_action_readme.input b/__tests__/fixtures/action/action_docs_action_readme.input new file mode 100644 index 00000000..942654fa --- /dev/null +++ b/__tests__/fixtures/action/action_docs_action_readme.input @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/__tests__/fixtures/action/action_docs_action_readme.output b/__tests__/fixtures/action/action_docs_action_readme.output new file mode 100644 index 00000000..cdb01078 --- /dev/null +++ b/__tests__/fixtures/action/action_docs_action_readme.output @@ -0,0 +1,10 @@ + +## Inputs + +| name | description | required | default | +| --- | --- | --- | --- | +| `readme` |
Readme file to update.
| `false` | `README.md` | +| `actionFile` |The action definition file.
| `false` | `action.yml` | +| `tocLevel` |TOC level used for the headers.
| `false` | `2` | +| `lineBreaks` |Line breaks to be used in updated readme (LF|CR|CRLF).
| `false` | `LF` | + \ No newline at end of file diff --git a/__tests__/fixtures/action/action_usage_readme.input b/__tests__/fixtures/action/action_usage_readme.input new file mode 100644 index 00000000..1ece7460 --- /dev/null +++ b/__tests__/fixtures/action/action_usage_readme.input @@ -0,0 +1 @@ + diff --git a/__tests__/fixtures/action/action_usage_readme.output b/__tests__/fixtures/action/action_usage_readme.output new file mode 100644 index 00000000..c3599e14 --- /dev/null +++ b/__tests__/fixtures/action/action_usage_readme.output @@ -0,0 +1,25 @@ + +## Usage + +```yaml +- uses: npalm/action-docs@v1 + with: + inputA: + # - Item 1 + # - foo, bar, baz + # - Item 2 + # - [github](https://github.com/) + # - **blah** + # - Item 3 + # + # Required: false + # Default: test + + inputB: + # This is a + # multiline description + # + # Required: false + # Default: test +``` + diff --git a/__tests__/fixtures/all_fields_action.output b/__tests__/fixtures/action/all_fields_action.output similarity index 100% rename from __tests__/fixtures/all_fields_action.output rename to __tests__/fixtures/action/all_fields_action.output diff --git a/__tests__/fixtures/all_fields_action.yml b/__tests__/fixtures/action/all_fields_action.yml similarity index 100% rename from __tests__/fixtures/all_fields_action.yml rename to __tests__/fixtures/action/all_fields_action.yml diff --git a/__tests__/fixtures/all_fields_action.yml.crlf b/__tests__/fixtures/action/all_fields_action.yml.crlf similarity index 94% rename from __tests__/fixtures/all_fields_action.yml.crlf rename to __tests__/fixtures/action/all_fields_action.yml.crlf index 1c45cf2f..fe6c8e45 100644 --- a/__tests__/fixtures/all_fields_action.yml.crlf +++ b/__tests__/fixtures/action/all_fields_action.yml.crlf @@ -1,32 +1,32 @@ -name: 'An Action' -description: 'Default test' -author: 'Niek Palm' -inputs: - inputA: - description: 'A description A' - required: false - inputB: - description: 'A description B' - required: true - inputC: - description: 'A description C' - required: true - default: C - inputD: - description: 'A description D' - required: false - default: D - inputE: - description: 'A description E' - required: false - default: false - -outputs: - outputA: - description: 'A description A' - outputB: - description: 'A description B' - -runs: - using: 'node12' - main: 'dist/index.js' +name: 'An Action' +description: 'Default test' +author: 'Niek Palm' +inputs: + inputA: + description: 'A description A' + required: false + inputB: + description: 'A description B' + required: true + inputC: + description: 'A description C' + required: true + default: C + inputD: + description: 'A description D' + required: false + default: D + inputE: + description: 'A description E' + required: false + default: false + +outputs: + outputA: + description: 'A description A' + outputB: + description: 'A description B' + +runs: + using: 'node12' + main: 'dist/index.js' diff --git a/__tests__/fixtures/all_fields_action_toc1.output b/__tests__/fixtures/action/all_fields_action_toc1.output similarity index 100% rename from __tests__/fixtures/all_fields_action_toc1.output rename to __tests__/fixtures/action/all_fields_action_toc1.output diff --git a/__tests__/fixtures/all_fields_action_toc3_cli.output b/__tests__/fixtures/action/all_fields_action_toc3_cli.output similarity index 100% rename from __tests__/fixtures/all_fields_action_toc3_cli.output rename to __tests__/fixtures/action/all_fields_action_toc3_cli.output diff --git a/__tests__/fixtures/action/all_fields_readme.input b/__tests__/fixtures/action/all_fields_readme.input new file mode 100644 index 00000000..5c105a63 --- /dev/null +++ b/__tests__/fixtures/action/all_fields_readme.input @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/__tests__/fixtures/action/all_fields_readme.input.crlf b/__tests__/fixtures/action/all_fields_readme.input.crlf new file mode 100644 index 00000000..4b168b7e --- /dev/null +++ b/__tests__/fixtures/action/all_fields_readme.input.crlf @@ -0,0 +1,7 @@ + + + + + + + diff --git a/__tests__/fixtures/action/all_fields_readme.output b/__tests__/fixtures/action/all_fields_readme.output new file mode 100644 index 00000000..51e6cd01 --- /dev/null +++ b/__tests__/fixtures/action/all_fields_readme.output @@ -0,0 +1,70 @@ + +## Description + +Default test + + + +## Usage + +```yaml +- uses: npalm/action-docs@v1 + with: + inputA: + # A description A + # + # Required: false + # Default: "" + + inputB: + # A description B + # + # Required: true + # Default: "" + + inputC: + # A description C + # + # Required: true + # Default: C + + inputD: + # A description D + # + # Required: false + # Default: D + + inputE: + # A description E + # + # Required: false + # Default: false +``` + + + +## Inputs + +| name | description | required | default | +| --- | --- | --- | --- | +| `inputA` |A description A
| `false` | `""` | +| `inputB` |A description B
| `true` | `""` | +| `inputC` |A description C
| `true` | `C` | +| `inputD` |A description D
| `false` | `D` | +| `inputE` |A description E
| `false` | `false` | + + + +## Outputs + +| name | description | +| --- | --- | +| `outputA` |A description A
| +| `outputB` |A description B
| + + + +## Runs + +This action is a `node12` action. + diff --git a/__tests__/fixtures/action/all_fields_readme.output.crlf b/__tests__/fixtures/action/all_fields_readme.output.crlf new file mode 100644 index 00000000..44f3c510 --- /dev/null +++ b/__tests__/fixtures/action/all_fields_readme.output.crlf @@ -0,0 +1,32 @@ + +## Description + +Default test + + + +## Inputs + +| name | description | required | default | +| --- | --- | --- | --- | +| `inputA` |A description A
| `false` | `""` | +| `inputB` |A description B
| `true` | `""` | +| `inputC` |A description C
| `true` | `C` | +| `inputD` |A description D
| `false` | `D` | +| `inputE` |A description E
| `false` | `false` | + + + +## Outputs + +| name | description | +| --- | --- | +| `outputA` |A description A
| +| `outputB` |A description B
| + + + +## Runs + +This action is a `node12` action. + diff --git a/__tests__/fixtures/action/all_fields_readme_filled.input b/__tests__/fixtures/action/all_fields_readme_filled.input new file mode 100644 index 00000000..ba6a5ae6 --- /dev/null +++ b/__tests__/fixtures/action/all_fields_readme_filled.input @@ -0,0 +1,42 @@ + +## Description + +Default test + + + + + +## Inputs + +| name | description | required | default | +| --- | --- | --- | --- | +| `inputA` |A description A
| `false` | `""` | +| `inputB` |A description B
| `true` | `""` | +| `inputC` |A description C
| `true` | `C` | +| `inputD` |A description D
| `false` | `D` | +| `inputE` |A description E
| `false` | `false` | + + + + + + +## Outputs + +| name | description | +| --- | --- | +| `outputA` |A description A
| +| `outputB` |A description B
| + + + + + + +## Run + +This action is a `docker` action. + + + diff --git a/__tests__/fixtures/action/all_fields_readme_filled.output b/__tests__/fixtures/action/all_fields_readme_filled.output new file mode 100644 index 00000000..66747afc --- /dev/null +++ b/__tests__/fixtures/action/all_fields_readme_filled.output @@ -0,0 +1,32 @@ + +## Description + +Default test + + + +## Inputs + +| name | description | required | default | +| --- | --- | --- | --- | +| `inputA` |A description A
| `false` | `""` | +| `inputB` |A description B
| `true` | `""` | +| `inputC` |A description C
| `true` | `C` | +| `inputD` |A description D
| `false` | `D` | +| `inputE` |A description E
| `false` | `false` | + + + +## Outputs + +| name | description | +| --- | --- | +| `outputA` |A description A
| +| `outputB` |A description B
| + + + +## Runs + +This action is a `node12` action. + diff --git a/__tests__/fixtures/action/all_fields_usage_readme.input b/__tests__/fixtures/action/all_fields_usage_readme.input new file mode 100644 index 00000000..edfa45de --- /dev/null +++ b/__tests__/fixtures/action/all_fields_usage_readme.input @@ -0,0 +1 @@ + diff --git a/__tests__/fixtures/action/all_fields_usage_readme.output b/__tests__/fixtures/action/all_fields_usage_readme.output new file mode 100644 index 00000000..ab9c69a2 --- /dev/null +++ b/__tests__/fixtures/action/all_fields_usage_readme.output @@ -0,0 +1,37 @@ + +## Usage + +```yaml +- uses: npalm/action-docs@v1 + with: + inputA: + # A description A + # + # Required: false + # Default: "" + + inputB: + # A description B + # + # Required: true + # Default: "" + + inputC: + # A description C + # + # Required: true + # Default: C + + inputD: + # A description D + # + # Required: false + # Default: D + + inputE: + # A description E + # + # Required: false + # Default: false +``` + diff --git a/__tests__/fixtures/default.output b/__tests__/fixtures/action/default.output similarity index 100% rename from __tests__/fixtures/default.output rename to __tests__/fixtures/action/default.output diff --git a/__tests__/fixtures/minimal_action.output b/__tests__/fixtures/action/minimal_action.output similarity index 100% rename from __tests__/fixtures/minimal_action.output rename to __tests__/fixtures/action/minimal_action.output diff --git a/__tests__/fixtures/minimal_action.yml b/__tests__/fixtures/action/minimal_action.yml similarity index 100% rename from __tests__/fixtures/minimal_action.yml rename to __tests__/fixtures/action/minimal_action.yml diff --git a/__tests__/fixtures/action/two_actions_readme.input b/__tests__/fixtures/action/two_actions_readme.input new file mode 100644 index 00000000..8ce9fc4c --- /dev/null +++ b/__tests__/fixtures/action/two_actions_readme.input @@ -0,0 +1,12 @@ + +## Inputs + +| name | description | required | default | +| --- | --- | --- | --- | +| `readme` |Readme file to update.
| `false` | `README.md` | +| `actionFile` |The action definition file.
| `false` | `action.yml` | +| `tocLevel` |TOC level used for the headers.
| `false` | `2` | +| `lineBreaks` |Line breaks to be used in updated readme (LF|CR|CRLF).
| `false` | `LF` | + + + \ No newline at end of file diff --git a/__tests__/fixtures/action/two_actions_readme.output b/__tests__/fixtures/action/two_actions_readme.output new file mode 100644 index 00000000..77b2915e --- /dev/null +++ b/__tests__/fixtures/action/two_actions_readme.output @@ -0,0 +1,19 @@ + +## Inputs + +| name | description | required | default | +| --- | --- | --- | --- | +| `readme` |Readme file to update.
| `false` | `README.md` | +| `actionFile` |The action definition file.
| `false` | `action.yml` | +| `tocLevel` |TOC level used for the headers.
| `false` | `2` | +| `lineBreaks` |Line breaks to be used in updated readme (LF|CR|CRLF).
| `false` | `LF` | + + + +## Outputs + +| name | description | +| --- | --- | +| `outputA` |A description A
| +| `outputB` |A description B
| + \ No newline at end of file diff --git a/__tests__/fixtures/workflow/action_docs_action_action.yml b/__tests__/fixtures/workflow/action_docs_action_action.yml new file mode 100644 index 00000000..c56e6167 --- /dev/null +++ b/__tests__/fixtures/workflow/action_docs_action_action.yml @@ -0,0 +1,29 @@ +name: 'Action update docs action' +description: 'Action updates the action documentation.' +author: 'Niek Palm' + +branding: + icon: book-open + color: purple + +inputs: + readme: + description: 'Readme file to update.' + required: false + default: README.md + actionFile: + description: 'The action definition file.' + required: false + default: action.yml + tocLevel: + description: "TOC level used for the headers." + required: false + default: 2 + lineBreaks: + description: "Line breaks to be used in updated readme (LF|CR|CRLF)." + required: false + default: LF + +runs: + using: 'node16' + main: 'dist/index.js' \ No newline at end of file diff --git a/__tests__/fixtures/action_docs_action_readme.input b/__tests__/fixtures/workflow/action_docs_action_readme.input similarity index 100% rename from __tests__/fixtures/action_docs_action_readme.input rename to __tests__/fixtures/workflow/action_docs_action_readme.input diff --git a/__tests__/fixtures/action_docs_action_readme.output b/__tests__/fixtures/workflow/action_docs_action_readme.output similarity index 100% rename from __tests__/fixtures/action_docs_action_readme.output rename to __tests__/fixtures/workflow/action_docs_action_readme.output diff --git a/__tests__/fixtures/action_usage_readme.input b/__tests__/fixtures/workflow/action_usage_readme.input similarity index 100% rename from __tests__/fixtures/action_usage_readme.input rename to __tests__/fixtures/workflow/action_usage_readme.input diff --git a/__tests__/fixtures/action_usage_readme.output b/__tests__/fixtures/workflow/action_usage_readme.output similarity index 100% rename from __tests__/fixtures/action_usage_readme.output rename to __tests__/fixtures/workflow/action_usage_readme.output diff --git a/__tests__/fixtures/workflow/all_fields_action.output b/__tests__/fixtures/workflow/all_fields_action.output new file mode 100644 index 00000000..baf7016d --- /dev/null +++ b/__tests__/fixtures/workflow/all_fields_action.output @@ -0,0 +1,27 @@ +## Description + +Default test + +## Inputs + +| name | description | required | default | +| --- | --- | --- | --- | +| `inputA` |A description A
| `false` | `""` | +| `inputB` |A description B
| `true` | `""` | +| `inputC` |A description C
| `true` | `C` | +| `inputD` |A description D
| `false` | `D` | +| `inputE` |A description E
| `false` | `false` | + + +## Outputs + +| name | description | +| --- | --- | +| `outputA` |A description A
| +| `outputB` |A description B
| + + +## Runs + +This action is a `node12` action. + diff --git a/__tests__/fixtures/workflow/all_fields_action.yml b/__tests__/fixtures/workflow/all_fields_action.yml new file mode 100644 index 00000000..4be65f94 --- /dev/null +++ b/__tests__/fixtures/workflow/all_fields_action.yml @@ -0,0 +1,32 @@ +name: 'An Action' +description: 'Default test' +author: 'Niek Palm' +inputs: + inputA: + description: 'A description A' + required: false + inputB: + description: 'A description B' + required: true + inputC: + description: 'A description C' + required: true + default: C + inputD: + description: 'A description D' + required: false + default: D + inputE: + description: 'A description E' + required: false + default: false + +outputs: + outputA: + description: 'A description A' + outputB: + description: 'A description B' + +runs: + using: 'node12' + main: 'dist/index.js' diff --git a/__tests__/fixtures/workflow/all_fields_action.yml.crlf b/__tests__/fixtures/workflow/all_fields_action.yml.crlf new file mode 100644 index 00000000..fe6c8e45 --- /dev/null +++ b/__tests__/fixtures/workflow/all_fields_action.yml.crlf @@ -0,0 +1,32 @@ +name: 'An Action' +description: 'Default test' +author: 'Niek Palm' +inputs: + inputA: + description: 'A description A' + required: false + inputB: + description: 'A description B' + required: true + inputC: + description: 'A description C' + required: true + default: C + inputD: + description: 'A description D' + required: false + default: D + inputE: + description: 'A description E' + required: false + default: false + +outputs: + outputA: + description: 'A description A' + outputB: + description: 'A description B' + +runs: + using: 'node12' + main: 'dist/index.js' diff --git a/__tests__/fixtures/workflow/all_fields_action_toc1.output b/__tests__/fixtures/workflow/all_fields_action_toc1.output new file mode 100644 index 00000000..be3ae259 --- /dev/null +++ b/__tests__/fixtures/workflow/all_fields_action_toc1.output @@ -0,0 +1,26 @@ +# Description + +Default test + +## Inputs + +| name | description | required | default | +| --- | --- | --- | --- | +|inputA
A description A
|false
""
inputB
A description B
|true
""
inputC
A description C
|true
C
inputD
A description D
|false
D
inputE
A description E
|false
false
A description A
| +| `outputB` |A description B
| + + +# Runs + +This action is a `node12` action. + diff --git a/__tests__/fixtures/workflow/all_fields_action_toc3_cli.output b/__tests__/fixtures/workflow/all_fields_action_toc3_cli.output new file mode 100644 index 00000000..0e6fcd21 --- /dev/null +++ b/__tests__/fixtures/workflow/all_fields_action_toc3_cli.output @@ -0,0 +1,27 @@ +### Description + +Default test + +### Inputs + +| name | description | required | default | +| --- | --- | --- | --- | +| `inputA` |A description A
| `false` | `""` | +| `inputB` |A description B
| `true` | `""` | +| `inputC` |A description C
| `true` | `C` | +| `inputD` |A description D
| `false` | `D` | +| `inputE` |A description E
| `false` | `false` | + + +### Outputs + +| name | description | +| --- | --- | +| `outputA` |A description A
| +| `outputB` |A description B
| + + +### Runs + +This action is a `node12` action. + diff --git a/__tests__/fixtures/all_fields_readme.input b/__tests__/fixtures/workflow/all_fields_readme.input similarity index 100% rename from __tests__/fixtures/all_fields_readme.input rename to __tests__/fixtures/workflow/all_fields_readme.input diff --git a/__tests__/fixtures/all_fields_readme.input.crlf b/__tests__/fixtures/workflow/all_fields_readme.input.crlf similarity index 97% rename from __tests__/fixtures/all_fields_readme.input.crlf rename to __tests__/fixtures/workflow/all_fields_readme.input.crlf index 3b979643..9cfc5409 100644 --- a/__tests__/fixtures/all_fields_readme.input.crlf +++ b/__tests__/fixtures/workflow/all_fields_readme.input.crlf @@ -1,7 +1,7 @@ - - - - - - - + + + + + + + diff --git a/__tests__/fixtures/all_fields_readme.output b/__tests__/fixtures/workflow/all_fields_readme.output similarity index 100% rename from __tests__/fixtures/all_fields_readme.output rename to __tests__/fixtures/workflow/all_fields_readme.output diff --git a/__tests__/fixtures/all_fields_readme.output.crlf b/__tests__/fixtures/workflow/all_fields_readme.output.crlf similarity index 97% rename from __tests__/fixtures/all_fields_readme.output.crlf rename to __tests__/fixtures/workflow/all_fields_readme.output.crlf index d4dfa609..77d29703 100644 --- a/__tests__/fixtures/all_fields_readme.output.crlf +++ b/__tests__/fixtures/workflow/all_fields_readme.output.crlf @@ -1,32 +1,32 @@ - -## Description - -Default test - - - -## Inputs - -| name | description | required | default | -| --- | --- | --- | --- | -| `inputA` |A description A
| `false` | `""` | -| `inputB` |A description B
| `true` | `""` | -| `inputC` |A description C
| `true` | `C` | -| `inputD` |A description D
| `false` | `D` | -| `inputE` |A description E
| `false` | `false` | - - - -## Outputs - -| name | description | -| --- | --- | -| `outputA` |A description A
| -| `outputB` |A description B
| - - - -## Runs - -This action is a `node12` action. - + +## Description + +Default test + + + +## Inputs + +| name | description | required | default | +| --- | --- | --- | --- | +| `inputA` |A description A
| `false` | `""` | +| `inputB` |A description B
| `true` | `""` | +| `inputC` |A description C
| `true` | `C` | +| `inputD` |A description D
| `false` | `D` | +| `inputE` |A description E
| `false` | `false` | + + + +## Outputs + +| name | description | +| --- | --- | +| `outputA` |A description A
| +| `outputB` |A description B
| + + + +## Runs + +This action is a `node12` action. + diff --git a/__tests__/fixtures/all_fields_readme_filled.input b/__tests__/fixtures/workflow/all_fields_readme_filled.input similarity index 100% rename from __tests__/fixtures/all_fields_readme_filled.input rename to __tests__/fixtures/workflow/all_fields_readme_filled.input diff --git a/__tests__/fixtures/all_fields_readme_filled.output b/__tests__/fixtures/workflow/all_fields_readme_filled.output similarity index 100% rename from __tests__/fixtures/all_fields_readme_filled.output rename to __tests__/fixtures/workflow/all_fields_readme_filled.output diff --git a/__tests__/fixtures/all_fields_usage_readme.input b/__tests__/fixtures/workflow/all_fields_usage_readme.input similarity index 100% rename from __tests__/fixtures/all_fields_usage_readme.input rename to __tests__/fixtures/workflow/all_fields_usage_readme.input diff --git a/__tests__/fixtures/all_fields_usage_readme.output b/__tests__/fixtures/workflow/all_fields_usage_readme.output similarity index 100% rename from __tests__/fixtures/all_fields_usage_readme.output rename to __tests__/fixtures/workflow/all_fields_usage_readme.output diff --git a/__tests__/fixtures/workflow/default.output b/__tests__/fixtures/workflow/default.output new file mode 100644 index 00000000..d5e0c713 --- /dev/null +++ b/__tests__/fixtures/workflow/default.output @@ -0,0 +1,16 @@ +# A Workflow + +## Inputs + +| name | description | type | required | default | +| --- | --- | --- | --- | +| `inputA` |This is a multiline description
| `number` | `true` | | + + +## Outputs + +| name | description | +| --- | --- | +| `outputA` |This is output A
| + diff --git a/__tests__/fixtures/workflow/minimal_action.output b/__tests__/fixtures/workflow/minimal_action.output new file mode 100644 index 00000000..9c84e492 --- /dev/null +++ b/__tests__/fixtures/workflow/minimal_action.output @@ -0,0 +1,8 @@ +## Description + +Default test + +## Runs + +This action is a `docker` action. + diff --git a/__tests__/fixtures/workflow/minimal_action.yml b/__tests__/fixtures/workflow/minimal_action.yml new file mode 100644 index 00000000..6c3d3045 --- /dev/null +++ b/__tests__/fixtures/workflow/minimal_action.yml @@ -0,0 +1,5 @@ +name: 'An Action' +description: 'Default test' +runs: + using: 'docker' + image: 'Dockerfile' \ No newline at end of file diff --git a/__tests__/fixtures/two_actions_readme.input b/__tests__/fixtures/workflow/two_actions_readme.input similarity index 100% rename from __tests__/fixtures/two_actions_readme.input rename to __tests__/fixtures/workflow/two_actions_readme.input diff --git a/__tests__/fixtures/two_actions_readme.output b/__tests__/fixtures/workflow/two_actions_readme.output similarity index 100% rename from __tests__/fixtures/two_actions_readme.output rename to __tests__/fixtures/workflow/two_actions_readme.output diff --git a/__tests__/fixtures/workflow/workflow.yml b/__tests__/fixtures/workflow/workflow.yml new file mode 100644 index 00000000..9f4253b5 --- /dev/null +++ b/__tests__/fixtures/workflow/workflow.yml @@ -0,0 +1,40 @@ +name: 'A Workflow' +on: + push: + branches: + - main + schedule: + - cron: '*/15 * * * *' + workflow_call: + inputs: + inputA: + description: | + - Item 1 + - foo, bar, baz + - Item 2 + - [github](https://github.com/) + - **blah** + - Item 3 + type: string + default: 'This is a default' + required: false + InputB: + description: | + This is a + multiline description + type: number + required: true + outputs: + outputA: + description: 'This is output A' + value: ${{ jobs.job1.outputs.step_output1 }} + +jobs: + job1: + runs-on: ubuntu-latest + outputs: + step_output1: ${{ steps.step1.outputs.test }} + steps: + - name: 'Step 1' + id: step1 + run: echo "test=some value" >> "$GITHUB_OUTPUT" \ No newline at end of file