Skip to content

0.4.0

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 06 Dec 15:26
e989f6b

Highlights:

Row 0.4 expands the command templating functionality, adds shell autocompletion,
and the show jobs subcommand.

The new template arguments allow direct use of command line applications as actions,
removing the need for shim scripts that access the workspace path and/or directory
values before invoking a subprocess. {workspace_path} expands to the current project's
workspace path and {/JSON pointer} expands to the value of the given JSON pointer for
the directory acted on.

Shell autocompletion allows users to autocomplete all parameter names and
workspace dependent values for cluster, action, and directories. To enable,
execute the appropriate command in your shell's profile:

  • Bash: source <(COMPLETE=bash row)
  • Fish: source (COMPLETE=fish row | psub)
  • Zsh: source <(COMPLETE=zsh row)

show jobs prints a table summarizing all currently submitted jobs that match given
action and directory criteria.

Added:

  • In job scripts, set the environment variable ACTION_WORKSPACE_PATH to the relative
    path to the current workspace.
  • {workspace_path} template parameter in action.command - replaced with the
    relative path to the current workspace.
  • {/JSON pointer} template parameter in action.command - replaced with the portion
    of the directory's value referenced by the given JSON pointer.
  • Shell autocomplete.
  • show jobs subcommand.

Fixed:

  • All user-provided content (directories, action names, cluster names, and values) are
    properly escaped in the bash script output.
  • Typographical errors in the documentation.
  • The documentation now builds correctly with mdbook 0.4.43.
  • Example code converts environment variables to integers where needed.