Bash Command Lines for GitHub Actions
ActionsTags
(2)Executes each command listed in the Action's args via bash -c.
action "Setup" {
uses = "jdickey/bash@master"
args = ["cat <<<$MY_VAR > file.csv"]
}
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'
).
Bash Command Lines for GitHub Actions is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.