fabric/set-variable
Set a pipeline variable declared under vars:.
The step takes no nested steps:. It takes no timeout: or retry:.
with.name
The variable.
with.value
Plain text becomes a string literal; a lone ${{ }} is evaluated; a mix becomes concat().
Example
yaml
- id: set_date
uses: fabric/set-variable
with:
name: date
value: ${{ if(empty(inputs.date), utcNow(), inputs.date) }}