pietrobolcato / action-read-yaml

Custom github action used to read yaml files, supporting multiple keys and variable replacements
10 stars 18 forks source link

`TypeError: value.match is not a function` #14

Open Adamkadaban opened 6 months ago

Adamkadaban commented 6 months ago

I believe I'm using the exact example code provided, but I'm getting the following error image


jobs:
  read-yaml:
    runs-on: ubuntu-latest
    steps:
      - name: checkout
        uses: actions/checkout@v3

      - name: read-yaml-file
        uses: pietrobolcato/action-read-yaml@1.0.0
        id: read_action_js
        with:
          config: ${{ github.workspace }}/config.yaml
name: example
environment:
  name: example
  permissions:
    - name: example
      permission: read
    - name: example2
      permission: write
deployment:
  code:
    source:
      libs: path/to/libs
      entry: path/to/entry
visdmin commented 6 months ago

Experiencing the same issue.

nichmor commented 5 months ago

can report that it's the same problem for me

nichmor commented 5 months ago

I've made a fork and released a more minimal version of it which doesn't have this problem anymore. https://github.com/nichmor/minimal-read-yaml

feel free to use it