mirror of
https://github.com/pyTooling/Actions.git
synced 2026-02-12 19:16:57 +08:00
18 lines
437 B
YAML
18 lines
437 B
YAML
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'
|