Fogejo Actions tests
This commit is contained in:
parent
d255395fc8
commit
7ccbeb7a46
34 changed files with 764 additions and 1 deletions
|
@ -0,0 +1,16 @@
|
|||
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:
|
||||
- run: echo key=${{ inputs.input-two-required }} >> $GITHUB_OUTPUT
|
11
actions/example-local-action/.forgejo/workflows/test.yml
Normal file
11
actions/example-local-action/.forgejo/workflows/test.yml
Normal file
|
@ -0,0 +1,11 @@
|
|||
on: [push]
|
||||
jobs:
|
||||
ls:
|
||||
runs-on: docker
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- id: local-action
|
||||
uses: ./.forgejo/local-action
|
||||
with:
|
||||
input-two-required: "two"
|
||||
- run: test "${{ steps.local-action.outputs.key }}" = "two"
|
Loading…
Add table
Reference in a new issue