[GH-ISSUE #1685] working-directory is not respected when coming from matrix #834

Closed
opened 2026-03-01 21:46:46 +03:00 by kerem · 0 comments
Owner

Originally created by @krisgeus on GitHub (Mar 17, 2023).
Original GitHub issue: https://github.com/nektos/act/issues/1685

Bug report info

act version:            0.2.43
GOOS:                   darwin
GOARCH:                 amd64
NumCPU:                 16
Docker host:            DOCKER_HOST environment variable is unset/empty.
Sockets found:
	/var/run/docker.sock
	/Users/kgeusebroek/.docker/run/docker.sock
Config files:           
	/Users/kgeusebroek/.actrc:
		-P ubuntu-latest=catthehacker/ubuntu:act-latest
		-P ubuntu-20.04=catthehacker/ubuntu:act-20.04
		-P ubuntu-18.04=catthehacker/ubuntu:act-18.04
		ubuntu-16.04=catthehacker/ubuntu:act-16.04
Build info:
	Go version:            go1.20.1
	Module path:           command-line-arguments
	Main version:          
	Main path:             
	Main checksum:         
	Build settings:
		-buildmode:           exe
		-compiler:            gc
		-ldflags:             -X main.version=0.2.43
		CGO_ENABLED:          1
		CGO_CFLAGS:           
		CGO_CPPFLAGS:         
		CGO_CXXFLAGS:         
		CGO_LDFLAGS:          
		GOARCH:               amd64
		GOOS:                 darwin
		GOAMD64:              v1
Docker Engine:
	Engine version:        20.10.22
	Engine runtime:        runc
	Cgroup version:        2
	Cgroup driver:         cgroupfs
	Storage driver:        overlay2
	Registry URI:          https://index.docker.io/v1/
	OS:                    Docker Desktop
	OS type:               linux
	OS version:            
	OS arch:               x86_64
	OS kernel:             5.15.49-linuxkit
	OS CPU:                8
	OS memory:             9962 MB
	Security options:
		name=seccomp,profile=default
		name=cgroupns

Command used with act

act -P ubuntu-latest=catthehacker/ubuntu:full-latest -W./.github/workflows/test-ci.yml

Describe issue

When configuring the working-directory from a matrix only the first value is used at every run. It seems to cache the value and use it in the next runs.

No response

Workflow content

on: push

jobs:
  workdir-from-matrix:
    runs-on: ubuntu-latest
    strategy:
      max-parallel: 1
      matrix:
        work_dir: ["/tmp", "/root"]
    steps:
      - run: '[[ "$(pwd)" == "${{ matrix.work_dir }}" ]]'
        working-directory: ${{ matrix.work_dir }}

Relevant log output

DEBU[0000] Loading workflow '/Users/kgeusebroek/dev/godatadriven/projects/whirl/.github/workflows/bug.yml' 
DEBU[0000] Reading workflow '/Users/kgeusebroek/dev/godatadriven/projects/whirl/.github/workflows/bug.yml' 
DEBU[0000] Conditional GET for notices etag=758d0b6e-b9e0-40db-89c5-f5b87e233664 
DEBU[0000] Preparing plan with all jobs                 
DEBU[0000] Using the only detected workflow event: push 
DEBU[0000] Planning jobs for event: push                
DEBU[0000] Loading revision from git directory          
DEBU[0000] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31 
DEBU[0000] HEAD points to 'df2b558a6e28d76b50274824fc60ebbf0ac14f31' 
DEBU[0000] using github ref: refs/heads/master          
DEBU[0000] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31 
DEBU[0000] Loading revision from git directory          
DEBU[0000] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31 
DEBU[0000] HEAD points to 'df2b558a6e28d76b50274824fc60ebbf0ac14f31' 
DEBU[0000] using github ref: refs/heads/master          
DEBU[0000] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31 
DEBU[0000]                                              
DEBU[0000] Loading revision from git directory          
DEBU[0000] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31 
DEBU[0000] HEAD points to 'df2b558a6e28d76b50274824fc60ebbf0ac14f31' 
DEBU[0000] using github ref: refs/heads/master          
DEBU[0000] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31 
DEBU[0000] Loading revision from git directory          
DEBU[0000] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31 
DEBU[0000] HEAD points to 'df2b558a6e28d76b50274824fc60ebbf0ac14f31' 
DEBU[0000] using github ref: refs/heads/master          
DEBU[0000] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31 
[bug.yml/workdir-from-matrix-1] [DEBUG] evaluating expression 'success()'
[bug.yml/workdir-from-matrix-1] [DEBUG] expression 'success()' evaluated to 'true'
[bug.yml/workdir-from-matrix-1] 🚀  Start image=catthehacker/ubuntu:full-latest
[bug.yml/workdir-from-matrix-1]   🐳  docker pull image=catthehacker/ubuntu:full-latest platform= username= forcePull=true
[bug.yml/workdir-from-matrix-1] [DEBUG]   🐳  docker pull catthehacker/ubuntu:full-latest
[bug.yml/workdir-from-matrix-1] [DEBUG] pulling image 'docker.io/catthehacker/ubuntu:full-latest' ()
DEBU[0001] Saving notices etag=bca04bad-f783-48a6-90b8-ef8441be1811 
[bug.yml/workdir-from-matrix-1] [DEBUG] Pulling from catthehacker/ubuntu :: full-latest
[bug.yml/workdir-from-matrix-1] [DEBUG] Digest: sha256:598b616a8c7ce86d98ee63871cec532f4ff645125b563a8798f2ae1c98928ec7 :: 
[bug.yml/workdir-from-matrix-1] [DEBUG] Status: Image is up to date for catthehacker/ubuntu:full-latest :: 
[bug.yml/workdir-from-matrix-1]   🐳  docker create image=catthehacker/ubuntu:full-latest platform= entrypoint=["tail" "-f" "/dev/null"] cmd=[]
[bug.yml/workdir-from-matrix-1] [DEBUG] Common container.Config ==> &{Hostname: Domainname: User: AttachStdin:false AttachStdout:false AttachStderr:false ExposedPorts:map[] Tty:true OpenStdin:false StdinOnce:false Env:[RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUNNER_OS=Linux RUNNER_ARCH=X64 RUNNER_TEMP=/tmp LANG=C.UTF-8] Cmd:[] Healthcheck:<nil> ArgsEscaped:false Image:catthehacker/ubuntu:full-latest Volumes:map[] WorkingDir:/Users/kgeusebroek/dev/godatadriven/projects/whirl Entrypoint:[] NetworkDisabled:false MacAddress: OnBuild:[] Labels:map[] StopSignal: StopTimeout:<nil> Shell:[]}
[bug.yml/workdir-from-matrix-1] [DEBUG] Common container.HostConfig ==> &{Binds:[/var/run/docker.sock:/var/run/docker.sock] ContainerIDFile: LogConfig:{Type: Config:map[]} NetworkMode:host PortBindings:map[] RestartPolicy:{Name: MaximumRetryCount:0} AutoRemove:false VolumeDriver: VolumesFrom:[] ConsoleSize:[0 0] CapAdd:[] CapDrop:[] CgroupnsMode: DNS:[] DNSOptions:[] DNSSearch:[] ExtraHosts:[] GroupAdd:[] IpcMode: Cgroup: Links:[] OomScoreAdj:0 PidMode: Privileged:false PublishAllPorts:false ReadonlyRootfs:false SecurityOpt:[] StorageOpt:map[] Tmpfs:map[] UTSMode: UsernsMode: ShmSize:0 Sysctls:map[] Runtime: Isolation: Resources:{CPUShares:0 Memory:0 NanoCPUs:0 CgroupParent: BlkioWeight:0 BlkioWeightDevice:[] BlkioDeviceReadBps:[] BlkioDeviceWriteBps:[] BlkioDeviceReadIOps:[] BlkioDeviceWriteIOps:[] CPUPeriod:0 CPUQuota:0 CPURealtimePeriod:0 CPURealtimeRuntime:0 CpusetCpus: CpusetMems: Devices:[] DeviceCgroupRules:[] DeviceRequests:[] KernelMemory:0 KernelMemoryTCP:0 MemoryReservation:0 MemorySwap:0 MemorySwappiness:<nil> OomKillDisable:<nil> PidsLimit:<nil> Ulimits:[] CPUCount:0 CPUPercent:0 IOMaximumIOps:0 IOMaximumBandwidth:0} Mounts:[{Type:volume Source:act-toolcache Target:/toolcache ReadOnly:false Consistency: BindOptions:<nil> VolumeOptions:<nil> TmpfsOptions:<nil> ClusterOptions:<nil>} {Type:volume Source:act-bug-yml-workdir-from-matrix-1-2cd8ebcd3807c2db44e7f51e9e15049b55152574fa1cf0b2fc5bff19d4539923-env Target:/var/run/act ReadOnly:false Consistency: BindOptions:<nil> VolumeOptions:<nil> TmpfsOptions:<nil> ClusterOptions:<nil>} {Type:volume Source:act-bug-yml-workdir-from-matrix-1-2cd8ebcd3807c2db44e7f51e9e15049b55152574fa1cf0b2fc5bff19d4539923 Target:/Users/kgeusebroek/dev/godatadriven/projects/whirl ReadOnly:false Consistency: BindOptions:<nil> VolumeOptions:<nil> TmpfsOptions:<nil> ClusterOptions:<nil>}] MaskedPaths:[] ReadonlyPaths:[] Init:<nil>}
[bug.yml/workdir-from-matrix-1] [DEBUG] Created container name=act-bug-yml-workdir-from-matrix-1-2cd8ebcd3807c2db44e7f51e9e15049b55152574fa1cf0b2fc5bff19d4539923 id=a90cc564d1036c3c2084b75c09bf38d8d166e7bee17ccb3cc0c010a47af67736 from image catthehacker/ubuntu:full-latest (platform: )
[bug.yml/workdir-from-matrix-1] [DEBUG] ENV ==> [RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUNNER_OS=Linux RUNNER_ARCH=X64 RUNNER_TEMP=/tmp LANG=C.UTF-8]
[bug.yml/workdir-from-matrix-1]   🐳  docker run image=catthehacker/ubuntu:full-latest platform= entrypoint=["tail" "-f" "/dev/null"] cmd=[]
[bug.yml/workdir-from-matrix-1] [DEBUG] Starting container: a90cc564d1036c3c2084b75c09bf38d8d166e7bee17ccb3cc0c010a47af67736
[bug.yml/workdir-from-matrix-1] [DEBUG] Started container: a90cc564d1036c3c2084b75c09bf38d8d166e7bee17ccb3cc0c010a47af67736
[bug.yml/workdir-from-matrix-1] [DEBUG] Writing entry to tarball workflow/event.json len:2
[bug.yml/workdir-from-matrix-1] [DEBUG] Writing entry to tarball workflow/envs.txt len:0
[bug.yml/workdir-from-matrix-1] [DEBUG] Extracting content to '/var/run/act/'
[bug.yml/workdir-from-matrix-1] [DEBUG] Loading revision from git directory
[bug.yml/workdir-from-matrix-1] [DEBUG] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31
[bug.yml/workdir-from-matrix-1] [DEBUG] HEAD points to 'df2b558a6e28d76b50274824fc60ebbf0ac14f31'
[bug.yml/workdir-from-matrix-1] [DEBUG] using github ref: refs/heads/master
[bug.yml/workdir-from-matrix-1] [DEBUG] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31
[bug.yml/workdir-from-matrix-1] [DEBUG] expression '[[ "$(pwd)" == "${{ matrix.work_dir }}" ]]' rewritten to 'format('[[ "$(pwd)" == "{0}" ]]', matrix.work_dir)'
[bug.yml/workdir-from-matrix-1] [DEBUG] evaluating expression 'format('[[ "$(pwd)" == "{0}" ]]', matrix.work_dir)'
[bug.yml/workdir-from-matrix-1] [DEBUG] expression 'format('[[ "$(pwd)" == "{0}" ]]', matrix.work_dir)' evaluated to '%!t(string=[[ "$(pwd)" == "/tmp" ]])'
[bug.yml/workdir-from-matrix-1] 🧪  Matrix: map[work_dir:/tmp]
[bug.yml/workdir-from-matrix-1] [DEBUG] expression '[[ "$(pwd)" == "${{ matrix.work_dir }}" ]]' rewritten to 'format('[[ "$(pwd)" == "{0}" ]]', matrix.work_dir)'
[bug.yml/workdir-from-matrix-1] [DEBUG] evaluating expression 'format('[[ "$(pwd)" == "{0}" ]]', matrix.work_dir)'
[bug.yml/workdir-from-matrix-1] [DEBUG] expression 'format('[[ "$(pwd)" == "{0}" ]]', matrix.work_dir)' evaluated to '%!t(string=[[ "$(pwd)" == "/tmp" ]])'
[bug.yml/workdir-from-matrix-1] [DEBUG] Loading revision from git directory
[bug.yml/workdir-from-matrix-1] [DEBUG] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31
[bug.yml/workdir-from-matrix-1] [DEBUG] HEAD points to 'df2b558a6e28d76b50274824fc60ebbf0ac14f31'
[bug.yml/workdir-from-matrix-1] [DEBUG] using github ref: refs/heads/master
[bug.yml/workdir-from-matrix-1] [DEBUG] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31
[bug.yml/workdir-from-matrix-1] [DEBUG] Loading revision from git directory
[bug.yml/workdir-from-matrix-1] [DEBUG] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31
[bug.yml/workdir-from-matrix-1] [DEBUG] HEAD points to 'df2b558a6e28d76b50274824fc60ebbf0ac14f31'
[bug.yml/workdir-from-matrix-1] [DEBUG] using github ref: refs/heads/master
[bug.yml/workdir-from-matrix-1] [DEBUG] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31
[bug.yml/workdir-from-matrix-1] [DEBUG] Loading revision from git directory
[bug.yml/workdir-from-matrix-1] [DEBUG] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31
[bug.yml/workdir-from-matrix-1] [DEBUG] HEAD points to 'df2b558a6e28d76b50274824fc60ebbf0ac14f31'
[bug.yml/workdir-from-matrix-1] [DEBUG] using github ref: refs/heads/master
[bug.yml/workdir-from-matrix-1] [DEBUG] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31
[bug.yml/workdir-from-matrix-1] [DEBUG] setupEnv => map[ACT:true CI:true GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_PATH: GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:workdir-from-matrix GITHUB_REF:refs/heads/master GITHUB_REF_NAME:master GITHUB_REF_TYPE:branch GITHUB_REPOSITORY:godatadriven/whirl GITHUB_REPOSITORY_OWNER:godatadriven GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:df2b558a6e28d76b50274824fc60ebbf0ac14f31 GITHUB_TOKEN: GITHUB_WORKFLOW:bug.yml GITHUB_WORKSPACE:/Users/kgeusebroek/dev/godatadriven/projects/whirl ImageOS:ubuntu20 RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID:]
[bug.yml/workdir-from-matrix-1] [DEBUG] Loading revision from git directory
[bug.yml/workdir-from-matrix-1] [DEBUG] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31
[bug.yml/workdir-from-matrix-1] [DEBUG] HEAD points to 'df2b558a6e28d76b50274824fc60ebbf0ac14f31'
[bug.yml/workdir-from-matrix-1] [DEBUG] using github ref: refs/heads/master
[bug.yml/workdir-from-matrix-1] [DEBUG] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31
[bug.yml/workdir-from-matrix-1] [DEBUG] Loading revision from git directory
[bug.yml/workdir-from-matrix-1] [DEBUG] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31
[bug.yml/workdir-from-matrix-1] [DEBUG] HEAD points to 'df2b558a6e28d76b50274824fc60ebbf0ac14f31'
[bug.yml/workdir-from-matrix-1] [DEBUG] using github ref: refs/heads/master
[bug.yml/workdir-from-matrix-1] [DEBUG] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31
[bug.yml/workdir-from-matrix-1] [DEBUG] evaluating expression ''
[bug.yml/workdir-from-matrix-1] [DEBUG] expression '' evaluated to 'true'
[bug.yml/workdir-from-matrix-1] [DEBUG] expression '[[ "$(pwd)" == "${{ matrix.work_dir }}" ]]' rewritten to 'format('[[ "$(pwd)" == "{0}" ]]', matrix.work_dir)'
[bug.yml/workdir-from-matrix-1] [DEBUG] evaluating expression 'format('[[ "$(pwd)" == "{0}" ]]', matrix.work_dir)'
[bug.yml/workdir-from-matrix-1] [DEBUG] expression 'format('[[ "$(pwd)" == "{0}" ]]', matrix.work_dir)' evaluated to '%!t(string=[[ "$(pwd)" == "/tmp" ]])'
[bug.yml/workdir-from-matrix-1] ⭐ Run Main [[ "$(pwd)" == "/tmp" ]]
[bug.yml/workdir-from-matrix-1] [DEBUG] Writing entry to tarball workflow/outputcmd.txt len:0
[bug.yml/workdir-from-matrix-1] [DEBUG] Writing entry to tarball workflow/statecmd.txt len:0
[bug.yml/workdir-from-matrix-1] [DEBUG] Writing entry to tarball workflow/pathcmd.txt len:0
[bug.yml/workdir-from-matrix-1] [DEBUG] Writing entry to tarball workflow/envs.txt len:0
[bug.yml/workdir-from-matrix-1] [DEBUG] Writing entry to tarball workflow/SUMMARY.md len:0
[bug.yml/workdir-from-matrix-1] [DEBUG] Extracting content to '/var/run/act'
[bug.yml/workdir-from-matrix-1] [DEBUG] Loading revision from git directory
[bug.yml/workdir-from-matrix-1] [DEBUG] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31
[bug.yml/workdir-from-matrix-1] [DEBUG] HEAD points to 'df2b558a6e28d76b50274824fc60ebbf0ac14f31'
[bug.yml/workdir-from-matrix-1] [DEBUG] using github ref: refs/heads/master
[bug.yml/workdir-from-matrix-1] [DEBUG] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31
[bug.yml/workdir-from-matrix-1] [DEBUG] Loading revision from git directory
[bug.yml/workdir-from-matrix-1] [DEBUG] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31
[bug.yml/workdir-from-matrix-1] [DEBUG] HEAD points to 'df2b558a6e28d76b50274824fc60ebbf0ac14f31'
[bug.yml/workdir-from-matrix-1] [DEBUG] using github ref: refs/heads/master
[bug.yml/workdir-from-matrix-1] [DEBUG] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31
[bug.yml/workdir-from-matrix-1] [DEBUG] expression '${{ matrix.work_dir }}' rewritten to 'format('{0}', matrix.work_dir)'
[bug.yml/workdir-from-matrix-1] [DEBUG] evaluating expression 'format('{0}', matrix.work_dir)'
[bug.yml/workdir-from-matrix-1] [DEBUG] expression 'format('{0}', matrix.work_dir)' evaluated to '%!t(string=/tmp)'
[bug.yml/workdir-from-matrix-1] [DEBUG] Loading revision from git directory
[bug.yml/workdir-from-matrix-1] [DEBUG] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31
[bug.yml/workdir-from-matrix-1] [DEBUG] HEAD points to 'df2b558a6e28d76b50274824fc60ebbf0ac14f31'
[bug.yml/workdir-from-matrix-1] [DEBUG] using github ref: refs/heads/master
[bug.yml/workdir-from-matrix-1] [DEBUG] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31
[bug.yml/workdir-from-matrix-1] [DEBUG] Loading revision from git directory
[bug.yml/workdir-from-matrix-1] [DEBUG] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31
[bug.yml/workdir-from-matrix-1] [DEBUG] HEAD points to 'df2b558a6e28d76b50274824fc60ebbf0ac14f31'
[bug.yml/workdir-from-matrix-1] [DEBUG] using github ref: refs/heads/master
[bug.yml/workdir-from-matrix-1] [DEBUG] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31
[bug.yml/workdir-from-matrix-1] [DEBUG] expression '[[ "$(pwd)" == "${{ matrix.work_dir }}" ]]' rewritten to 'format('[[ "$(pwd)" == "{0}" ]]', matrix.work_dir)'
[bug.yml/workdir-from-matrix-1] [DEBUG] evaluating expression 'format('[[ "$(pwd)" == "{0}" ]]', matrix.work_dir)'
[bug.yml/workdir-from-matrix-1] [DEBUG] expression 'format('[[ "$(pwd)" == "{0}" ]]', matrix.work_dir)' evaluated to '%!t(string=[[ "$(pwd)" == "/tmp" ]])'
[bug.yml/workdir-from-matrix-1] [DEBUG] Wrote command 

[[ "$(pwd)" == "/tmp" ]]

 to 'workflow/0'
[bug.yml/workdir-from-matrix-1] [DEBUG] Writing entry to tarball workflow/0 len:26
[bug.yml/workdir-from-matrix-1] [DEBUG] Extracting content to '/var/run/act'
[bug.yml/workdir-from-matrix-1]   🐳  docker exec cmd=[bash --noprofile --norc -e -o pipefail /var/run/act/workflow/0] user= workdir=/tmp
[bug.yml/workdir-from-matrix-1] [DEBUG] Exec command '[bash --noprofile --norc -e -o pipefail /var/run/act/workflow/0]'
[bug.yml/workdir-from-matrix-1] [DEBUG] Working directory '/tmp'
[bug.yml/workdir-from-matrix-1]   ✅  Success - Main [[ "$(pwd)" == "/tmp" ]]
[bug.yml/workdir-from-matrix-1] [DEBUG] expression '[[ "$(pwd)" == "${{ matrix.work_dir }}" ]]' rewritten to 'format('[[ "$(pwd)" == "{0}" ]]', matrix.work_dir)'
[bug.yml/workdir-from-matrix-1] [DEBUG] evaluating expression 'format('[[ "$(pwd)" == "{0}" ]]', matrix.work_dir)'
[bug.yml/workdir-from-matrix-1] [DEBUG] expression 'format('[[ "$(pwd)" == "{0}" ]]', matrix.work_dir)' evaluated to '%!t(string=[[ "$(pwd)" == "/tmp" ]])'
[bug.yml/workdir-from-matrix-1] [DEBUG] Removed container: a90cc564d1036c3c2084b75c09bf38d8d166e7bee17ccb3cc0c010a47af67736
[bug.yml/workdir-from-matrix-1] [DEBUG]   🐳  docker volume rm act-bug-yml-workdir-from-matrix-1-2cd8ebcd3807c2db44e7f51e9e15049b55152574fa1cf0b2fc5bff19d4539923
[bug.yml/workdir-from-matrix-1] [DEBUG]   🐳  docker volume rm act-bug-yml-workdir-from-matrix-1-2cd8ebcd3807c2db44e7f51e9e15049b55152574fa1cf0b2fc5bff19d4539923-env
[bug.yml/workdir-from-matrix-1] 🏁  Job succeeded
[bug.yml/workdir-from-matrix-1] [DEBUG] Loading revision from git directory
[bug.yml/workdir-from-matrix-1] [DEBUG] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31
[bug.yml/workdir-from-matrix-1] [DEBUG] HEAD points to 'df2b558a6e28d76b50274824fc60ebbf0ac14f31'
[bug.yml/workdir-from-matrix-1] [DEBUG] using github ref: refs/heads/master
[bug.yml/workdir-from-matrix-1] [DEBUG] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31
[bug.yml/workdir-from-matrix-2] [DEBUG] evaluating expression 'success()'
[bug.yml/workdir-from-matrix-2] [DEBUG] expression 'success()' evaluated to 'true'
[bug.yml/workdir-from-matrix-2] 🚀  Start image=catthehacker/ubuntu:full-latest
[bug.yml/workdir-from-matrix-2]   🐳  docker pull image=catthehacker/ubuntu:full-latest platform= username= forcePull=true
[bug.yml/workdir-from-matrix-2] [DEBUG]   🐳  docker pull catthehacker/ubuntu:full-latest
[bug.yml/workdir-from-matrix-2] [DEBUG] pulling image 'docker.io/catthehacker/ubuntu:full-latest' ()
[bug.yml/workdir-from-matrix-2] [DEBUG] Pulling from catthehacker/ubuntu :: full-latest
[bug.yml/workdir-from-matrix-2] [DEBUG] Digest: sha256:598b616a8c7ce86d98ee63871cec532f4ff645125b563a8798f2ae1c98928ec7 :: 
[bug.yml/workdir-from-matrix-2] [DEBUG] Status: Image is up to date for catthehacker/ubuntu:full-latest :: 
[bug.yml/workdir-from-matrix-2]   🐳  docker create image=catthehacker/ubuntu:full-latest platform= entrypoint=["tail" "-f" "/dev/null"] cmd=[]
[bug.yml/workdir-from-matrix-2] [DEBUG] Common container.Config ==> &{Hostname: Domainname: User: AttachStdin:false AttachStdout:false AttachStderr:false ExposedPorts:map[] Tty:true OpenStdin:false StdinOnce:false Env:[RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUNNER_OS=Linux RUNNER_ARCH=X64 RUNNER_TEMP=/tmp LANG=C.UTF-8] Cmd:[] Healthcheck:<nil> ArgsEscaped:false Image:catthehacker/ubuntu:full-latest Volumes:map[] WorkingDir:/Users/kgeusebroek/dev/godatadriven/projects/whirl Entrypoint:[] NetworkDisabled:false MacAddress: OnBuild:[] Labels:map[] StopSignal: StopTimeout:<nil> Shell:[]}
[bug.yml/workdir-from-matrix-2] [DEBUG] Common container.HostConfig ==> &{Binds:[/var/run/docker.sock:/var/run/docker.sock] ContainerIDFile: LogConfig:{Type: Config:map[]} NetworkMode:host PortBindings:map[] RestartPolicy:{Name: MaximumRetryCount:0} AutoRemove:false VolumeDriver: VolumesFrom:[] ConsoleSize:[0 0] CapAdd:[] CapDrop:[] CgroupnsMode: DNS:[] DNSOptions:[] DNSSearch:[] ExtraHosts:[] GroupAdd:[] IpcMode: Cgroup: Links:[] OomScoreAdj:0 PidMode: Privileged:false PublishAllPorts:false ReadonlyRootfs:false SecurityOpt:[] StorageOpt:map[] Tmpfs:map[] UTSMode: UsernsMode: ShmSize:0 Sysctls:map[] Runtime: Isolation: Resources:{CPUShares:0 Memory:0 NanoCPUs:0 CgroupParent: BlkioWeight:0 BlkioWeightDevice:[] BlkioDeviceReadBps:[] BlkioDeviceWriteBps:[] BlkioDeviceReadIOps:[] BlkioDeviceWriteIOps:[] CPUPeriod:0 CPUQuota:0 CPURealtimePeriod:0 CPURealtimeRuntime:0 CpusetCpus: CpusetMems: Devices:[] DeviceCgroupRules:[] DeviceRequests:[] KernelMemory:0 KernelMemoryTCP:0 MemoryReservation:0 MemorySwap:0 MemorySwappiness:<nil> OomKillDisable:<nil> PidsLimit:<nil> Ulimits:[] CPUCount:0 CPUPercent:0 IOMaximumIOps:0 IOMaximumBandwidth:0} Mounts:[{Type:volume Source:act-bug-yml-workdir-from-matrix-2-fa818fcc4a712f08b649b63a55bb07d735cca8fbae2f11c8e9eccc0355b561c9 Target:/Users/kgeusebroek/dev/godatadriven/projects/whirl ReadOnly:false Consistency: BindOptions:<nil> VolumeOptions:<nil> TmpfsOptions:<nil> ClusterOptions:<nil>} {Type:volume Source:act-toolcache Target:/toolcache ReadOnly:false Consistency: BindOptions:<nil> VolumeOptions:<nil> TmpfsOptions:<nil> ClusterOptions:<nil>} {Type:volume Source:act-bug-yml-workdir-from-matrix-2-fa818fcc4a712f08b649b63a55bb07d735cca8fbae2f11c8e9eccc0355b561c9-env Target:/var/run/act ReadOnly:false Consistency: BindOptions:<nil> VolumeOptions:<nil> TmpfsOptions:<nil> ClusterOptions:<nil>}] MaskedPaths:[] ReadonlyPaths:[] Init:<nil>}
[bug.yml/workdir-from-matrix-2] [DEBUG] Created container name=act-bug-yml-workdir-from-matrix-2-fa818fcc4a712f08b649b63a55bb07d735cca8fbae2f11c8e9eccc0355b561c9 id=ebc5f3a5d886326b28abcb0c5858cb71331cbe9ad3e314e34322726df00160a2 from image catthehacker/ubuntu:full-latest (platform: )
[bug.yml/workdir-from-matrix-2] [DEBUG] ENV ==> [RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUNNER_OS=Linux RUNNER_ARCH=X64 RUNNER_TEMP=/tmp LANG=C.UTF-8]
[bug.yml/workdir-from-matrix-2]   🐳  docker run image=catthehacker/ubuntu:full-latest platform= entrypoint=["tail" "-f" "/dev/null"] cmd=[]
[bug.yml/workdir-from-matrix-2] [DEBUG] Starting container: ebc5f3a5d886326b28abcb0c5858cb71331cbe9ad3e314e34322726df00160a2
[bug.yml/workdir-from-matrix-2] [DEBUG] Started container: ebc5f3a5d886326b28abcb0c5858cb71331cbe9ad3e314e34322726df00160a2
[bug.yml/workdir-from-matrix-2] [DEBUG] Writing entry to tarball workflow/event.json len:2
[bug.yml/workdir-from-matrix-2] [DEBUG] Writing entry to tarball workflow/envs.txt len:0
[bug.yml/workdir-from-matrix-2] [DEBUG] Extracting content to '/var/run/act/'
[bug.yml/workdir-from-matrix-2] [DEBUG] Loading revision from git directory
[bug.yml/workdir-from-matrix-2] [DEBUG] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31
[bug.yml/workdir-from-matrix-2] [DEBUG] HEAD points to 'df2b558a6e28d76b50274824fc60ebbf0ac14f31'
[bug.yml/workdir-from-matrix-2] [DEBUG] using github ref: refs/heads/master
[bug.yml/workdir-from-matrix-2] [DEBUG] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31
[bug.yml/workdir-from-matrix-2] [DEBUG] expression '[[ "$(pwd)" == "${{ matrix.work_dir }}" ]]' rewritten to 'format('[[ "$(pwd)" == "{0}" ]]', matrix.work_dir)'
[bug.yml/workdir-from-matrix-2] [DEBUG] evaluating expression 'format('[[ "$(pwd)" == "{0}" ]]', matrix.work_dir)'
[bug.yml/workdir-from-matrix-2] [DEBUG] expression 'format('[[ "$(pwd)" == "{0}" ]]', matrix.work_dir)' evaluated to '%!t(string=[[ "$(pwd)" == "/root" ]])'
[bug.yml/workdir-from-matrix-2] 🧪  Matrix: map[work_dir:/root]
[bug.yml/workdir-from-matrix-2] [DEBUG] expression '[[ "$(pwd)" == "${{ matrix.work_dir }}" ]]' rewritten to 'format('[[ "$(pwd)" == "{0}" ]]', matrix.work_dir)'
[bug.yml/workdir-from-matrix-2] [DEBUG] evaluating expression 'format('[[ "$(pwd)" == "{0}" ]]', matrix.work_dir)'
[bug.yml/workdir-from-matrix-2] [DEBUG] expression 'format('[[ "$(pwd)" == "{0}" ]]', matrix.work_dir)' evaluated to '%!t(string=[[ "$(pwd)" == "/root" ]])'
[bug.yml/workdir-from-matrix-2] [DEBUG] Loading revision from git directory
[bug.yml/workdir-from-matrix-2] [DEBUG] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31
[bug.yml/workdir-from-matrix-2] [DEBUG] HEAD points to 'df2b558a6e28d76b50274824fc60ebbf0ac14f31'
[bug.yml/workdir-from-matrix-2] [DEBUG] using github ref: refs/heads/master
[bug.yml/workdir-from-matrix-2] [DEBUG] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31
[bug.yml/workdir-from-matrix-2] [DEBUG] Loading revision from git directory
[bug.yml/workdir-from-matrix-2] [DEBUG] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31
[bug.yml/workdir-from-matrix-2] [DEBUG] HEAD points to 'df2b558a6e28d76b50274824fc60ebbf0ac14f31'
[bug.yml/workdir-from-matrix-2] [DEBUG] using github ref: refs/heads/master
[bug.yml/workdir-from-matrix-2] [DEBUG] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31
[bug.yml/workdir-from-matrix-2] [DEBUG] Loading revision from git directory
[bug.yml/workdir-from-matrix-2] [DEBUG] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31
[bug.yml/workdir-from-matrix-2] [DEBUG] HEAD points to 'df2b558a6e28d76b50274824fc60ebbf0ac14f31'
[bug.yml/workdir-from-matrix-2] [DEBUG] using github ref: refs/heads/master
[bug.yml/workdir-from-matrix-2] [DEBUG] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31
[bug.yml/workdir-from-matrix-2] [DEBUG] setupEnv => map[ACT:true CI:true GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_PATH: GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:workdir-from-matrix GITHUB_REF:refs/heads/master GITHUB_REF_NAME:master GITHUB_REF_TYPE:branch GITHUB_REPOSITORY:godatadriven/whirl GITHUB_REPOSITORY_OWNER:godatadriven GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:df2b558a6e28d76b50274824fc60ebbf0ac14f31 GITHUB_TOKEN: GITHUB_WORKFLOW:bug.yml GITHUB_WORKSPACE:/Users/kgeusebroek/dev/godatadriven/projects/whirl ImageOS:ubuntu20 RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID:]
[bug.yml/workdir-from-matrix-2] [DEBUG] Loading revision from git directory
[bug.yml/workdir-from-matrix-2] [DEBUG] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31
[bug.yml/workdir-from-matrix-2] [DEBUG] HEAD points to 'df2b558a6e28d76b50274824fc60ebbf0ac14f31'
[bug.yml/workdir-from-matrix-2] [DEBUG] using github ref: refs/heads/master
[bug.yml/workdir-from-matrix-2] [DEBUG] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31
[bug.yml/workdir-from-matrix-2] [DEBUG] Loading revision from git directory
[bug.yml/workdir-from-matrix-2] [DEBUG] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31
[bug.yml/workdir-from-matrix-2] [DEBUG] HEAD points to 'df2b558a6e28d76b50274824fc60ebbf0ac14f31'
[bug.yml/workdir-from-matrix-2] [DEBUG] using github ref: refs/heads/master
[bug.yml/workdir-from-matrix-2] [DEBUG] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31
[bug.yml/workdir-from-matrix-2] [DEBUG] evaluating expression ''
[bug.yml/workdir-from-matrix-2] [DEBUG] expression '' evaluated to 'true'
[bug.yml/workdir-from-matrix-2] [DEBUG] expression '[[ "$(pwd)" == "${{ matrix.work_dir }}" ]]' rewritten to 'format('[[ "$(pwd)" == "{0}" ]]', matrix.work_dir)'
[bug.yml/workdir-from-matrix-2] [DEBUG] evaluating expression 'format('[[ "$(pwd)" == "{0}" ]]', matrix.work_dir)'
[bug.yml/workdir-from-matrix-2] [DEBUG] expression 'format('[[ "$(pwd)" == "{0}" ]]', matrix.work_dir)' evaluated to '%!t(string=[[ "$(pwd)" == "/root" ]])'
[bug.yml/workdir-from-matrix-2] ⭐ Run Main [[ "$(pwd)" == "/root" ]]
[bug.yml/workdir-from-matrix-2] [DEBUG] Writing entry to tarball workflow/outputcmd.txt len:0
[bug.yml/workdir-from-matrix-2] [DEBUG] Writing entry to tarball workflow/statecmd.txt len:0
[bug.yml/workdir-from-matrix-2] [DEBUG] Writing entry to tarball workflow/pathcmd.txt len:0
[bug.yml/workdir-from-matrix-2] [DEBUG] Writing entry to tarball workflow/envs.txt len:0
[bug.yml/workdir-from-matrix-2] [DEBUG] Writing entry to tarball workflow/SUMMARY.md len:0
[bug.yml/workdir-from-matrix-2] [DEBUG] Extracting content to '/var/run/act'
[bug.yml/workdir-from-matrix-2] [DEBUG] Loading revision from git directory
[bug.yml/workdir-from-matrix-2] [DEBUG] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31
[bug.yml/workdir-from-matrix-2] [DEBUG] HEAD points to 'df2b558a6e28d76b50274824fc60ebbf0ac14f31'
[bug.yml/workdir-from-matrix-2] [DEBUG] using github ref: refs/heads/master
[bug.yml/workdir-from-matrix-2] [DEBUG] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31
[bug.yml/workdir-from-matrix-2] [DEBUG] Loading revision from git directory
[bug.yml/workdir-from-matrix-2] [DEBUG] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31
[bug.yml/workdir-from-matrix-2] [DEBUG] HEAD points to 'df2b558a6e28d76b50274824fc60ebbf0ac14f31'
[bug.yml/workdir-from-matrix-2] [DEBUG] using github ref: refs/heads/master
[bug.yml/workdir-from-matrix-2] [DEBUG] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31
[bug.yml/workdir-from-matrix-2] [DEBUG] Loading revision from git directory
[bug.yml/workdir-from-matrix-2] [DEBUG] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31
[bug.yml/workdir-from-matrix-2] [DEBUG] HEAD points to 'df2b558a6e28d76b50274824fc60ebbf0ac14f31'
[bug.yml/workdir-from-matrix-2] [DEBUG] using github ref: refs/heads/master
[bug.yml/workdir-from-matrix-2] [DEBUG] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31
[bug.yml/workdir-from-matrix-2] [DEBUG] Loading revision from git directory
[bug.yml/workdir-from-matrix-2] [DEBUG] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31
[bug.yml/workdir-from-matrix-2] [DEBUG] HEAD points to 'df2b558a6e28d76b50274824fc60ebbf0ac14f31'
[bug.yml/workdir-from-matrix-2] [DEBUG] using github ref: refs/heads/master
[bug.yml/workdir-from-matrix-2] [DEBUG] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31
[bug.yml/workdir-from-matrix-2] [DEBUG] expression '[[ "$(pwd)" == "${{ matrix.work_dir }}" ]]' rewritten to 'format('[[ "$(pwd)" == "{0}" ]]', matrix.work_dir)'
[bug.yml/workdir-from-matrix-2] [DEBUG] evaluating expression 'format('[[ "$(pwd)" == "{0}" ]]', matrix.work_dir)'
[bug.yml/workdir-from-matrix-2] [DEBUG] expression 'format('[[ "$(pwd)" == "{0}" ]]', matrix.work_dir)' evaluated to '%!t(string=[[ "$(pwd)" == "/root" ]])'
[bug.yml/workdir-from-matrix-2] [DEBUG] Wrote command 

[[ "$(pwd)" == "/root" ]]

 to 'workflow/0'
[bug.yml/workdir-from-matrix-2] [DEBUG] Writing entry to tarball workflow/0 len:27
[bug.yml/workdir-from-matrix-2] [DEBUG] Extracting content to '/var/run/act'
[bug.yml/workdir-from-matrix-2]   🐳  docker exec cmd=[bash --noprofile --norc -e -o pipefail /var/run/act/workflow/0] user= workdir=/tmp
[bug.yml/workdir-from-matrix-2] [DEBUG] Exec command '[bash --noprofile --norc -e -o pipefail /var/run/act/workflow/0]'
[bug.yml/workdir-from-matrix-2] [DEBUG] Working directory '/tmp'
[bug.yml/workdir-from-matrix-2]   ❌  Failure - Main [[ "$(pwd)" == "/root" ]]
[bug.yml/workdir-from-matrix-2] exitcode '1': failure
[bug.yml/workdir-from-matrix-2] [DEBUG] expression '[[ "$(pwd)" == "${{ matrix.work_dir }}" ]]' rewritten to 'format('[[ "$(pwd)" == "{0}" ]]', matrix.work_dir)'
[bug.yml/workdir-from-matrix-2] [DEBUG] evaluating expression 'format('[[ "$(pwd)" == "{0}" ]]', matrix.work_dir)'
[bug.yml/workdir-from-matrix-2] [DEBUG] expression 'format('[[ "$(pwd)" == "{0}" ]]', matrix.work_dir)' evaluated to '%!t(string=[[ "$(pwd)" == "/root" ]])'
[bug.yml/workdir-from-matrix-2] 🏁  Job failed
[bug.yml/workdir-from-matrix-2] [DEBUG] Loading revision from git directory
[bug.yml/workdir-from-matrix-2] [DEBUG] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31
[bug.yml/workdir-from-matrix-2] [DEBUG] HEAD points to 'df2b558a6e28d76b50274824fc60ebbf0ac14f31'
[bug.yml/workdir-from-matrix-2] [DEBUG] using github ref: refs/heads/master
[bug.yml/workdir-from-matrix-2] [DEBUG] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31
Error: Job 'workdir-from-matrix' failed

Additional information

No response

Originally created by @krisgeus on GitHub (Mar 17, 2023). Original GitHub issue: https://github.com/nektos/act/issues/1685 ### Bug report info ```plain text act version: 0.2.43 GOOS: darwin GOARCH: amd64 NumCPU: 16 Docker host: DOCKER_HOST environment variable is unset/empty. Sockets found: /var/run/docker.sock /Users/kgeusebroek/.docker/run/docker.sock Config files: /Users/kgeusebroek/.actrc: -P ubuntu-latest=catthehacker/ubuntu:act-latest -P ubuntu-20.04=catthehacker/ubuntu:act-20.04 -P ubuntu-18.04=catthehacker/ubuntu:act-18.04 ubuntu-16.04=catthehacker/ubuntu:act-16.04 Build info: Go version: go1.20.1 Module path: command-line-arguments Main version: Main path: Main checksum: Build settings: -buildmode: exe -compiler: gc -ldflags: -X main.version=0.2.43 CGO_ENABLED: 1 CGO_CFLAGS: CGO_CPPFLAGS: CGO_CXXFLAGS: CGO_LDFLAGS: GOARCH: amd64 GOOS: darwin GOAMD64: v1 Docker Engine: Engine version: 20.10.22 Engine runtime: runc Cgroup version: 2 Cgroup driver: cgroupfs Storage driver: overlay2 Registry URI: https://index.docker.io/v1/ OS: Docker Desktop OS type: linux OS version: OS arch: x86_64 OS kernel: 5.15.49-linuxkit OS CPU: 8 OS memory: 9962 MB Security options: name=seccomp,profile=default name=cgroupns ``` ### Command used with act ```sh act -P ubuntu-latest=catthehacker/ubuntu:full-latest -W./.github/workflows/test-ci.yml ``` ### Describe issue When configuring the working-directory from a matrix only the first value is used at every run. It seems to cache the value and use it in the next runs. ### Link to GitHub repository _No response_ ### Workflow content ```yml on: push jobs: workdir-from-matrix: runs-on: ubuntu-latest strategy: max-parallel: 1 matrix: work_dir: ["/tmp", "/root"] steps: - run: '[[ "$(pwd)" == "${{ matrix.work_dir }}" ]]' working-directory: ${{ matrix.work_dir }} ``` ### Relevant log output ```sh DEBU[0000] Loading workflow '/Users/kgeusebroek/dev/godatadriven/projects/whirl/.github/workflows/bug.yml' DEBU[0000] Reading workflow '/Users/kgeusebroek/dev/godatadriven/projects/whirl/.github/workflows/bug.yml' DEBU[0000] Conditional GET for notices etag=758d0b6e-b9e0-40db-89c5-f5b87e233664 DEBU[0000] Preparing plan with all jobs DEBU[0000] Using the only detected workflow event: push DEBU[0000] Planning jobs for event: push DEBU[0000] Loading revision from git directory DEBU[0000] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31 DEBU[0000] HEAD points to 'df2b558a6e28d76b50274824fc60ebbf0ac14f31' DEBU[0000] using github ref: refs/heads/master DEBU[0000] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31 DEBU[0000] Loading revision from git directory DEBU[0000] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31 DEBU[0000] HEAD points to 'df2b558a6e28d76b50274824fc60ebbf0ac14f31' DEBU[0000] using github ref: refs/heads/master DEBU[0000] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31 DEBU[0000] DEBU[0000] Loading revision from git directory DEBU[0000] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31 DEBU[0000] HEAD points to 'df2b558a6e28d76b50274824fc60ebbf0ac14f31' DEBU[0000] using github ref: refs/heads/master DEBU[0000] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31 DEBU[0000] Loading revision from git directory DEBU[0000] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31 DEBU[0000] HEAD points to 'df2b558a6e28d76b50274824fc60ebbf0ac14f31' DEBU[0000] using github ref: refs/heads/master DEBU[0000] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31 [bug.yml/workdir-from-matrix-1] [DEBUG] evaluating expression 'success()' [bug.yml/workdir-from-matrix-1] [DEBUG] expression 'success()' evaluated to 'true' [bug.yml/workdir-from-matrix-1] 🚀 Start image=catthehacker/ubuntu:full-latest [bug.yml/workdir-from-matrix-1] 🐳 docker pull image=catthehacker/ubuntu:full-latest platform= username= forcePull=true [bug.yml/workdir-from-matrix-1] [DEBUG] 🐳 docker pull catthehacker/ubuntu:full-latest [bug.yml/workdir-from-matrix-1] [DEBUG] pulling image 'docker.io/catthehacker/ubuntu:full-latest' () DEBU[0001] Saving notices etag=bca04bad-f783-48a6-90b8-ef8441be1811 [bug.yml/workdir-from-matrix-1] [DEBUG] Pulling from catthehacker/ubuntu :: full-latest [bug.yml/workdir-from-matrix-1] [DEBUG] Digest: sha256:598b616a8c7ce86d98ee63871cec532f4ff645125b563a8798f2ae1c98928ec7 :: [bug.yml/workdir-from-matrix-1] [DEBUG] Status: Image is up to date for catthehacker/ubuntu:full-latest :: [bug.yml/workdir-from-matrix-1] 🐳 docker create image=catthehacker/ubuntu:full-latest platform= entrypoint=["tail" "-f" "/dev/null"] cmd=[] [bug.yml/workdir-from-matrix-1] [DEBUG] Common container.Config ==> &{Hostname: Domainname: User: AttachStdin:false AttachStdout:false AttachStderr:false ExposedPorts:map[] Tty:true OpenStdin:false StdinOnce:false Env:[RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUNNER_OS=Linux RUNNER_ARCH=X64 RUNNER_TEMP=/tmp LANG=C.UTF-8] Cmd:[] Healthcheck:<nil> ArgsEscaped:false Image:catthehacker/ubuntu:full-latest Volumes:map[] WorkingDir:/Users/kgeusebroek/dev/godatadriven/projects/whirl Entrypoint:[] NetworkDisabled:false MacAddress: OnBuild:[] Labels:map[] StopSignal: StopTimeout:<nil> Shell:[]} [bug.yml/workdir-from-matrix-1] [DEBUG] Common container.HostConfig ==> &{Binds:[/var/run/docker.sock:/var/run/docker.sock] ContainerIDFile: LogConfig:{Type: Config:map[]} NetworkMode:host PortBindings:map[] RestartPolicy:{Name: MaximumRetryCount:0} AutoRemove:false VolumeDriver: VolumesFrom:[] ConsoleSize:[0 0] CapAdd:[] CapDrop:[] CgroupnsMode: DNS:[] DNSOptions:[] DNSSearch:[] ExtraHosts:[] GroupAdd:[] IpcMode: Cgroup: Links:[] OomScoreAdj:0 PidMode: Privileged:false PublishAllPorts:false ReadonlyRootfs:false SecurityOpt:[] StorageOpt:map[] Tmpfs:map[] UTSMode: UsernsMode: ShmSize:0 Sysctls:map[] Runtime: Isolation: Resources:{CPUShares:0 Memory:0 NanoCPUs:0 CgroupParent: BlkioWeight:0 BlkioWeightDevice:[] BlkioDeviceReadBps:[] BlkioDeviceWriteBps:[] BlkioDeviceReadIOps:[] BlkioDeviceWriteIOps:[] CPUPeriod:0 CPUQuota:0 CPURealtimePeriod:0 CPURealtimeRuntime:0 CpusetCpus: CpusetMems: Devices:[] DeviceCgroupRules:[] DeviceRequests:[] KernelMemory:0 KernelMemoryTCP:0 MemoryReservation:0 MemorySwap:0 MemorySwappiness:<nil> OomKillDisable:<nil> PidsLimit:<nil> Ulimits:[] CPUCount:0 CPUPercent:0 IOMaximumIOps:0 IOMaximumBandwidth:0} Mounts:[{Type:volume Source:act-toolcache Target:/toolcache ReadOnly:false Consistency: BindOptions:<nil> VolumeOptions:<nil> TmpfsOptions:<nil> ClusterOptions:<nil>} {Type:volume Source:act-bug-yml-workdir-from-matrix-1-2cd8ebcd3807c2db44e7f51e9e15049b55152574fa1cf0b2fc5bff19d4539923-env Target:/var/run/act ReadOnly:false Consistency: BindOptions:<nil> VolumeOptions:<nil> TmpfsOptions:<nil> ClusterOptions:<nil>} {Type:volume Source:act-bug-yml-workdir-from-matrix-1-2cd8ebcd3807c2db44e7f51e9e15049b55152574fa1cf0b2fc5bff19d4539923 Target:/Users/kgeusebroek/dev/godatadriven/projects/whirl ReadOnly:false Consistency: BindOptions:<nil> VolumeOptions:<nil> TmpfsOptions:<nil> ClusterOptions:<nil>}] MaskedPaths:[] ReadonlyPaths:[] Init:<nil>} [bug.yml/workdir-from-matrix-1] [DEBUG] Created container name=act-bug-yml-workdir-from-matrix-1-2cd8ebcd3807c2db44e7f51e9e15049b55152574fa1cf0b2fc5bff19d4539923 id=a90cc564d1036c3c2084b75c09bf38d8d166e7bee17ccb3cc0c010a47af67736 from image catthehacker/ubuntu:full-latest (platform: ) [bug.yml/workdir-from-matrix-1] [DEBUG] ENV ==> [RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUNNER_OS=Linux RUNNER_ARCH=X64 RUNNER_TEMP=/tmp LANG=C.UTF-8] [bug.yml/workdir-from-matrix-1] 🐳 docker run image=catthehacker/ubuntu:full-latest platform= entrypoint=["tail" "-f" "/dev/null"] cmd=[] [bug.yml/workdir-from-matrix-1] [DEBUG] Starting container: a90cc564d1036c3c2084b75c09bf38d8d166e7bee17ccb3cc0c010a47af67736 [bug.yml/workdir-from-matrix-1] [DEBUG] Started container: a90cc564d1036c3c2084b75c09bf38d8d166e7bee17ccb3cc0c010a47af67736 [bug.yml/workdir-from-matrix-1] [DEBUG] Writing entry to tarball workflow/event.json len:2 [bug.yml/workdir-from-matrix-1] [DEBUG] Writing entry to tarball workflow/envs.txt len:0 [bug.yml/workdir-from-matrix-1] [DEBUG] Extracting content to '/var/run/act/' [bug.yml/workdir-from-matrix-1] [DEBUG] Loading revision from git directory [bug.yml/workdir-from-matrix-1] [DEBUG] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31 [bug.yml/workdir-from-matrix-1] [DEBUG] HEAD points to 'df2b558a6e28d76b50274824fc60ebbf0ac14f31' [bug.yml/workdir-from-matrix-1] [DEBUG] using github ref: refs/heads/master [bug.yml/workdir-from-matrix-1] [DEBUG] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31 [bug.yml/workdir-from-matrix-1] [DEBUG] expression '[[ "$(pwd)" == "${{ matrix.work_dir }}" ]]' rewritten to 'format('[[ "$(pwd)" == "{0}" ]]', matrix.work_dir)' [bug.yml/workdir-from-matrix-1] [DEBUG] evaluating expression 'format('[[ "$(pwd)" == "{0}" ]]', matrix.work_dir)' [bug.yml/workdir-from-matrix-1] [DEBUG] expression 'format('[[ "$(pwd)" == "{0}" ]]', matrix.work_dir)' evaluated to '%!t(string=[[ "$(pwd)" == "/tmp" ]])' [bug.yml/workdir-from-matrix-1] 🧪 Matrix: map[work_dir:/tmp] [bug.yml/workdir-from-matrix-1] [DEBUG] expression '[[ "$(pwd)" == "${{ matrix.work_dir }}" ]]' rewritten to 'format('[[ "$(pwd)" == "{0}" ]]', matrix.work_dir)' [bug.yml/workdir-from-matrix-1] [DEBUG] evaluating expression 'format('[[ "$(pwd)" == "{0}" ]]', matrix.work_dir)' [bug.yml/workdir-from-matrix-1] [DEBUG] expression 'format('[[ "$(pwd)" == "{0}" ]]', matrix.work_dir)' evaluated to '%!t(string=[[ "$(pwd)" == "/tmp" ]])' [bug.yml/workdir-from-matrix-1] [DEBUG] Loading revision from git directory [bug.yml/workdir-from-matrix-1] [DEBUG] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31 [bug.yml/workdir-from-matrix-1] [DEBUG] HEAD points to 'df2b558a6e28d76b50274824fc60ebbf0ac14f31' [bug.yml/workdir-from-matrix-1] [DEBUG] using github ref: refs/heads/master [bug.yml/workdir-from-matrix-1] [DEBUG] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31 [bug.yml/workdir-from-matrix-1] [DEBUG] Loading revision from git directory [bug.yml/workdir-from-matrix-1] [DEBUG] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31 [bug.yml/workdir-from-matrix-1] [DEBUG] HEAD points to 'df2b558a6e28d76b50274824fc60ebbf0ac14f31' [bug.yml/workdir-from-matrix-1] [DEBUG] using github ref: refs/heads/master [bug.yml/workdir-from-matrix-1] [DEBUG] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31 [bug.yml/workdir-from-matrix-1] [DEBUG] Loading revision from git directory [bug.yml/workdir-from-matrix-1] [DEBUG] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31 [bug.yml/workdir-from-matrix-1] [DEBUG] HEAD points to 'df2b558a6e28d76b50274824fc60ebbf0ac14f31' [bug.yml/workdir-from-matrix-1] [DEBUG] using github ref: refs/heads/master [bug.yml/workdir-from-matrix-1] [DEBUG] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31 [bug.yml/workdir-from-matrix-1] [DEBUG] setupEnv => map[ACT:true CI:true GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_PATH: GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:workdir-from-matrix GITHUB_REF:refs/heads/master GITHUB_REF_NAME:master GITHUB_REF_TYPE:branch GITHUB_REPOSITORY:godatadriven/whirl GITHUB_REPOSITORY_OWNER:godatadriven GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:df2b558a6e28d76b50274824fc60ebbf0ac14f31 GITHUB_TOKEN: GITHUB_WORKFLOW:bug.yml GITHUB_WORKSPACE:/Users/kgeusebroek/dev/godatadriven/projects/whirl ImageOS:ubuntu20 RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID:] [bug.yml/workdir-from-matrix-1] [DEBUG] Loading revision from git directory [bug.yml/workdir-from-matrix-1] [DEBUG] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31 [bug.yml/workdir-from-matrix-1] [DEBUG] HEAD points to 'df2b558a6e28d76b50274824fc60ebbf0ac14f31' [bug.yml/workdir-from-matrix-1] [DEBUG] using github ref: refs/heads/master [bug.yml/workdir-from-matrix-1] [DEBUG] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31 [bug.yml/workdir-from-matrix-1] [DEBUG] Loading revision from git directory [bug.yml/workdir-from-matrix-1] [DEBUG] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31 [bug.yml/workdir-from-matrix-1] [DEBUG] HEAD points to 'df2b558a6e28d76b50274824fc60ebbf0ac14f31' [bug.yml/workdir-from-matrix-1] [DEBUG] using github ref: refs/heads/master [bug.yml/workdir-from-matrix-1] [DEBUG] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31 [bug.yml/workdir-from-matrix-1] [DEBUG] evaluating expression '' [bug.yml/workdir-from-matrix-1] [DEBUG] expression '' evaluated to 'true' [bug.yml/workdir-from-matrix-1] [DEBUG] expression '[[ "$(pwd)" == "${{ matrix.work_dir }}" ]]' rewritten to 'format('[[ "$(pwd)" == "{0}" ]]', matrix.work_dir)' [bug.yml/workdir-from-matrix-1] [DEBUG] evaluating expression 'format('[[ "$(pwd)" == "{0}" ]]', matrix.work_dir)' [bug.yml/workdir-from-matrix-1] [DEBUG] expression 'format('[[ "$(pwd)" == "{0}" ]]', matrix.work_dir)' evaluated to '%!t(string=[[ "$(pwd)" == "/tmp" ]])' [bug.yml/workdir-from-matrix-1] ⭐ Run Main [[ "$(pwd)" == "/tmp" ]] [bug.yml/workdir-from-matrix-1] [DEBUG] Writing entry to tarball workflow/outputcmd.txt len:0 [bug.yml/workdir-from-matrix-1] [DEBUG] Writing entry to tarball workflow/statecmd.txt len:0 [bug.yml/workdir-from-matrix-1] [DEBUG] Writing entry to tarball workflow/pathcmd.txt len:0 [bug.yml/workdir-from-matrix-1] [DEBUG] Writing entry to tarball workflow/envs.txt len:0 [bug.yml/workdir-from-matrix-1] [DEBUG] Writing entry to tarball workflow/SUMMARY.md len:0 [bug.yml/workdir-from-matrix-1] [DEBUG] Extracting content to '/var/run/act' [bug.yml/workdir-from-matrix-1] [DEBUG] Loading revision from git directory [bug.yml/workdir-from-matrix-1] [DEBUG] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31 [bug.yml/workdir-from-matrix-1] [DEBUG] HEAD points to 'df2b558a6e28d76b50274824fc60ebbf0ac14f31' [bug.yml/workdir-from-matrix-1] [DEBUG] using github ref: refs/heads/master [bug.yml/workdir-from-matrix-1] [DEBUG] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31 [bug.yml/workdir-from-matrix-1] [DEBUG] Loading revision from git directory [bug.yml/workdir-from-matrix-1] [DEBUG] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31 [bug.yml/workdir-from-matrix-1] [DEBUG] HEAD points to 'df2b558a6e28d76b50274824fc60ebbf0ac14f31' [bug.yml/workdir-from-matrix-1] [DEBUG] using github ref: refs/heads/master [bug.yml/workdir-from-matrix-1] [DEBUG] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31 [bug.yml/workdir-from-matrix-1] [DEBUG] expression '${{ matrix.work_dir }}' rewritten to 'format('{0}', matrix.work_dir)' [bug.yml/workdir-from-matrix-1] [DEBUG] evaluating expression 'format('{0}', matrix.work_dir)' [bug.yml/workdir-from-matrix-1] [DEBUG] expression 'format('{0}', matrix.work_dir)' evaluated to '%!t(string=/tmp)' [bug.yml/workdir-from-matrix-1] [DEBUG] Loading revision from git directory [bug.yml/workdir-from-matrix-1] [DEBUG] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31 [bug.yml/workdir-from-matrix-1] [DEBUG] HEAD points to 'df2b558a6e28d76b50274824fc60ebbf0ac14f31' [bug.yml/workdir-from-matrix-1] [DEBUG] using github ref: refs/heads/master [bug.yml/workdir-from-matrix-1] [DEBUG] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31 [bug.yml/workdir-from-matrix-1] [DEBUG] Loading revision from git directory [bug.yml/workdir-from-matrix-1] [DEBUG] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31 [bug.yml/workdir-from-matrix-1] [DEBUG] HEAD points to 'df2b558a6e28d76b50274824fc60ebbf0ac14f31' [bug.yml/workdir-from-matrix-1] [DEBUG] using github ref: refs/heads/master [bug.yml/workdir-from-matrix-1] [DEBUG] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31 [bug.yml/workdir-from-matrix-1] [DEBUG] expression '[[ "$(pwd)" == "${{ matrix.work_dir }}" ]]' rewritten to 'format('[[ "$(pwd)" == "{0}" ]]', matrix.work_dir)' [bug.yml/workdir-from-matrix-1] [DEBUG] evaluating expression 'format('[[ "$(pwd)" == "{0}" ]]', matrix.work_dir)' [bug.yml/workdir-from-matrix-1] [DEBUG] expression 'format('[[ "$(pwd)" == "{0}" ]]', matrix.work_dir)' evaluated to '%!t(string=[[ "$(pwd)" == "/tmp" ]])' [bug.yml/workdir-from-matrix-1] [DEBUG] Wrote command [[ "$(pwd)" == "/tmp" ]] to 'workflow/0' [bug.yml/workdir-from-matrix-1] [DEBUG] Writing entry to tarball workflow/0 len:26 [bug.yml/workdir-from-matrix-1] [DEBUG] Extracting content to '/var/run/act' [bug.yml/workdir-from-matrix-1] 🐳 docker exec cmd=[bash --noprofile --norc -e -o pipefail /var/run/act/workflow/0] user= workdir=/tmp [bug.yml/workdir-from-matrix-1] [DEBUG] Exec command '[bash --noprofile --norc -e -o pipefail /var/run/act/workflow/0]' [bug.yml/workdir-from-matrix-1] [DEBUG] Working directory '/tmp' [bug.yml/workdir-from-matrix-1] ✅ Success - Main [[ "$(pwd)" == "/tmp" ]] [bug.yml/workdir-from-matrix-1] [DEBUG] expression '[[ "$(pwd)" == "${{ matrix.work_dir }}" ]]' rewritten to 'format('[[ "$(pwd)" == "{0}" ]]', matrix.work_dir)' [bug.yml/workdir-from-matrix-1] [DEBUG] evaluating expression 'format('[[ "$(pwd)" == "{0}" ]]', matrix.work_dir)' [bug.yml/workdir-from-matrix-1] [DEBUG] expression 'format('[[ "$(pwd)" == "{0}" ]]', matrix.work_dir)' evaluated to '%!t(string=[[ "$(pwd)" == "/tmp" ]])' [bug.yml/workdir-from-matrix-1] [DEBUG] Removed container: a90cc564d1036c3c2084b75c09bf38d8d166e7bee17ccb3cc0c010a47af67736 [bug.yml/workdir-from-matrix-1] [DEBUG] 🐳 docker volume rm act-bug-yml-workdir-from-matrix-1-2cd8ebcd3807c2db44e7f51e9e15049b55152574fa1cf0b2fc5bff19d4539923 [bug.yml/workdir-from-matrix-1] [DEBUG] 🐳 docker volume rm act-bug-yml-workdir-from-matrix-1-2cd8ebcd3807c2db44e7f51e9e15049b55152574fa1cf0b2fc5bff19d4539923-env [bug.yml/workdir-from-matrix-1] 🏁 Job succeeded [bug.yml/workdir-from-matrix-1] [DEBUG] Loading revision from git directory [bug.yml/workdir-from-matrix-1] [DEBUG] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31 [bug.yml/workdir-from-matrix-1] [DEBUG] HEAD points to 'df2b558a6e28d76b50274824fc60ebbf0ac14f31' [bug.yml/workdir-from-matrix-1] [DEBUG] using github ref: refs/heads/master [bug.yml/workdir-from-matrix-1] [DEBUG] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31 [bug.yml/workdir-from-matrix-2] [DEBUG] evaluating expression 'success()' [bug.yml/workdir-from-matrix-2] [DEBUG] expression 'success()' evaluated to 'true' [bug.yml/workdir-from-matrix-2] 🚀 Start image=catthehacker/ubuntu:full-latest [bug.yml/workdir-from-matrix-2] 🐳 docker pull image=catthehacker/ubuntu:full-latest platform= username= forcePull=true [bug.yml/workdir-from-matrix-2] [DEBUG] 🐳 docker pull catthehacker/ubuntu:full-latest [bug.yml/workdir-from-matrix-2] [DEBUG] pulling image 'docker.io/catthehacker/ubuntu:full-latest' () [bug.yml/workdir-from-matrix-2] [DEBUG] Pulling from catthehacker/ubuntu :: full-latest [bug.yml/workdir-from-matrix-2] [DEBUG] Digest: sha256:598b616a8c7ce86d98ee63871cec532f4ff645125b563a8798f2ae1c98928ec7 :: [bug.yml/workdir-from-matrix-2] [DEBUG] Status: Image is up to date for catthehacker/ubuntu:full-latest :: [bug.yml/workdir-from-matrix-2] 🐳 docker create image=catthehacker/ubuntu:full-latest platform= entrypoint=["tail" "-f" "/dev/null"] cmd=[] [bug.yml/workdir-from-matrix-2] [DEBUG] Common container.Config ==> &{Hostname: Domainname: User: AttachStdin:false AttachStdout:false AttachStderr:false ExposedPorts:map[] Tty:true OpenStdin:false StdinOnce:false Env:[RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUNNER_OS=Linux RUNNER_ARCH=X64 RUNNER_TEMP=/tmp LANG=C.UTF-8] Cmd:[] Healthcheck:<nil> ArgsEscaped:false Image:catthehacker/ubuntu:full-latest Volumes:map[] WorkingDir:/Users/kgeusebroek/dev/godatadriven/projects/whirl Entrypoint:[] NetworkDisabled:false MacAddress: OnBuild:[] Labels:map[] StopSignal: StopTimeout:<nil> Shell:[]} [bug.yml/workdir-from-matrix-2] [DEBUG] Common container.HostConfig ==> &{Binds:[/var/run/docker.sock:/var/run/docker.sock] ContainerIDFile: LogConfig:{Type: Config:map[]} NetworkMode:host PortBindings:map[] RestartPolicy:{Name: MaximumRetryCount:0} AutoRemove:false VolumeDriver: VolumesFrom:[] ConsoleSize:[0 0] CapAdd:[] CapDrop:[] CgroupnsMode: DNS:[] DNSOptions:[] DNSSearch:[] ExtraHosts:[] GroupAdd:[] IpcMode: Cgroup: Links:[] OomScoreAdj:0 PidMode: Privileged:false PublishAllPorts:false ReadonlyRootfs:false SecurityOpt:[] StorageOpt:map[] Tmpfs:map[] UTSMode: UsernsMode: ShmSize:0 Sysctls:map[] Runtime: Isolation: Resources:{CPUShares:0 Memory:0 NanoCPUs:0 CgroupParent: BlkioWeight:0 BlkioWeightDevice:[] BlkioDeviceReadBps:[] BlkioDeviceWriteBps:[] BlkioDeviceReadIOps:[] BlkioDeviceWriteIOps:[] CPUPeriod:0 CPUQuota:0 CPURealtimePeriod:0 CPURealtimeRuntime:0 CpusetCpus: CpusetMems: Devices:[] DeviceCgroupRules:[] DeviceRequests:[] KernelMemory:0 KernelMemoryTCP:0 MemoryReservation:0 MemorySwap:0 MemorySwappiness:<nil> OomKillDisable:<nil> PidsLimit:<nil> Ulimits:[] CPUCount:0 CPUPercent:0 IOMaximumIOps:0 IOMaximumBandwidth:0} Mounts:[{Type:volume Source:act-bug-yml-workdir-from-matrix-2-fa818fcc4a712f08b649b63a55bb07d735cca8fbae2f11c8e9eccc0355b561c9 Target:/Users/kgeusebroek/dev/godatadriven/projects/whirl ReadOnly:false Consistency: BindOptions:<nil> VolumeOptions:<nil> TmpfsOptions:<nil> ClusterOptions:<nil>} {Type:volume Source:act-toolcache Target:/toolcache ReadOnly:false Consistency: BindOptions:<nil> VolumeOptions:<nil> TmpfsOptions:<nil> ClusterOptions:<nil>} {Type:volume Source:act-bug-yml-workdir-from-matrix-2-fa818fcc4a712f08b649b63a55bb07d735cca8fbae2f11c8e9eccc0355b561c9-env Target:/var/run/act ReadOnly:false Consistency: BindOptions:<nil> VolumeOptions:<nil> TmpfsOptions:<nil> ClusterOptions:<nil>}] MaskedPaths:[] ReadonlyPaths:[] Init:<nil>} [bug.yml/workdir-from-matrix-2] [DEBUG] Created container name=act-bug-yml-workdir-from-matrix-2-fa818fcc4a712f08b649b63a55bb07d735cca8fbae2f11c8e9eccc0355b561c9 id=ebc5f3a5d886326b28abcb0c5858cb71331cbe9ad3e314e34322726df00160a2 from image catthehacker/ubuntu:full-latest (platform: ) [bug.yml/workdir-from-matrix-2] [DEBUG] ENV ==> [RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUNNER_OS=Linux RUNNER_ARCH=X64 RUNNER_TEMP=/tmp LANG=C.UTF-8] [bug.yml/workdir-from-matrix-2] 🐳 docker run image=catthehacker/ubuntu:full-latest platform= entrypoint=["tail" "-f" "/dev/null"] cmd=[] [bug.yml/workdir-from-matrix-2] [DEBUG] Starting container: ebc5f3a5d886326b28abcb0c5858cb71331cbe9ad3e314e34322726df00160a2 [bug.yml/workdir-from-matrix-2] [DEBUG] Started container: ebc5f3a5d886326b28abcb0c5858cb71331cbe9ad3e314e34322726df00160a2 [bug.yml/workdir-from-matrix-2] [DEBUG] Writing entry to tarball workflow/event.json len:2 [bug.yml/workdir-from-matrix-2] [DEBUG] Writing entry to tarball workflow/envs.txt len:0 [bug.yml/workdir-from-matrix-2] [DEBUG] Extracting content to '/var/run/act/' [bug.yml/workdir-from-matrix-2] [DEBUG] Loading revision from git directory [bug.yml/workdir-from-matrix-2] [DEBUG] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31 [bug.yml/workdir-from-matrix-2] [DEBUG] HEAD points to 'df2b558a6e28d76b50274824fc60ebbf0ac14f31' [bug.yml/workdir-from-matrix-2] [DEBUG] using github ref: refs/heads/master [bug.yml/workdir-from-matrix-2] [DEBUG] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31 [bug.yml/workdir-from-matrix-2] [DEBUG] expression '[[ "$(pwd)" == "${{ matrix.work_dir }}" ]]' rewritten to 'format('[[ "$(pwd)" == "{0}" ]]', matrix.work_dir)' [bug.yml/workdir-from-matrix-2] [DEBUG] evaluating expression 'format('[[ "$(pwd)" == "{0}" ]]', matrix.work_dir)' [bug.yml/workdir-from-matrix-2] [DEBUG] expression 'format('[[ "$(pwd)" == "{0}" ]]', matrix.work_dir)' evaluated to '%!t(string=[[ "$(pwd)" == "/root" ]])' [bug.yml/workdir-from-matrix-2] 🧪 Matrix: map[work_dir:/root] [bug.yml/workdir-from-matrix-2] [DEBUG] expression '[[ "$(pwd)" == "${{ matrix.work_dir }}" ]]' rewritten to 'format('[[ "$(pwd)" == "{0}" ]]', matrix.work_dir)' [bug.yml/workdir-from-matrix-2] [DEBUG] evaluating expression 'format('[[ "$(pwd)" == "{0}" ]]', matrix.work_dir)' [bug.yml/workdir-from-matrix-2] [DEBUG] expression 'format('[[ "$(pwd)" == "{0}" ]]', matrix.work_dir)' evaluated to '%!t(string=[[ "$(pwd)" == "/root" ]])' [bug.yml/workdir-from-matrix-2] [DEBUG] Loading revision from git directory [bug.yml/workdir-from-matrix-2] [DEBUG] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31 [bug.yml/workdir-from-matrix-2] [DEBUG] HEAD points to 'df2b558a6e28d76b50274824fc60ebbf0ac14f31' [bug.yml/workdir-from-matrix-2] [DEBUG] using github ref: refs/heads/master [bug.yml/workdir-from-matrix-2] [DEBUG] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31 [bug.yml/workdir-from-matrix-2] [DEBUG] Loading revision from git directory [bug.yml/workdir-from-matrix-2] [DEBUG] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31 [bug.yml/workdir-from-matrix-2] [DEBUG] HEAD points to 'df2b558a6e28d76b50274824fc60ebbf0ac14f31' [bug.yml/workdir-from-matrix-2] [DEBUG] using github ref: refs/heads/master [bug.yml/workdir-from-matrix-2] [DEBUG] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31 [bug.yml/workdir-from-matrix-2] [DEBUG] Loading revision from git directory [bug.yml/workdir-from-matrix-2] [DEBUG] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31 [bug.yml/workdir-from-matrix-2] [DEBUG] HEAD points to 'df2b558a6e28d76b50274824fc60ebbf0ac14f31' [bug.yml/workdir-from-matrix-2] [DEBUG] using github ref: refs/heads/master [bug.yml/workdir-from-matrix-2] [DEBUG] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31 [bug.yml/workdir-from-matrix-2] [DEBUG] setupEnv => map[ACT:true CI:true GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_PATH: GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:workdir-from-matrix GITHUB_REF:refs/heads/master GITHUB_REF_NAME:master GITHUB_REF_TYPE:branch GITHUB_REPOSITORY:godatadriven/whirl GITHUB_REPOSITORY_OWNER:godatadriven GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:df2b558a6e28d76b50274824fc60ebbf0ac14f31 GITHUB_TOKEN: GITHUB_WORKFLOW:bug.yml GITHUB_WORKSPACE:/Users/kgeusebroek/dev/godatadriven/projects/whirl ImageOS:ubuntu20 RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID:] [bug.yml/workdir-from-matrix-2] [DEBUG] Loading revision from git directory [bug.yml/workdir-from-matrix-2] [DEBUG] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31 [bug.yml/workdir-from-matrix-2] [DEBUG] HEAD points to 'df2b558a6e28d76b50274824fc60ebbf0ac14f31' [bug.yml/workdir-from-matrix-2] [DEBUG] using github ref: refs/heads/master [bug.yml/workdir-from-matrix-2] [DEBUG] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31 [bug.yml/workdir-from-matrix-2] [DEBUG] Loading revision from git directory [bug.yml/workdir-from-matrix-2] [DEBUG] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31 [bug.yml/workdir-from-matrix-2] [DEBUG] HEAD points to 'df2b558a6e28d76b50274824fc60ebbf0ac14f31' [bug.yml/workdir-from-matrix-2] [DEBUG] using github ref: refs/heads/master [bug.yml/workdir-from-matrix-2] [DEBUG] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31 [bug.yml/workdir-from-matrix-2] [DEBUG] evaluating expression '' [bug.yml/workdir-from-matrix-2] [DEBUG] expression '' evaluated to 'true' [bug.yml/workdir-from-matrix-2] [DEBUG] expression '[[ "$(pwd)" == "${{ matrix.work_dir }}" ]]' rewritten to 'format('[[ "$(pwd)" == "{0}" ]]', matrix.work_dir)' [bug.yml/workdir-from-matrix-2] [DEBUG] evaluating expression 'format('[[ "$(pwd)" == "{0}" ]]', matrix.work_dir)' [bug.yml/workdir-from-matrix-2] [DEBUG] expression 'format('[[ "$(pwd)" == "{0}" ]]', matrix.work_dir)' evaluated to '%!t(string=[[ "$(pwd)" == "/root" ]])' [bug.yml/workdir-from-matrix-2] ⭐ Run Main [[ "$(pwd)" == "/root" ]] [bug.yml/workdir-from-matrix-2] [DEBUG] Writing entry to tarball workflow/outputcmd.txt len:0 [bug.yml/workdir-from-matrix-2] [DEBUG] Writing entry to tarball workflow/statecmd.txt len:0 [bug.yml/workdir-from-matrix-2] [DEBUG] Writing entry to tarball workflow/pathcmd.txt len:0 [bug.yml/workdir-from-matrix-2] [DEBUG] Writing entry to tarball workflow/envs.txt len:0 [bug.yml/workdir-from-matrix-2] [DEBUG] Writing entry to tarball workflow/SUMMARY.md len:0 [bug.yml/workdir-from-matrix-2] [DEBUG] Extracting content to '/var/run/act' [bug.yml/workdir-from-matrix-2] [DEBUG] Loading revision from git directory [bug.yml/workdir-from-matrix-2] [DEBUG] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31 [bug.yml/workdir-from-matrix-2] [DEBUG] HEAD points to 'df2b558a6e28d76b50274824fc60ebbf0ac14f31' [bug.yml/workdir-from-matrix-2] [DEBUG] using github ref: refs/heads/master [bug.yml/workdir-from-matrix-2] [DEBUG] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31 [bug.yml/workdir-from-matrix-2] [DEBUG] Loading revision from git directory [bug.yml/workdir-from-matrix-2] [DEBUG] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31 [bug.yml/workdir-from-matrix-2] [DEBUG] HEAD points to 'df2b558a6e28d76b50274824fc60ebbf0ac14f31' [bug.yml/workdir-from-matrix-2] [DEBUG] using github ref: refs/heads/master [bug.yml/workdir-from-matrix-2] [DEBUG] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31 [bug.yml/workdir-from-matrix-2] [DEBUG] Loading revision from git directory [bug.yml/workdir-from-matrix-2] [DEBUG] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31 [bug.yml/workdir-from-matrix-2] [DEBUG] HEAD points to 'df2b558a6e28d76b50274824fc60ebbf0ac14f31' [bug.yml/workdir-from-matrix-2] [DEBUG] using github ref: refs/heads/master [bug.yml/workdir-from-matrix-2] [DEBUG] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31 [bug.yml/workdir-from-matrix-2] [DEBUG] Loading revision from git directory [bug.yml/workdir-from-matrix-2] [DEBUG] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31 [bug.yml/workdir-from-matrix-2] [DEBUG] HEAD points to 'df2b558a6e28d76b50274824fc60ebbf0ac14f31' [bug.yml/workdir-from-matrix-2] [DEBUG] using github ref: refs/heads/master [bug.yml/workdir-from-matrix-2] [DEBUG] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31 [bug.yml/workdir-from-matrix-2] [DEBUG] expression '[[ "$(pwd)" == "${{ matrix.work_dir }}" ]]' rewritten to 'format('[[ "$(pwd)" == "{0}" ]]', matrix.work_dir)' [bug.yml/workdir-from-matrix-2] [DEBUG] evaluating expression 'format('[[ "$(pwd)" == "{0}" ]]', matrix.work_dir)' [bug.yml/workdir-from-matrix-2] [DEBUG] expression 'format('[[ "$(pwd)" == "{0}" ]]', matrix.work_dir)' evaluated to '%!t(string=[[ "$(pwd)" == "/root" ]])' [bug.yml/workdir-from-matrix-2] [DEBUG] Wrote command [[ "$(pwd)" == "/root" ]] to 'workflow/0' [bug.yml/workdir-from-matrix-2] [DEBUG] Writing entry to tarball workflow/0 len:27 [bug.yml/workdir-from-matrix-2] [DEBUG] Extracting content to '/var/run/act' [bug.yml/workdir-from-matrix-2] 🐳 docker exec cmd=[bash --noprofile --norc -e -o pipefail /var/run/act/workflow/0] user= workdir=/tmp [bug.yml/workdir-from-matrix-2] [DEBUG] Exec command '[bash --noprofile --norc -e -o pipefail /var/run/act/workflow/0]' [bug.yml/workdir-from-matrix-2] [DEBUG] Working directory '/tmp' [bug.yml/workdir-from-matrix-2] ❌ Failure - Main [[ "$(pwd)" == "/root" ]] [bug.yml/workdir-from-matrix-2] exitcode '1': failure [bug.yml/workdir-from-matrix-2] [DEBUG] expression '[[ "$(pwd)" == "${{ matrix.work_dir }}" ]]' rewritten to 'format('[[ "$(pwd)" == "{0}" ]]', matrix.work_dir)' [bug.yml/workdir-from-matrix-2] [DEBUG] evaluating expression 'format('[[ "$(pwd)" == "{0}" ]]', matrix.work_dir)' [bug.yml/workdir-from-matrix-2] [DEBUG] expression 'format('[[ "$(pwd)" == "{0}" ]]', matrix.work_dir)' evaluated to '%!t(string=[[ "$(pwd)" == "/root" ]])' [bug.yml/workdir-from-matrix-2] 🏁 Job failed [bug.yml/workdir-from-matrix-2] [DEBUG] Loading revision from git directory [bug.yml/workdir-from-matrix-2] [DEBUG] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31 [bug.yml/workdir-from-matrix-2] [DEBUG] HEAD points to 'df2b558a6e28d76b50274824fc60ebbf0ac14f31' [bug.yml/workdir-from-matrix-2] [DEBUG] using github ref: refs/heads/master [bug.yml/workdir-from-matrix-2] [DEBUG] Found revision: df2b558a6e28d76b50274824fc60ebbf0ac14f31 Error: Job 'workdir-from-matrix' failed ``` ### Additional information _No response_
kerem 2026-03-01 21:46:46 +03:00
  • closed this issue
  • added the
    kind/bug
    label
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#834
No description provided.