local actions
Signed-off-by: Casey Lee <cplee@nektos.com>
This commit is contained in:
parent
770966a7d0
commit
7f5ced76f6
6 changed files with 319 additions and 137 deletions
8
.github/workflows/basic.yml
vendored
8
.github/workflows/basic.yml
vendored
|
|
@ -21,3 +21,11 @@ jobs:
|
|||
- run: cp $GITHUB_EVENT_PATH $HOME/foo.json
|
||||
- run: ls $HOME
|
||||
- run: cat $HOME/foo.json
|
||||
- uses: docker://alpine:3.8
|
||||
with:
|
||||
args: uname -a
|
||||
local-action:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: ./.github/workflows/docker-url
|
||||
|
||||
|
|
|
|||
16
.github/workflows/docker-url/action.yml
vendored
Normal file
16
.github/workflows/docker-url/action.yml
vendored
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
name: docker-url
|
||||
author: nektos
|
||||
description: testing
|
||||
inputs:
|
||||
who-to-greet:
|
||||
description: who to greet
|
||||
required: true
|
||||
default: World
|
||||
runs:
|
||||
using: docker
|
||||
image: docker://alpine:3.8
|
||||
env:
|
||||
TEST: enabled
|
||||
args:
|
||||
- echo
|
||||
- ${INPUT_WHO_TO_GREET}
|
||||
Loading…
Add table
Add a link
Reference in a new issue