View Source GitHubActions.Sigils (GitHubActions v0.2.20)

This module defnies the sigils for GitHubActions.

Summary

Functions

Handles the sigile ~e for GitHub actions expressions.

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

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