You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
act version: 0.2.61
GOOS: linux
GOARCH: amd64
NumCPU: 8
Docker host: DOCKER_HOST environment variable is not set
Sockets found:
/var/run/docker.sock
Config files:
/home/alex/.config/act/actrc:
-P ubuntu-latest=node:16-buster-slim
-P ubuntu-22.04=node:16-bullseye-slim
-P ubuntu-20.04=node:16-buster-slim
-P ubuntu-18.04=node:16-buster-slim
Build info:
Go version: go1.20.14
Module path: github.com/nektos/act
Main version: (devel)
Main path: github.com/nektos/act
Main checksum:
Build settings:
-buildmode: exe
-compiler: gc
-trimpath: true
CGO_ENABLED: 0
GOARCH: amd64
GOOS: linux
GOAMD64: v1
vcs: git
vcs.revision: e8856f0fb00fcdd16eef2325b845f55f5d346f51
vcs.time: 2023-08-21T16:17:06Z
vcs.modified: true
Docker Engine:
Engine version: 26.1.1
Engine runtime: runc
Cgroup version: 2
Cgroup driver: systemd
Storage driver: overlay2
Registry URI: https://index.docker.io/v1/
OS: Fedora Linux 40 (Workstation Edition)
OS type: linux
OS version: 40
OS arch: x86_64
OS kernel: 6.8.7-300.fc40.x86_64
OS CPU: 8
OS memory: 15668 MB
Security options:
name=seccomp,profile=builtin
name=cgroupns
Command used with act
gh act -a text-adi -P ubuntu-latest=ghcr.io/catthehacker/ubuntu:full-latest
Describe issue
The following error occurs when running a github workflow locally:
ERRO[0001] Error while evaluating matrix: Invalid JSON: invalid character '\'' looking for beginning of value
FATA[0001] Failed to decode node {4 0 !!map <nil> [0xc00040abe0 0xc00040ac80 0xc00040ad20 0xc00040adc0] 61 9} into *map[string][]interface {}: yaml: unmarshal errors:
line 61: cannot unmarshal !!str `${{ fro...` into []interface {}
line 62: cannot unmarshal !!str `${{ fro...` into []interface {}
Similarly, when running a workflow on github, there are no errors with such a workflow. Github Action dynamically converts an array represented as a string to an array for matrix using the fromJson function.
Bug report info
Command used with act
Describe issue
The following error occurs when running a github workflow locally:
Similarly, when running a workflow on github, there are no errors with such a workflow. Github Action dynamically converts an array represented as a string to an array for matrix using the
fromJson
function.I expect the following value:
will be successfully converted by the
fromJson
function and used as a dynamic list for matrix.Link to GitHub repository
https://github.com/text-adi/ansible-playbook/tree/add_test_playbook
Workflow content
Relevant log output
Additional information
You can make sure that such a workflow really works correctly at link.
The workflow itself, which was launched.
The text was updated successfully, but these errors were encountered: