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.72
GOOS: windows
GOARCH: amd64
NumCPU: 16
Docker host: DOCKER_HOST environment variable is not set
Sockets found:
\\.\pipe\docker_engine(broken)
Config files:
C:\Users\user\AppData\Local\act\actrc:
-P ubuntu-latest=catthehacker/ubuntu:act-latest
-P ubuntu-22.04=catthehacker/ubuntu:act-22.04
-P ubuntu-20.04=catthehacker/ubuntu:act-20.04
-P ubuntu-18.04=catthehacker/ubuntu:act-18.04
C:\Users\user\.actrc:
--artifact-server-path /c/Users/user/.act
Build info:
Go version: go1.23.5
Module path: github.com/nektos/act
Main version: (devel)
Main path: github.com/nektos/act
Main checksum:
Build settings:
-buildmode: exe
-compiler: gc
-ldflags: -s -w -X main.version=0.2.72 -X main.commit=be1b6ee581beb205736f837ae4fd3a43f62bc6e6 -X main.date=2025-02-01T02:27:06Z -X main.builtBy=goreleaser
CGO_ENABLED: 0
GOARCH: amd64
GOOS: windows
GOAMD64: v1
vcs: git
vcs.revision: be1b6ee581beb205736f837ae4fd3a43f62bc6e6
vcs.time: 2025-02-01T02:26:50Z
vcs.modified: false
Docker Engine:
Engine version: 27.4.0
Engine runtime: runc
Cgroup version: 1
Cgroup driver: cgroupfs
Storage driver: overlayfs
Registry URI: https://index.docker.io/v1/
OS: Docker Desktop
OS type: linux
OS version:
OS arch: x86_64
OS kernel: 5.15.167.4-microsoft-standard-WSL2
OS CPU: 12
OS memory: 20005 MB
Security options:
name=seccomp,profile=unconfined
Command used with act
act
Describe issue
Running the above workflow in Windows breaks in the terminal, PowerShell as well as Git Bash but works under a proper WSL2 Ubuntu bash.
My suspicion is that instead of the path that is intended to be called a "mangled" path is passed - since it uses whatever Windows returns and adds a non properly translated part to it. src=C:\Users\user\.cache\act/browser-actions-setup-chrome@latest/ would end up as C:\Users\user\.cache\actbrowser-actions-setup-chrome@latest instead.
Also check the file mode to verify the file is executable.
This one is a defect I tried to fix (e.g. /run/act/actions/nanasess-setup-chromedriver@v2/lib/setup-chromedriver.sh has no execute permission when run on windows) and failed in review phase for reference #2509
I can no longer recommend to turn on the feature flag --use-new-action-cache due to known issues not fixed in this version of act.
windows-style paths being passed to actions (potentially breaking them)
Bug report info
Command used with act
Describe issue
Running the above workflow in Windows breaks in the terminal, PowerShell as well as Git Bash but works under a proper WSL2 Ubuntu bash.
My suspicion is that instead of the path that is intended to be called a "mangled" path is passed - since it uses whatever Windows returns and adds a non properly translated part to it.
src=C:\Users\user\.cache\act/browser-actions-setup-chrome@latest/
would end up asC:\Users\user\.cache\actbrowser-actions-setup-chrome@latest
instead.Link to GitHub repository
No response
Workflow content
Relevant log output
Additional information
No response
The text was updated successfully, but these errors were encountered: