feat(action): Try test composite local action
This commit is contained in:
parent
8dd6f94bde
commit
8384d2f68f
2 changed files with 27 additions and 1 deletions
22
.forgejo/dotnet-build/action.yml
Normal file
22
.forgejo/dotnet-build/action.yml
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
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
|
||||
Loading…
Reference in a new issue