mirror of
https://github.com/actions/runner.git
synced 2025-12-27 03:48:56 +08:00
GitHub Actions Runner
This commit is contained in:
25
src/Test/TestData/dockerfilerelativeaction.yml
Normal file
25
src/Test/TestData/dockerfilerelativeaction.yml
Normal file
@@ -0,0 +1,25 @@
|
||||
name: 'Hello World'
|
||||
description: 'Greet the world and record the time'
|
||||
author: 'Test Corporation'
|
||||
inputs:
|
||||
greeting: # id of input
|
||||
description: 'The greeting we choose - will print ""{greeting}, World!"" on stdout'
|
||||
required: true
|
||||
default: 'Hello'
|
||||
entryPoint: # id of input
|
||||
description: 'optional docker entrypoint overwrite.'
|
||||
required: false
|
||||
outputs:
|
||||
time: # id of output
|
||||
description: 'The time we did the greeting'
|
||||
icon: 'hello.svg' # vector art to display in the GitHub Marketplace
|
||||
color: 'green' # optional, decorates the entry in the GitHub Marketplace
|
||||
runs:
|
||||
using: 'docker'
|
||||
image: 'images/Dockerfile'
|
||||
args:
|
||||
- '${{ inputs.greeting }}'
|
||||
entrypoint: 'main.sh'
|
||||
env:
|
||||
Token: foo
|
||||
Url: bar
|
||||
Reference in New Issue
Block a user