-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6786d2d
commit 0f09aca
Showing
2 changed files
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,15 +4,15 @@ | |
|
||
**yamler** is a GitHub Action that parses an entire YAML document and makes all elements available as GitHub Workflow output variables. | ||
|
||
Support for multiple documents is provided by the `multidoc` attribute (default: `false`). | ||
Support for multiple documents is provided by the `multidoc` attribute (default: `false`). | ||
|
||
> YAML uses three dashes (`---`) to separate directives from document content. This also serves to signal the start of a document if no directives are present. (https://yaml.org/spec/1.2.2/#22-structures) | ||
## Usage | ||
|
||
``` | ||
- name: yamler | ||
uses: juliojimenez/[email protected].4 | ||
uses: juliojimenez/[email protected].5 | ||
id: yamler | ||
with: | ||
yaml-file: "example.yaml" | ||
|
@@ -227,5 +227,5 @@ In a multidoc scenario... | |
- name: Output Test | ||
run: | | ||
echo "${{ steps.yamler.outputs.doc0__name }}" | ||
echo "${{ steps.yamler.outputs.doc0__purpose }}" | ||
echo "${{ steps.yamler.outputs.doc0__purpose }}" | ||
``` |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.