View Source GitHubActions.Sigils (GitHubActions v0.1.9)

This module defnies the sigils for GitHubActions.

Link to this section Summary

Functions

Handles the sigile ~e for GitHub actions expressions.

Link to this section Functions

Link to this function

sigil_e(string, opts \\ [])

View Source

Specs

sigil_e(String.t(), list()) :: String.t()

Handles the sigile ~e for GitHub actions expressions.

Quotes the given string as a GitHub expression.

Examples

iex> ~e[github.sha]
"${{ github.sha }}"