mirror of
https://github.com/pyTooling/Actions.git
synced 2026-02-17 13:36:56 +08:00
add Action 'with-post-step'
This commit is contained in:
17
with-post-step/action.yml
Normal file
17
with-post-step/action.yml
Normal file
@@ -0,0 +1,17 @@
|
||||
name: With post step
|
||||
description: 'Generic JS Action to execute a main command and set a command as a post step.'
|
||||
inputs:
|
||||
main:
|
||||
description: 'Main command/script.'
|
||||
required: true
|
||||
post:
|
||||
description: 'Post command/script.'
|
||||
required: true
|
||||
key:
|
||||
description: 'Name of the state variable used to detect the post step.'
|
||||
required: false
|
||||
default: POST
|
||||
runs:
|
||||
using: 'node12'
|
||||
main: 'main.js'
|
||||
post: 'main.js'
|
||||
Reference in New Issue
Block a user