View Source GitHubActions.Sigils (GitHubActions v0.2.1)

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
@spec sigil_e(String.t(), list()) :: String.t()

Handles the sigile ~e for GitHub actions expressions.

Quotes the given string as a GitHub expression.

examples

Examples

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