Skip to content

yamler v1.0.10

yamler v1.0.10 #413

Workflow file for this run

name: E2E Tests
on:
push:
workflow_dispatch:
jobs:
test_job:
name: Single Doc
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: yamler
uses: ./
id: yamler
with:
yaml-file: "__tests__/test.yaml"
# Use the output from the yamler step
- name: Output Test
run: |
echo "${{ steps.yamler.outputs.yaml }}"
echo "${{ steps.yamler.outputs.what_it_is }}"
echo "${{ steps.yamler.outputs.yaml_resources__yaml_1_2_3rd_edition }}"
test_multidoc_job:
name: Multi Doc
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: yamler
uses: ./
id: yamler
with:
yaml-file: "__tests__/test-multidoc.yaml"
multidoc: true
# Use the output from the yamler step
- name: Output Test
run: |
echo "${{ steps.yamler.outputs.doc0__name }}"
echo "${{ steps.yamler.outputs.doc0__purpose }}"