Refs: https://code.forgejo.org/forgejo/act/pulls/186 Reviewed-on: https://code.forgejo.org/forgejo/end-to-end/pulls/823 Reviewed-by: Michael Kriese <michael.kriese@gmx.de> Co-authored-by: Earl Warren <contact@earl-warren.org> Co-committed-by: Earl Warren <contact@earl-warren.org>
22 lines
521 B
YAML
22 lines
521 B
YAML
inputs:
|
|
input-one:
|
|
default: 'one'
|
|
description: 'description one'
|
|
input-two-required:
|
|
description: 'description two'
|
|
required: true
|
|
outputs:
|
|
key:
|
|
description: 'output value'
|
|
value: "${{ steps.one.outputs.key }}"
|
|
|
|
runs:
|
|
using: "composite"
|
|
steps:
|
|
- name: FORGEJO_ACTION_PATH
|
|
run: |
|
|
set -x
|
|
test -e "$FORGEJO_ACTION_PATH"
|
|
test "$FORGEJO_ACTION_PATH" = "${{ env.FORGEJO_ACTION_PATH }}"
|
|
|
|
- run: echo key=${{ inputs.input-two-required }} >> $FORGEJO_OUTPUT
|