Skip to content

jdickey/bash

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

bash

Usage

Executes each command listed in the Action's args via bash -c.

action "Setup" {
  uses = "jdickey/bash@master"
  args = ["cat <<<$MY_VAR > file.csv"]
}

Acknowledgements

Based on jcblw/bash; the only difference is that he read argument values using "$@" rather than "$*". Using his original, multi-word commands such as docker-compose exec web bin/rake would need to be surrounded by quotes ('docker-compose exec web bin/rake').