[GH-ISSUE #450] Unmarshal error #315

Closed
opened 2026-03-01 21:42:17 +03:00 by kerem · 12 comments
Owner

Originally created by @speelbarrow on GitHub (Dec 16, 2020).
Original GitHub issue: https://github.com/nektos/act/issues/450

Originally assigned to: @catthehacker on GitHub.

When unmarshalling:

strategy:
      fail-fast: false
      matrix: ${{ fromJson(needs.matrix.outputs.matrix) }}

I get the error:

Error: yaml: unmarshal errors:
  line 118: cannot unmarshal !!str `${{ fro...` into map[string][]interface {}
Originally created by @speelbarrow on GitHub (Dec 16, 2020). Original GitHub issue: https://github.com/nektos/act/issues/450 Originally assigned to: @catthehacker on GitHub. When unmarshalling: ```yaml strategy: fail-fast: false matrix: ${{ fromJson(needs.matrix.outputs.matrix) }} ``` I get the error: ```shell Error: yaml: unmarshal errors: line 118: cannot unmarshal !!str `${{ fro...` into map[string][]interface {} ```
Author
Owner

@github-actions[bot] commented on GitHub (Jan 16, 2021):

Issue is stale and will be closed in 14 days unless there is new activity

<!-- gh-comment-id:761279507 --> @github-actions[bot] commented on GitHub (Jan 16, 2021): Issue is stale and will be closed in 14 days unless there is new activity
Author
Owner

@hertzg commented on GitHub (Jan 16, 2021):

This is still an issue, I am experiencing it as well, anyway we could help resolve it?

<!-- gh-comment-id:761560809 --> @hertzg commented on GitHub (Jan 16, 2021): This is still an issue, I am experiencing it as well, anyway we could help resolve it?
Author
Owner

@github-actions[bot] commented on GitHub (Feb 19, 2021):

Issue is stale and will be closed in 14 days unless there is new activity

<!-- gh-comment-id:781725414 --> @github-actions[bot] commented on GitHub (Feb 19, 2021): Issue is stale and will be closed in 14 days unless there is new activity
Author
Owner

@jonico commented on GitHub (Feb 22, 2021):

Please don't mark this issue as stale, dynamic matrix builds are an amazing feature, also asked in #540

<!-- gh-comment-id:782955978 --> @jonico commented on GitHub (Feb 22, 2021): Please don't mark this issue as stale, dynamic matrix builds are an amazing feature, also asked in #540
Author
Owner

@github-actions[bot] commented on GitHub (Mar 24, 2021):

Issue is stale and will be closed in 14 days unless there is new activity

<!-- gh-comment-id:805373292 --> @github-actions[bot] commented on GitHub (Mar 24, 2021): Issue is stale and will be closed in 14 days unless there is new activity
Author
Owner

@jamesalbert commented on GitHub (Mar 24, 2021):

this bot is relentless

<!-- gh-comment-id:805995686 --> @jamesalbert commented on GitHub (Mar 24, 2021): this bot is relentless
Author
Owner

@hertzg commented on GitHub (Mar 25, 2021):

Not sure if this project is actively maintained

<!-- gh-comment-id:806956338 --> @hertzg commented on GitHub (Mar 25, 2021): Not sure if this project is actively maintained
Author
Owner

@jamesalbert commented on GitHub (Mar 29, 2021):

looking at the commit history, it seems relatively active. I think with all the changes coming out, it might be difficult to fix all the issues. Looking forward to further maturity though, would really like to test actions locally before committing.

<!-- gh-comment-id:809615468 --> @jamesalbert commented on GitHub (Mar 29, 2021): looking at the commit history, it seems relatively active. I think with all the changes coming out, it might be difficult to fix all the issues. Looking forward to further maturity though, would really like to test actions locally before committing.
Author
Owner

@catthehacker commented on GitHub (Mar 29, 2021):

Hi all, project is not stale 😅 it's just a lot of work to fix all the issues and edge cases that people report. If you know how to fix problem, feel free to submit PR.

<!-- gh-comment-id:809628131 --> @catthehacker commented on GitHub (Mar 29, 2021): Hi all, project is not stale 😅 it's just a lot of work to fix all the issues and edge cases that people report. If you know how to fix problem, feel free to submit PR.
Author
Owner

@ni4 commented on GitHub (Jun 7, 2021):

@catthehacker Tried to install on macOS via curl https://raw.githubusercontent.com/nektos/act/master/install.sh | sudo bash, assuming that master should include commits from this PR, but still get the same error. Is it something on my side?
It fails on this line: env: ${{ matrix.env }}.

<!-- gh-comment-id:855783591 --> @ni4 commented on GitHub (Jun 7, 2021): @catthehacker Tried to install on macOS via `curl https://raw.githubusercontent.com/nektos/act/master/install.sh | sudo bash`, assuming that master should include commits from this PR, but still get the same error. Is it something on my side? It fails on this line: ` env: ${{ matrix.env }}`.
Author
Owner

@catthehacker commented on GitHub (Jun 7, 2021):

Install script does not install master branch, only released tags

<!-- gh-comment-id:855798226 --> @catthehacker commented on GitHub (Jun 7, 2021): Install script does not install `master` branch, only released tags
Author
Owner

@ni4 commented on GitHub (Jun 7, 2021):

@catthehacker Thanks for clarifying!

<!-- gh-comment-id:855807871 --> @ni4 commented on GitHub (Jun 7, 2021): @catthehacker Thanks for clarifying!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/act#315
No description provided.