[GH-ISSUE #2038] Windows hosts: MkdirAll does not handle volume labels properly #978

Closed
opened 2026-03-01 21:47:52 +03:00 by kerem · 3 comments
Owner

Originally created by @mrcalvin on GitHub (Oct 9, 2023).
Original GitHub issue: https://github.com/nektos/act/issues/2038

Bug report info

act version:            0.2.51
GOOS:                   windows
GOARCH:                 amd64
NumCPU:                 8
Docker host:            DOCKER_HOST environment variable is not set
Sockets found:
Config files:           
Build info:
        Go version:            go1.20.8
        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.51 -X main.commit=c241ecda318e4977501971c267f0a2fad70ea5cd -X main.date=2023-09-23T11:36:58Z -X main.builtBy=goreleaser
                CGO_ENABLED:          0
                GOARCH:               amd64
                GOOS:                 windows
                GOAMD64:              v1
                vcs:                  git
                vcs.revision:         c241ecda318e4977501971c267f0a2fad70ea5cd
                vcs.time:             2023-09-23T11:36:33Z
                vcs.modified:         false

Command used with act

act -r -P windows-latest=-self-hosted -j win -W build.yml

Describe issue

I have a GitHub/ Git repository checkout mounted as a SMB share (volume X:) on a Windows virtual machine (Windows 2022 Server). Running the above yields.

[my/repo/win]   ☁  git clone 'https://github.com/actions/cache' # ref=v3.3.1
[my/repo/win] ⭐ Run Main checkout
[my/repo/win]   ❌  Failure - Main checkout
[my/repo/win] mkdir C:\Users\Administrator\.cache\act\9538e119b1e4d494\hostexecutor\x:: The filename, directory name, or volume label syntax is incorrect.

I have the strong feeling that this is related to: https://go-review.googlesource.com/c/go/+/517015

No response

Workflow content

name: my/repo
on:
  push:
    branches:
    - "**/*"
    - "!latest"
jobs:
  win:
    runs-on: windows-latest
    steps:
    - name: checkout
      uses: actions/checkout@v4.0.0
    - run: "$msys2 pacman --sync --clean --noconfirm"

Relevant log output

time="2023-10-09T02:41:11-07:00" level=debug msg="Conditional GET for notices etag=daaa38da-3e4d-4f5b-86d5-d9dc469e5006"
time="2023-10-09T02:41:11-07:00" level=error msg="daemon Docker Engine socket not found and containerDaemonSocket option was not set"
time="2023-10-09T02:41:11-07:00" level=debug msg="Loading environment from x:\\.env"
time="2023-10-09T02:41:11-07:00" level=debug msg="Loading action inputs from x:\\.input"
time="2023-10-09T02:41:11-07:00" level=debug msg="Loading secrets from x:\\.secrets"
time="2023-10-09T02:41:11-07:00" level=debug msg="Loading vars from x:\\.vars"
time="2023-10-09T02:41:11-07:00" level=debug msg="Evaluated matrix inclusions: map[]"
time="2023-10-09T02:41:11-07:00" level=debug msg="Loading workflow 'x:\\gh-tmp\\mrcalvin\\djdsl\\.github\\workflows\\djdsl.yml'"
time="2023-10-09T02:41:11-07:00" level=debug msg="Reading workflow 'x:\\gh-tmp\\mrcalvin\\djdsl\\.github\\workflows\\djdsl.yml'"
time="2023-10-09T02:41:11-07:00" level=debug msg="Preparing plan with a job: win"
time="2023-10-09T02:41:11-07:00" level=debug msg="Using default workflow event: push"
time="2023-10-09T02:41:11-07:00" level=debug msg="Planning job: win"
time="2023-10-09T02:41:11-07:00" level=debug msg="gc: 2023-10-09 02:41:11.5184876 -0700 PDT m=+0.431507101" module=artifactcache
time="2023-10-09T02:41:11-07:00" level=debug msg="Plan Stages: [0xc000498390]"
time="2023-10-09T02:41:11-07:00" level=debug msg="Stages Runs: [win]"
time="2023-10-09T02:41:11-07:00" level=debug msg="Job.Name: win"
time="2023-10-09T02:41:11-07:00" level=debug msg="Job.RawNeeds: {0 0    <nil> []    0 0}"
time="2023-10-09T02:41:11-07:00" level=debug msg="Job.RawRunsOn: {8 0 !!str windows-latest  <nil> []    95 14}"
time="2023-10-09T02:41:11-07:00" level=debug msg="Job.Env: {0 0    <nil> []    0 0}"
time="2023-10-09T02:41:11-07:00" level=debug msg="Job.If: {0 0  success()  <nil> []    0 0}"
time="2023-10-09T02:41:11-07:00" level=debug msg="Job.Steps: checkout"
time="2023-10-09T02:41:11-07:00" level=debug msg="Job.Steps: $msys2 pacman --sync --clean --noconfirm"
time="2023-10-09T02:41:11-07:00" level=debug msg="Job.Steps: Set up cache"
time="2023-10-09T02:41:11-07:00" level=debug msg="Job.Steps: [[ ! -f C:/msys64/msys2_shell.cmd ]] && rm -rf C:/msys64\nchoco uninstall -y mingw\nchoco upgrade --no-progress -y msys2\nexport msys2='cmd //C RefreshEnv.cmd '\nexport msys2+='& set MSYS=winsymlinks:nativestrict '\nexport msys2+='& C:\\\\tools\\\\msys64\\\\msys2_shell.cmd -defterm -no-start'\nexport mingw64=\"$msys2 -mingw64 -full-path -here -c \"\\\"\\$@\"\\\" --\"\nexport msys2+=\" -msys2 -c \"\\\"\\$@\"\\\" --\"\n$msys2 pacman --sync --noconfirm --needed base-devel mingw-w64-x86_64-toolchain\ntaskkill //IM gpg-agent.exe //F\nexport PATH=/c/msys64/mingw64/bin:$PATH\nexport SHELL=${mingw64}"     
time="2023-10-09T02:41:11-07:00" level=debug msg="Job.Steps: wget -O kitcreator-tmp.tar.gz https://kitcreator.rkeene.org/fossil/tarball/kitcreator-tmp.tar.gz?uuid=mr_calvin-tclbdd"
time="2023-10-09T02:41:11-07:00" level=debug msg="Job.Steps: tar -xzf kitcreator-tmp.tar.gz"
time="2023-10-09T02:41:11-07:00" level=debug msg="Job.Steps: cd kitcreator-tmp"
time="2023-10-09T02:41:11-07:00" level=debug msg="Job.Steps: ${SHELL} ./build/pre.sh || exit 1"
time="2023-10-09T02:41:11-07:00" level=debug msg="Job.Steps: cd ${{ github.workspace }}"
time="2023-10-09T02:41:11-07:00" level=debug msg="Job.Steps: ${SHELL} ./configure --with-tcl=no --moddir=${{ github.workspace }}/kitcreator-tmp/djdsl/out.tmp/lib/tcl8/8.6"
time="2023-10-09T02:41:11-07:00" level=debug msg="Job.Steps: ${SHELL} make install"
time="2023-10-09T02:41:11-07:00" level=debug msg="Job.Steps: echo 'cp -rp out.tmp out' > ${{ github.workspace }}/kitcreator-tmp/djdsl/build.sh"
time="2023-10-09T02:41:11-07:00" level=debug msg="Job.Steps: chmod u+x ${{ github.workspace }}/kitcreator-tmp/djdsl/build.sh"
time="2023-10-09T02:41:11-07:00" level=debug msg="Job.Steps: export KITCREATOR_PKGS='tcllib tclbdd nsf djdsl'"
time="2023-10-09T02:41:11-07:00" level=debug msg="Job.Steps: cd kitcreator-tmp"
time="2023-10-09T02:41:11-07:00" level=debug msg="Job.Steps: KC_SHELL=${SHELL}"
time="2023-10-09T02:41:11-07:00" level=debug msg="Job.Steps: if [ ${{ runner.os }} = windows ]; then KC_SHELL=\"travis_wait ${KC_SHELL}\"; fi"
time="2023-10-09T02:41:11-07:00" level=debug msg="Job.Steps: ${KC_SHELL} ./kitcreator 8.6.10 --enable-64bit --enable-kit-storage=cvfs || (cat tcl/build.log && cat tcllib/build.log && cat nsf/build.log && cat tclbdd/build.log && cat djdsl/build.log && exit 1)"
time="2023-10-09T02:41:11-07:00" level=debug msg="Job.Steps: cd ${{ github.workspace }}"
time="2023-10-09T02:41:11-07:00" level=debug msg="Job.Steps: ${SHELL} make TCLSH=\"${{ github.workspace }}/kitcreator-tmp/tclkit-8.6.10\" test"
time="2023-10-09T02:41:11-07:00" level=debug msg="Job.Steps: if [ -z \"${{ github.ref }}\" ] ; then export TRAVIS_TAG=\"latest\"; fi"
time="2023-10-09T02:41:11-07:00" level=debug msg="Job.Steps: export ARTIFACT=\"djdslkit-${{ github.ref }}-${{ runner.os }}\""
time="2023-10-09T02:41:11-07:00" level=debug msg="Job.Steps: if [ ${{ runner.os }} = windows ]; then ARTIFACT=\"${ARTIFACT}.exe\"; fi"
time="2023-10-09T02:41:11-07:00" level=debug msg="Job.Steps: cp -p \"${{ github.workspace }}/kitcreator-tmp/tclkit-8.6.10\" ${ARTIFACT}"
time="2023-10-09T02:41:11-07:00" level=debug msg="Job.TimeoutMinutes: "
time="2023-10-09T02:41:11-07:00" level=debug msg="Job.Services: map[]"
time="2023-10-09T02:41:11-07:00" level=debug msg="Job.Strategy: <nil>"
time="2023-10-09T02:41:11-07:00" level=debug msg="Job.RawContainer: {0 0    <nil> []    0 0}"
time="2023-10-09T02:41:11-07:00" level=debug msg="Job.Defaults.Run.Shell: "
time="2023-10-09T02:41:11-07:00" level=debug msg="Job.Defaults.Run.WorkingDirectory: "
time="2023-10-09T02:41:11-07:00" level=debug msg="Job.Outputs: map[]"
time="2023-10-09T02:41:11-07:00" level=debug msg="Job.Uses: "
time="2023-10-09T02:41:11-07:00" level=debug msg="Job.With: map[]"
time="2023-10-09T02:41:11-07:00" level=debug msg="Job.Result: "
time="2023-10-09T02:41:11-07:00" level=debug msg="Empty Strategy, matrixes=[map[]]"
time="2023-10-09T02:41:11-07:00" level=debug msg="Job Matrices: [map[]]"
time="2023-10-09T02:41:11-07:00" level=debug msg="Runner Matrices: map[]"
time="2023-10-09T02:41:11-07:00" level=debug msg="Final matrix after applying user inclusions '[map[]]'"
time="2023-10-09T02:41:11-07:00" level=debug msg="Loading revision from git directory"
time="2023-10-09T02:41:12-07:00" level=debug msg="Found revision: d6c3edbdf8c832c535fd35cb21981bd96ac048ae"
time="2023-10-09T02:41:12-07:00" level=debug msg="HEAD points to 'd6c3edbdf8c832c535fd35cb21981bd96ac048ae'"
time="2023-10-09T02:41:12-07:00" level=debug msg="using github ref: refs/heads/uvl"
time="2023-10-09T02:41:12-07:00" level=debug msg="Found revision: d6c3edbdf8c832c535fd35cb21981bd96ac048ae"
time="2023-10-09T02:41:12-07:00" level=debug msg="Detected CPUs: 8"
[my/repo/win] [DEBUG] evaluating expression 'success()'
[my/repo/win] [DEBUG] expression 'success()' evaluated to 'true'
[my/repo/win] [DEBUG] Loading revision from git directory
time="2023-10-09T02:41:12-07:00" level=debug msg="Saving notices etag=b7428da5-d75c-41a2-b3b8-aae490d363f4"
[my/repo/win] [DEBUG] Found revision: d6c3edbdf8c832c535fd35cb21981bd96ac048ae
[my/repo/win] [DEBUG] HEAD points to 'd6c3edbdf8c832c535fd35cb21981bd96ac048ae'
[my/repo/win] [DEBUG] using github ref: refs/heads/uvl
[my/repo/win] [DEBUG] Found revision: d6c3edbdf8c832c535fd35cb21981bd96ac048ae
[my/repo/win] [DEBUG] expression '${{ secrets.TOKEN }}' rewritten to 'format('{0}', secrets.TOKEN)'
[my/repo/win] [DEBUG] evaluating expression 'format('{0}', secrets.TOKEN)'
[my/repo/win] [DEBUG] expression 'format('{0}', secrets.TOKEN)' evaluated to '%!t(string=)'
[my/repo/win] [DEBUG] expression '${{ secrets.SHELL }}' rewritten to 'format('{0}', secrets.SHELL)'
[my/repo/win] [DEBUG] evaluating expression 'format('{0}', secrets.SHELL)'
[my/repo/win] [DEBUG] expression 'format('{0}', secrets.SHELL)' evaluated to '%!t(string=)'
[my/repo/win] [DEBUG] Loading revision from git directory
[my/repo/win] [DEBUG] Found revision: d6c3edbdf8c832c535fd35cb21981bd96ac048ae
[my/repo/win] [DEBUG] HEAD points to 'd6c3edbdf8c832c535fd35cb21981bd96ac048ae'
[my/repo/win] [DEBUG] using github ref: refs/heads/uvl
[my/repo/win] [DEBUG] Found revision: d6c3edbdf8c832c535fd35cb21981bd96ac048ae
[my/repo/win] [DEBUG] Skipping local actions/checkout because workdir was already copied
[my/repo/win] [DEBUG] skip pre step for 'checkout': no action model available
[my/repo/win] [DEBUG] Loading revision from git directory
[my/repo/win] [DEBUG] Found revision: d6c3edbdf8c832c535fd35cb21981bd96ac048ae
[my/repo/win] [DEBUG] HEAD points to 'd6c3edbdf8c832c535fd35cb21981bd96ac048ae'
[my/repo/win] [DEBUG] using github ref: refs/heads/uvl
[my/repo/win] [DEBUG] Found revision: d6c3edbdf8c832c535fd35cb21981bd96ac048ae
[my/repo/win]   ☁  git clone 'https://github.com/actions/cache' # ref=v3.3.1
[my/repo/win] [DEBUG]   cloning https://github.com/actions/cache to C:\Users\Administrator\.cache\act/actions-cache@v3.3.1
[my/repo/win] [DEBUG] Cloned https://github.com/actions/cache to C:\Users\Administrator\.cache\act/actions-cache@v3.3.1
[my/repo/win] [DEBUG] Checked out v3.3.1
[my/repo/win] [DEBUG] Read action &{Cache GitHub Cache artifacts like dependencies and build outputs to improve workflow execution time map[enableCrossOsArchive:{An optional boolean when enabled, allows windows runners to save or restore caches that can be restored or saved respectively on other platforms false false} fail-on-cache-miss:{Fail the workflow if cache entry is not found false false} key:{An explicit key for restoring and saving the cache true } lookup-only:{Check if a cache entry exists for the given input(s) (key, restore-keys) without downloading the cache false false} path:{A list of files, directories, and wildcard patterns to cache and restore true } restore-keys:{An ordered list of keys to use for restoring stale cache if no cache hit occurred for key. Note `cache-hit` returns false in this case. false } upload-chunk-size:{The chunk size used to split up large files during upload, in bytes false }] map[cache-hit:{A boolean value to indicate an exact match was found for the primary key }] {node16 map[] dist/restore/index.js  always() dist/save/index.js success()   [] []} {gray-dark archive}} from 'Unknown'
[my/repo/win] [DEBUG] expression 'cd ${{ github.workspace }}' rewritten to 'format('cd {0}', github.workspace)'
[my/repo/win] [DEBUG] evaluating expression 'format('cd {0}', github.workspace)'
[my/repo/win] [DEBUG] expression 'format('cd {0}', github.workspace)' evaluated to '%!t(string=cd C:\Users\Administrator\.cache\act\3647b5fa56985c8e\hostexecutor)'
[my/repo/win] [DEBUG] expression '${SHELL} ./configure --with-tcl=no --moddir=${{ github.workspace }}/kitcreator-tmp/djdsl/out.tmp/lib/tcl8/8.6' rewritten to 'format('${{SHELL}} ./configure --with-tcl=no --moddir={0}/kitcreator-tmp/djdsl/out.tmp/lib/tcl8/8.6', github.workspace)'
[my/repo/win] [DEBUG] evaluating expression 'format('${{SHELL}} ./configure --with-tcl=no --moddir={0}/kitcreator-tmp/djdsl/out.tmp/lib/tcl8/8.6', github.workspace)'
[my/repo/win] [DEBUG] expression 'format('${{SHELL}} ./configure --with-tcl=no --moddir={0}/kitcreator-tmp/djdsl/out.tmp/lib/tcl8/8.6', github.workspace)' evaluated to '%!t(string=${SHELL} ./configure --with-tcl=no --moddir=C:\Users\Administrator\.cache\act\3647b5fa56985c8e\hostexecutor/kitcreator-tmp/djdsl/out.tmp/lib/tcl8/8.6)'
[my/repo/win] [DEBUG] expression 'echo 'cp -rp out.tmp out' > ${{ github.workspace }}/kitcreator-tmp/djdsl/build.sh' rewritten to 'format('echo ''cp -rp out.tmp out'' > {0}/kitcreator-tmp/djdsl/build.sh', github.workspace)'
[my/repo/win] [DEBUG] evaluating expression 'format('echo ''cp -rp out.tmp out'' > {0}/kitcreator-tmp/djdsl/build.sh', github.workspace)'
[my/repo/win] [DEBUG] expression 'format('echo ''cp -rp out.tmp out'' > {0}/kitcreator-tmp/djdsl/build.sh', github.workspace)' evaluated to '%!t(string=echo 'cp -rp out.tmp out' > C:\Users\Administrator\.cache\act\3647b5fa56985c8e\hostexecutor/kitcreator-tmp/djdsl/build.sh)'
[my/repo/win] [DEBUG] expression 'chmod u+x ${{ github.workspace }}/kitcreator-tmp/djdsl/build.sh' rewritten to 'format('chmod u+x {0}/kitcreator-tmp/djdsl/build.sh', github.workspace)'
[my/repo/win] [DEBUG] evaluating expression 'format('chmod u+x {0}/kitcreator-tmp/djdsl/build.sh', github.workspace)'
[my/repo/win] [DEBUG] expression 'format('chmod u+x {0}/kitcreator-tmp/djdsl/build.sh', github.workspace)' evaluated to '%!t(string=chmod u+x C:\Users\Administrator\.cache\act\3647b5fa56985c8e\hostexecutor/kitcreator-tmp/djdsl/build.sh)'
[my/repo/win] [DEBUG] expression 'if [ ${{ runner.os }} = windows ]; then KC_SHELL="travis_wait ${KC_SHELL}"; fi' rewritten to 'format('if [ {0} = windows ]; then KC_SHELL="travis_wait ${{KC_SHELL}}"; fi', runner.os)'
[my/repo/win] [DEBUG] evaluating expression 'format('if [ {0} = windows ]; then KC_SHELL="travis_wait ${{KC_SHELL}}"; fi', runner.os)'
[my/repo/win] [DEBUG] expression 'format('if [ {0} = windows ]; then KC_SHELL="travis_wait ${{KC_SHELL}}"; fi', runner.os)' evaluated to '%!t(string=if [ windows = windows ]; then KC_SHELL="travis_wait ${KC_SHELL}"; fi)'
[my/repo/win] [DEBUG] expression 'cd ${{ github.workspace }}' rewritten to 'format('cd {0}', github.workspace)'
[my/repo/win] [DEBUG] evaluating expression 'format('cd {0}', github.workspace)'
[my/repo/win] [DEBUG] expression 'format('cd {0}', github.workspace)' evaluated to '%!t(string=cd C:\Users\Administrator\.cache\act\3647b5fa56985c8e\hostexecutor)'
[my/repo/win] [DEBUG] expression '${SHELL} make TCLSH="${{ github.workspace }}/kitcreator-tmp/tclkit-8.6.10" test' rewritten to 'format('${{SHELL}} make TCLSH="{0}/kitcreator-tmp/tclkit-8.6.10" test', github.workspace)'
[my/repo/win] [DEBUG] evaluating expression 'format('${{SHELL}} make TCLSH="{0}/kitcreator-tmp/tclkit-8.6.10" test', github.workspace)'
[my/repo/win] [DEBUG] expression 'format('${{SHELL}} make TCLSH="{0}/kitcreator-tmp/tclkit-8.6.10" test', github.workspace)' evaluated to '%!t(string=${SHELL} make TCLSH="C:\Users\Administrator\.cache\act\3647b5fa56985c8e\hostexecutor/kitcreator-tmp/tclkit-8.6.10" test)'
[my/repo/win] [DEBUG] expression 'if [ -z "${{ github.ref }}" ] ; then export TRAVIS_TAG="latest"; fi' rewritten to 'format('if [ -z "{0}" ] ; then export TRAVIS_TAG="latest"; fi', github.ref)'
[my/repo/win] [DEBUG] evaluating expression 'format('if [ -z "{0}" ] ; then export TRAVIS_TAG="latest"; fi', github.ref)'
[my/repo/win] [DEBUG] expression 'format('if [ -z "{0}" ] ; then export TRAVIS_TAG="latest"; fi', github.ref)' evaluated to '%!t(string=if [ -z "refs/heads/uvl" ] ; then export TRAVIS_TAG="latest"; fi)'
[my/repo/win] [DEBUG] expression 'export ARTIFACT="djdslkit-${{ github.ref }}-${{ runner.os }}"' rewritten to 'format('export ARTIFACT="djdslkit-{0}-{1}"', github.ref, runner.os)'
[my/repo/win] [DEBUG] evaluating expression 'format('export ARTIFACT="djdslkit-{0}-{1}"', github.ref, runner.os)'
[my/repo/win] [DEBUG] expression 'format('export ARTIFACT="djdslkit-{0}-{1}"', github.ref, runner.os)' evaluated to '%!t(string=export ARTIFACT="djdslkit-refs/heads/uvl-windows")'
[my/repo/win] [DEBUG] expression 'if [ ${{ runner.os }} = windows ]; then ARTIFACT="${ARTIFACT}.exe"; fi' rewritten to 'format('if [ {0} = windows ]; then ARTIFACT="${{ARTIFACT}}.exe"; fi', runner.os)'
[my/repo/win] [DEBUG] evaluating expression 'format('if [ {0} = windows ]; then ARTIFACT="${{ARTIFACT}}.exe"; fi', runner.os)'
[my/repo/win] [DEBUG] expression 'format('if [ {0} = windows ]; then ARTIFACT="${{ARTIFACT}}.exe"; fi', runner.os)' evaluated to '%!t(string=if [ windows = windows ]; then ARTIFACT="${ARTIFACT}.exe"; fi)'
[my/repo/win] [DEBUG] expression 'cp -p "${{ github.workspace }}/kitcreator-tmp/tclkit-8.6.10" ${ARTIFACT}' rewritten to 'format('cp -p "{0}/kitcreator-tmp/tclkit-8.6.10" ${{ARTIFACT}}', github.workspace)'
[my/repo/win] [DEBUG] evaluating expression 'format('cp -p "{0}/kitcreator-tmp/tclkit-8.6.10" ${{ARTIFACT}}', github.workspace)'
[my/repo/win] [DEBUG] expression 'format('cp -p "{0}/kitcreator-tmp/tclkit-8.6.10" ${{ARTIFACT}}', github.workspace)' evaluated to '%!t(string=cp -p "C:\Users\Administrator\.cache\act\3647b5fa56985c8e\hostexecutor/kitcreator-tmp/tclkit-8.6.10" ${ARTIFACT})'
[my/repo/win] [DEBUG] Loading revision from git directory
[my/repo/win] [DEBUG] Found revision: d6c3edbdf8c832c535fd35cb21981bd96ac048ae
[my/repo/win] [DEBUG] HEAD points to 'd6c3edbdf8c832c535fd35cb21981bd96ac048ae'
[my/repo/win] [DEBUG] using github ref: refs/heads/uvl
[my/repo/win] [DEBUG] Found revision: d6c3edbdf8c832c535fd35cb21981bd96ac048ae
[my/repo/win] [DEBUG] Skipping local actions/checkout because workdir was already copied
[my/repo/win] [DEBUG] Loading revision from git directory
[my/repo/win] [DEBUG] Found revision: d6c3edbdf8c832c535fd35cb21981bd96ac048ae
[my/repo/win] [DEBUG] HEAD points to 'd6c3edbdf8c832c535fd35cb21981bd96ac048ae'
[my/repo/win] [DEBUG] using github ref: refs/heads/uvl
[my/repo/win] [DEBUG] Found revision: d6c3edbdf8c832c535fd35cb21981bd96ac048ae
[my/repo/win] [DEBUG] Loading revision from git directory
[my/repo/win] [DEBUG] Found revision: d6c3edbdf8c832c535fd35cb21981bd96ac048ae
[my/repo/win] [DEBUG] HEAD points to 'd6c3edbdf8c832c535fd35cb21981bd96ac048ae'
[my/repo/win] [DEBUG] using github ref: refs/heads/uvl
[my/repo/win] [DEBUG] Found revision: d6c3edbdf8c832c535fd35cb21981bd96ac048ae
[my/repo/win] [DEBUG] Loading revision from git directory
[my/repo/win] [DEBUG] Found revision: d6c3edbdf8c832c535fd35cb21981bd96ac048ae
[my/repo/win] [DEBUG] HEAD points to 'd6c3edbdf8c832c535fd35cb21981bd96ac048ae'
[my/repo/win] [DEBUG] using github ref: refs/heads/uvl
[my/repo/win] [DEBUG] Found revision: d6c3edbdf8c832c535fd35cb21981bd96ac048ae
[my/repo/win] [DEBUG] setupEnv => map[:C:=C:\Users\Administrator ACT:true ACTIONS_CACHE_URL:http://192.168.64.3:49814/ ALLUSERSPROFILE:C:\ProgramData APPDATA:C:\Users\Administrator\AppData\Roaming CI:true COMPUTERNAME:WINDOWS-SUH89E2 ChocolateyInstall:C:\ProgramData\chocolatey ChocolateyLastPathUpdate:133403238315697825 ComSpec:C:\Windows\system32\cmd.exe CommonProgramFiles:C:\Program Files\Common Files CommonProgramFiles(x86):C:\Program Files (x86)\Common Files CommonProgramW6432:C:\Program Files\Common Files DOCKER_HOST: DriverData:C:\Windows\System32\Drivers\DriverData ERROR_ON_FAILURES:1 GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_PATH: GITHUB_ACTION_REF:v4.0.0 GITHUB_ACTION_REPOSITORY:actions/checkout GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:C:/Users/Administrator/.cache/act/3647b5fa56985c8e/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:win GITHUB_REF:refs/heads/uvl GITHUB_REF_NAME:uvl GITHUB_REF_TYPE:branch GITHUB_REPOSITORY:my/repo GITHUB_REPOSITORY_OWNER:mrcalvin GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:d6c3edbdf8c832c535fd35cb21981bd96ac048ae GITHUB_TOKEN: GITHUB_WORKFLOW:my/repo GITHUB_WORKSPACE:C:\Users\Administrator\.cache\act\3647b5fa56985c8e\hostexecutor HOME:C:\Users\Administrator HOMEDRIVE:C: HOMEPATH:\Users\Administrator ImageOS:windowslatest LOCALAPPDATA:C:\Users\Administrator\AppData\Local LOGNAME:administrator NUMBER_OF_PROCESSORS:8 OS:Windows_NT PATHEXT:.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC PROCESSOR_ARCHITECTURE:AMD64 PROCESSOR_IDENTIFIER:AMD64 Family 15 Model 107 Stepping 1, AuthenticAMD PROCESSOR_LEVEL:15 PROCESSOR_REVISION:6b01 PROMPT:administrator@WINDOWS-SUH89E2 $P$G PSModulePath:C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules PUBLIC:C:\Users\Public Path:C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\ProgramData\chocolatey\bin;C:\Windows\system32\config\systemprofile\AppData\Local\Microsoft\WindowsApps;C:\Users\Administrator\AppData\Local\Microsoft\WindowsApps; PowerShell:C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe ProgramData:C:\ProgramData ProgramFiles:C:\Program Files ProgramFiles(x86):C:\Program Files (x86) ProgramW6432:C:\Program Files RUNNER_ARCH:amd64 RUNNER_OS:windows RUNNER_PERFLOG:/dev/null RUNNER_TEMP:C:\Users\Administrator\.cache\act\3647b5fa56985c8e\tmp RUNNER_TOOL_CACHE:C:\Users\Administrator\.cache\act\tool_cache RUNNER_TRACKING_ID: SConfigV2Command:Invoke-Sconfig SHELL: SSH_CLIENT:192.168.64.1 49416 22 SSH_CONNECTION:192.168.64.1 49416 192.168.64.3 22 SSH_TTY:windows-pty SystemDrive:C: SystemRoot:C:\Windows TEMP:C:\Users\Administrator\AppData\Local\Temp TERM:xterm-256color TMP:C:\Users\Administrator\AppData\Local\Temp TOKEN: USER:administrator USERDOMAIN:WORKGROUP USERNAME:administrator USERPROFILE:C:\Users\Administrator windir:C:\Windows]
[my/repo/win] [DEBUG] Loading revision from git directory
[my/repo/win] [DEBUG] Found revision: d6c3edbdf8c832c535fd35cb21981bd96ac048ae
[my/repo/win] [DEBUG] HEAD points to 'd6c3edbdf8c832c535fd35cb21981bd96ac048ae'
[my/repo/win] [DEBUG] using github ref: refs/heads/uvl
[my/repo/win] [DEBUG] Found revision: d6c3edbdf8c832c535fd35cb21981bd96ac048ae
[my/repo/win] [DEBUG] Loading revision from git directory
[my/repo/win] [DEBUG] Found revision: d6c3edbdf8c832c535fd35cb21981bd96ac048ae
[my/repo/win] [DEBUG] HEAD points to 'd6c3edbdf8c832c535fd35cb21981bd96ac048ae'
[my/repo/win] [DEBUG] using github ref: refs/heads/uvl
[my/repo/win] [DEBUG] Found revision: d6c3edbdf8c832c535fd35cb21981bd96ac048ae
[my/repo/win] [DEBUG] evaluating expression ''
[my/repo/win] [DEBUG] expression '' evaluated to 'true'
[my/repo/win] ⭐ Run Main checkout
[my/repo/win] [DEBUG] Loading revision from git directory
[my/repo/win] [DEBUG] Found revision: d6c3edbdf8c832c535fd35cb21981bd96ac048ae
[my/repo/win] [DEBUG] HEAD points to 'd6c3edbdf8c832c535fd35cb21981bd96ac048ae'
[my/repo/win] [DEBUG] using github ref: refs/heads/uvl
[my/repo/win] [DEBUG] Found revision: d6c3edbdf8c832c535fd35cb21981bd96ac048ae
[my/repo/win] [DEBUG] Loading revision from git directory
[my/repo/win] [DEBUG] Found revision: d6c3edbdf8c832c535fd35cb21981bd96ac048ae
[my/repo/win] [DEBUG] HEAD points to 'd6c3edbdf8c832c535fd35cb21981bd96ac048ae'
[my/repo/win] [DEBUG] using github ref: refs/heads/uvl
[my/repo/win] [DEBUG] Found revision: d6c3edbdf8c832c535fd35cb21981bd96ac048ae
[my/repo/win] [DEBUG] Stripping prefix:x:\\ src:x:\\.
[my/repo/win]   ❌  Failure - Main checkout
[my/repo/win] mkdir C:\Users\Administrator\.cache\act\3647b5fa56985c8e\hostexecutor\x:: The filename, directory name, or volume label syntax is incorrect.

Additional information

No response

Originally created by @mrcalvin on GitHub (Oct 9, 2023). Original GitHub issue: https://github.com/nektos/act/issues/2038 ### Bug report info ```plain text act version: 0.2.51 GOOS: windows GOARCH: amd64 NumCPU: 8 Docker host: DOCKER_HOST environment variable is not set Sockets found: Config files: Build info: Go version: go1.20.8 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.51 -X main.commit=c241ecda318e4977501971c267f0a2fad70ea5cd -X main.date=2023-09-23T11:36:58Z -X main.builtBy=goreleaser CGO_ENABLED: 0 GOARCH: amd64 GOOS: windows GOAMD64: v1 vcs: git vcs.revision: c241ecda318e4977501971c267f0a2fad70ea5cd vcs.time: 2023-09-23T11:36:33Z vcs.modified: false ``` ### Command used with act ```sh act -r -P windows-latest=-self-hosted -j win -W build.yml ``` ### Describe issue I have a GitHub/ Git repository checkout mounted as a SMB share (volume X:) on a Windows virtual machine (Windows 2022 Server). Running the above yields. ``` [my/repo/win] ☁ git clone 'https://github.com/actions/cache' # ref=v3.3.1 [my/repo/win] ⭐ Run Main checkout [my/repo/win] ❌ Failure - Main checkout [my/repo/win] mkdir C:\Users\Administrator\.cache\act\9538e119b1e4d494\hostexecutor\x:: The filename, directory name, or volume label syntax is incorrect. ``` I have the strong feeling that this is related to: https://go-review.googlesource.com/c/go/+/517015 ### Link to GitHub repository _No response_ ### Workflow content ```yml name: my/repo on: push: branches: - "**/*" - "!latest" jobs: win: runs-on: windows-latest steps: - name: checkout uses: actions/checkout@v4.0.0 - run: "$msys2 pacman --sync --clean --noconfirm" ``` ### Relevant log output ```sh time="2023-10-09T02:41:11-07:00" level=debug msg="Conditional GET for notices etag=daaa38da-3e4d-4f5b-86d5-d9dc469e5006" time="2023-10-09T02:41:11-07:00" level=error msg="daemon Docker Engine socket not found and containerDaemonSocket option was not set" time="2023-10-09T02:41:11-07:00" level=debug msg="Loading environment from x:\\.env" time="2023-10-09T02:41:11-07:00" level=debug msg="Loading action inputs from x:\\.input" time="2023-10-09T02:41:11-07:00" level=debug msg="Loading secrets from x:\\.secrets" time="2023-10-09T02:41:11-07:00" level=debug msg="Loading vars from x:\\.vars" time="2023-10-09T02:41:11-07:00" level=debug msg="Evaluated matrix inclusions: map[]" time="2023-10-09T02:41:11-07:00" level=debug msg="Loading workflow 'x:\\gh-tmp\\mrcalvin\\djdsl\\.github\\workflows\\djdsl.yml'" time="2023-10-09T02:41:11-07:00" level=debug msg="Reading workflow 'x:\\gh-tmp\\mrcalvin\\djdsl\\.github\\workflows\\djdsl.yml'" time="2023-10-09T02:41:11-07:00" level=debug msg="Preparing plan with a job: win" time="2023-10-09T02:41:11-07:00" level=debug msg="Using default workflow event: push" time="2023-10-09T02:41:11-07:00" level=debug msg="Planning job: win" time="2023-10-09T02:41:11-07:00" level=debug msg="gc: 2023-10-09 02:41:11.5184876 -0700 PDT m=+0.431507101" module=artifactcache time="2023-10-09T02:41:11-07:00" level=debug msg="Plan Stages: [0xc000498390]" time="2023-10-09T02:41:11-07:00" level=debug msg="Stages Runs: [win]" time="2023-10-09T02:41:11-07:00" level=debug msg="Job.Name: win" time="2023-10-09T02:41:11-07:00" level=debug msg="Job.RawNeeds: {0 0 <nil> [] 0 0}" time="2023-10-09T02:41:11-07:00" level=debug msg="Job.RawRunsOn: {8 0 !!str windows-latest <nil> [] 95 14}" time="2023-10-09T02:41:11-07:00" level=debug msg="Job.Env: {0 0 <nil> [] 0 0}" time="2023-10-09T02:41:11-07:00" level=debug msg="Job.If: {0 0 success() <nil> [] 0 0}" time="2023-10-09T02:41:11-07:00" level=debug msg="Job.Steps: checkout" time="2023-10-09T02:41:11-07:00" level=debug msg="Job.Steps: $msys2 pacman --sync --clean --noconfirm" time="2023-10-09T02:41:11-07:00" level=debug msg="Job.Steps: Set up cache" time="2023-10-09T02:41:11-07:00" level=debug msg="Job.Steps: [[ ! -f C:/msys64/msys2_shell.cmd ]] && rm -rf C:/msys64\nchoco uninstall -y mingw\nchoco upgrade --no-progress -y msys2\nexport msys2='cmd //C RefreshEnv.cmd '\nexport msys2+='& set MSYS=winsymlinks:nativestrict '\nexport msys2+='& C:\\\\tools\\\\msys64\\\\msys2_shell.cmd -defterm -no-start'\nexport mingw64=\"$msys2 -mingw64 -full-path -here -c \"\\\"\\$@\"\\\" --\"\nexport msys2+=\" -msys2 -c \"\\\"\\$@\"\\\" --\"\n$msys2 pacman --sync --noconfirm --needed base-devel mingw-w64-x86_64-toolchain\ntaskkill //IM gpg-agent.exe //F\nexport PATH=/c/msys64/mingw64/bin:$PATH\nexport SHELL=${mingw64}" time="2023-10-09T02:41:11-07:00" level=debug msg="Job.Steps: wget -O kitcreator-tmp.tar.gz https://kitcreator.rkeene.org/fossil/tarball/kitcreator-tmp.tar.gz?uuid=mr_calvin-tclbdd" time="2023-10-09T02:41:11-07:00" level=debug msg="Job.Steps: tar -xzf kitcreator-tmp.tar.gz" time="2023-10-09T02:41:11-07:00" level=debug msg="Job.Steps: cd kitcreator-tmp" time="2023-10-09T02:41:11-07:00" level=debug msg="Job.Steps: ${SHELL} ./build/pre.sh || exit 1" time="2023-10-09T02:41:11-07:00" level=debug msg="Job.Steps: cd ${{ github.workspace }}" time="2023-10-09T02:41:11-07:00" level=debug msg="Job.Steps: ${SHELL} ./configure --with-tcl=no --moddir=${{ github.workspace }}/kitcreator-tmp/djdsl/out.tmp/lib/tcl8/8.6" time="2023-10-09T02:41:11-07:00" level=debug msg="Job.Steps: ${SHELL} make install" time="2023-10-09T02:41:11-07:00" level=debug msg="Job.Steps: echo 'cp -rp out.tmp out' > ${{ github.workspace }}/kitcreator-tmp/djdsl/build.sh" time="2023-10-09T02:41:11-07:00" level=debug msg="Job.Steps: chmod u+x ${{ github.workspace }}/kitcreator-tmp/djdsl/build.sh" time="2023-10-09T02:41:11-07:00" level=debug msg="Job.Steps: export KITCREATOR_PKGS='tcllib tclbdd nsf djdsl'" time="2023-10-09T02:41:11-07:00" level=debug msg="Job.Steps: cd kitcreator-tmp" time="2023-10-09T02:41:11-07:00" level=debug msg="Job.Steps: KC_SHELL=${SHELL}" time="2023-10-09T02:41:11-07:00" level=debug msg="Job.Steps: if [ ${{ runner.os }} = windows ]; then KC_SHELL=\"travis_wait ${KC_SHELL}\"; fi" time="2023-10-09T02:41:11-07:00" level=debug msg="Job.Steps: ${KC_SHELL} ./kitcreator 8.6.10 --enable-64bit --enable-kit-storage=cvfs || (cat tcl/build.log && cat tcllib/build.log && cat nsf/build.log && cat tclbdd/build.log && cat djdsl/build.log && exit 1)" time="2023-10-09T02:41:11-07:00" level=debug msg="Job.Steps: cd ${{ github.workspace }}" time="2023-10-09T02:41:11-07:00" level=debug msg="Job.Steps: ${SHELL} make TCLSH=\"${{ github.workspace }}/kitcreator-tmp/tclkit-8.6.10\" test" time="2023-10-09T02:41:11-07:00" level=debug msg="Job.Steps: if [ -z \"${{ github.ref }}\" ] ; then export TRAVIS_TAG=\"latest\"; fi" time="2023-10-09T02:41:11-07:00" level=debug msg="Job.Steps: export ARTIFACT=\"djdslkit-${{ github.ref }}-${{ runner.os }}\"" time="2023-10-09T02:41:11-07:00" level=debug msg="Job.Steps: if [ ${{ runner.os }} = windows ]; then ARTIFACT=\"${ARTIFACT}.exe\"; fi" time="2023-10-09T02:41:11-07:00" level=debug msg="Job.Steps: cp -p \"${{ github.workspace }}/kitcreator-tmp/tclkit-8.6.10\" ${ARTIFACT}" time="2023-10-09T02:41:11-07:00" level=debug msg="Job.TimeoutMinutes: " time="2023-10-09T02:41:11-07:00" level=debug msg="Job.Services: map[]" time="2023-10-09T02:41:11-07:00" level=debug msg="Job.Strategy: <nil>" time="2023-10-09T02:41:11-07:00" level=debug msg="Job.RawContainer: {0 0 <nil> [] 0 0}" time="2023-10-09T02:41:11-07:00" level=debug msg="Job.Defaults.Run.Shell: " time="2023-10-09T02:41:11-07:00" level=debug msg="Job.Defaults.Run.WorkingDirectory: " time="2023-10-09T02:41:11-07:00" level=debug msg="Job.Outputs: map[]" time="2023-10-09T02:41:11-07:00" level=debug msg="Job.Uses: " time="2023-10-09T02:41:11-07:00" level=debug msg="Job.With: map[]" time="2023-10-09T02:41:11-07:00" level=debug msg="Job.Result: " time="2023-10-09T02:41:11-07:00" level=debug msg="Empty Strategy, matrixes=[map[]]" time="2023-10-09T02:41:11-07:00" level=debug msg="Job Matrices: [map[]]" time="2023-10-09T02:41:11-07:00" level=debug msg="Runner Matrices: map[]" time="2023-10-09T02:41:11-07:00" level=debug msg="Final matrix after applying user inclusions '[map[]]'" time="2023-10-09T02:41:11-07:00" level=debug msg="Loading revision from git directory" time="2023-10-09T02:41:12-07:00" level=debug msg="Found revision: d6c3edbdf8c832c535fd35cb21981bd96ac048ae" time="2023-10-09T02:41:12-07:00" level=debug msg="HEAD points to 'd6c3edbdf8c832c535fd35cb21981bd96ac048ae'" time="2023-10-09T02:41:12-07:00" level=debug msg="using github ref: refs/heads/uvl" time="2023-10-09T02:41:12-07:00" level=debug msg="Found revision: d6c3edbdf8c832c535fd35cb21981bd96ac048ae" time="2023-10-09T02:41:12-07:00" level=debug msg="Detected CPUs: 8" [my/repo/win] [DEBUG] evaluating expression 'success()' [my/repo/win] [DEBUG] expression 'success()' evaluated to 'true' [my/repo/win] [DEBUG] Loading revision from git directory time="2023-10-09T02:41:12-07:00" level=debug msg="Saving notices etag=b7428da5-d75c-41a2-b3b8-aae490d363f4" [my/repo/win] [DEBUG] Found revision: d6c3edbdf8c832c535fd35cb21981bd96ac048ae [my/repo/win] [DEBUG] HEAD points to 'd6c3edbdf8c832c535fd35cb21981bd96ac048ae' [my/repo/win] [DEBUG] using github ref: refs/heads/uvl [my/repo/win] [DEBUG] Found revision: d6c3edbdf8c832c535fd35cb21981bd96ac048ae [my/repo/win] [DEBUG] expression '${{ secrets.TOKEN }}' rewritten to 'format('{0}', secrets.TOKEN)' [my/repo/win] [DEBUG] evaluating expression 'format('{0}', secrets.TOKEN)' [my/repo/win] [DEBUG] expression 'format('{0}', secrets.TOKEN)' evaluated to '%!t(string=)' [my/repo/win] [DEBUG] expression '${{ secrets.SHELL }}' rewritten to 'format('{0}', secrets.SHELL)' [my/repo/win] [DEBUG] evaluating expression 'format('{0}', secrets.SHELL)' [my/repo/win] [DEBUG] expression 'format('{0}', secrets.SHELL)' evaluated to '%!t(string=)' [my/repo/win] [DEBUG] Loading revision from git directory [my/repo/win] [DEBUG] Found revision: d6c3edbdf8c832c535fd35cb21981bd96ac048ae [my/repo/win] [DEBUG] HEAD points to 'd6c3edbdf8c832c535fd35cb21981bd96ac048ae' [my/repo/win] [DEBUG] using github ref: refs/heads/uvl [my/repo/win] [DEBUG] Found revision: d6c3edbdf8c832c535fd35cb21981bd96ac048ae [my/repo/win] [DEBUG] Skipping local actions/checkout because workdir was already copied [my/repo/win] [DEBUG] skip pre step for 'checkout': no action model available [my/repo/win] [DEBUG] Loading revision from git directory [my/repo/win] [DEBUG] Found revision: d6c3edbdf8c832c535fd35cb21981bd96ac048ae [my/repo/win] [DEBUG] HEAD points to 'd6c3edbdf8c832c535fd35cb21981bd96ac048ae' [my/repo/win] [DEBUG] using github ref: refs/heads/uvl [my/repo/win] [DEBUG] Found revision: d6c3edbdf8c832c535fd35cb21981bd96ac048ae [my/repo/win] ☁ git clone 'https://github.com/actions/cache' # ref=v3.3.1 [my/repo/win] [DEBUG] cloning https://github.com/actions/cache to C:\Users\Administrator\.cache\act/actions-cache@v3.3.1 [my/repo/win] [DEBUG] Cloned https://github.com/actions/cache to C:\Users\Administrator\.cache\act/actions-cache@v3.3.1 [my/repo/win] [DEBUG] Checked out v3.3.1 [my/repo/win] [DEBUG] Read action &{Cache GitHub Cache artifacts like dependencies and build outputs to improve workflow execution time map[enableCrossOsArchive:{An optional boolean when enabled, allows windows runners to save or restore caches that can be restored or saved respectively on other platforms false false} fail-on-cache-miss:{Fail the workflow if cache entry is not found false false} key:{An explicit key for restoring and saving the cache true } lookup-only:{Check if a cache entry exists for the given input(s) (key, restore-keys) without downloading the cache false false} path:{A list of files, directories, and wildcard patterns to cache and restore true } restore-keys:{An ordered list of keys to use for restoring stale cache if no cache hit occurred for key. Note `cache-hit` returns false in this case. false } upload-chunk-size:{The chunk size used to split up large files during upload, in bytes false }] map[cache-hit:{A boolean value to indicate an exact match was found for the primary key }] {node16 map[] dist/restore/index.js always() dist/save/index.js success() [] []} {gray-dark archive}} from 'Unknown' [my/repo/win] [DEBUG] expression 'cd ${{ github.workspace }}' rewritten to 'format('cd {0}', github.workspace)' [my/repo/win] [DEBUG] evaluating expression 'format('cd {0}', github.workspace)' [my/repo/win] [DEBUG] expression 'format('cd {0}', github.workspace)' evaluated to '%!t(string=cd C:\Users\Administrator\.cache\act\3647b5fa56985c8e\hostexecutor)' [my/repo/win] [DEBUG] expression '${SHELL} ./configure --with-tcl=no --moddir=${{ github.workspace }}/kitcreator-tmp/djdsl/out.tmp/lib/tcl8/8.6' rewritten to 'format('${{SHELL}} ./configure --with-tcl=no --moddir={0}/kitcreator-tmp/djdsl/out.tmp/lib/tcl8/8.6', github.workspace)' [my/repo/win] [DEBUG] evaluating expression 'format('${{SHELL}} ./configure --with-tcl=no --moddir={0}/kitcreator-tmp/djdsl/out.tmp/lib/tcl8/8.6', github.workspace)' [my/repo/win] [DEBUG] expression 'format('${{SHELL}} ./configure --with-tcl=no --moddir={0}/kitcreator-tmp/djdsl/out.tmp/lib/tcl8/8.6', github.workspace)' evaluated to '%!t(string=${SHELL} ./configure --with-tcl=no --moddir=C:\Users\Administrator\.cache\act\3647b5fa56985c8e\hostexecutor/kitcreator-tmp/djdsl/out.tmp/lib/tcl8/8.6)' [my/repo/win] [DEBUG] expression 'echo 'cp -rp out.tmp out' > ${{ github.workspace }}/kitcreator-tmp/djdsl/build.sh' rewritten to 'format('echo ''cp -rp out.tmp out'' > {0}/kitcreator-tmp/djdsl/build.sh', github.workspace)' [my/repo/win] [DEBUG] evaluating expression 'format('echo ''cp -rp out.tmp out'' > {0}/kitcreator-tmp/djdsl/build.sh', github.workspace)' [my/repo/win] [DEBUG] expression 'format('echo ''cp -rp out.tmp out'' > {0}/kitcreator-tmp/djdsl/build.sh', github.workspace)' evaluated to '%!t(string=echo 'cp -rp out.tmp out' > C:\Users\Administrator\.cache\act\3647b5fa56985c8e\hostexecutor/kitcreator-tmp/djdsl/build.sh)' [my/repo/win] [DEBUG] expression 'chmod u+x ${{ github.workspace }}/kitcreator-tmp/djdsl/build.sh' rewritten to 'format('chmod u+x {0}/kitcreator-tmp/djdsl/build.sh', github.workspace)' [my/repo/win] [DEBUG] evaluating expression 'format('chmod u+x {0}/kitcreator-tmp/djdsl/build.sh', github.workspace)' [my/repo/win] [DEBUG] expression 'format('chmod u+x {0}/kitcreator-tmp/djdsl/build.sh', github.workspace)' evaluated to '%!t(string=chmod u+x C:\Users\Administrator\.cache\act\3647b5fa56985c8e\hostexecutor/kitcreator-tmp/djdsl/build.sh)' [my/repo/win] [DEBUG] expression 'if [ ${{ runner.os }} = windows ]; then KC_SHELL="travis_wait ${KC_SHELL}"; fi' rewritten to 'format('if [ {0} = windows ]; then KC_SHELL="travis_wait ${{KC_SHELL}}"; fi', runner.os)' [my/repo/win] [DEBUG] evaluating expression 'format('if [ {0} = windows ]; then KC_SHELL="travis_wait ${{KC_SHELL}}"; fi', runner.os)' [my/repo/win] [DEBUG] expression 'format('if [ {0} = windows ]; then KC_SHELL="travis_wait ${{KC_SHELL}}"; fi', runner.os)' evaluated to '%!t(string=if [ windows = windows ]; then KC_SHELL="travis_wait ${KC_SHELL}"; fi)' [my/repo/win] [DEBUG] expression 'cd ${{ github.workspace }}' rewritten to 'format('cd {0}', github.workspace)' [my/repo/win] [DEBUG] evaluating expression 'format('cd {0}', github.workspace)' [my/repo/win] [DEBUG] expression 'format('cd {0}', github.workspace)' evaluated to '%!t(string=cd C:\Users\Administrator\.cache\act\3647b5fa56985c8e\hostexecutor)' [my/repo/win] [DEBUG] expression '${SHELL} make TCLSH="${{ github.workspace }}/kitcreator-tmp/tclkit-8.6.10" test' rewritten to 'format('${{SHELL}} make TCLSH="{0}/kitcreator-tmp/tclkit-8.6.10" test', github.workspace)' [my/repo/win] [DEBUG] evaluating expression 'format('${{SHELL}} make TCLSH="{0}/kitcreator-tmp/tclkit-8.6.10" test', github.workspace)' [my/repo/win] [DEBUG] expression 'format('${{SHELL}} make TCLSH="{0}/kitcreator-tmp/tclkit-8.6.10" test', github.workspace)' evaluated to '%!t(string=${SHELL} make TCLSH="C:\Users\Administrator\.cache\act\3647b5fa56985c8e\hostexecutor/kitcreator-tmp/tclkit-8.6.10" test)' [my/repo/win] [DEBUG] expression 'if [ -z "${{ github.ref }}" ] ; then export TRAVIS_TAG="latest"; fi' rewritten to 'format('if [ -z "{0}" ] ; then export TRAVIS_TAG="latest"; fi', github.ref)' [my/repo/win] [DEBUG] evaluating expression 'format('if [ -z "{0}" ] ; then export TRAVIS_TAG="latest"; fi', github.ref)' [my/repo/win] [DEBUG] expression 'format('if [ -z "{0}" ] ; then export TRAVIS_TAG="latest"; fi', github.ref)' evaluated to '%!t(string=if [ -z "refs/heads/uvl" ] ; then export TRAVIS_TAG="latest"; fi)' [my/repo/win] [DEBUG] expression 'export ARTIFACT="djdslkit-${{ github.ref }}-${{ runner.os }}"' rewritten to 'format('export ARTIFACT="djdslkit-{0}-{1}"', github.ref, runner.os)' [my/repo/win] [DEBUG] evaluating expression 'format('export ARTIFACT="djdslkit-{0}-{1}"', github.ref, runner.os)' [my/repo/win] [DEBUG] expression 'format('export ARTIFACT="djdslkit-{0}-{1}"', github.ref, runner.os)' evaluated to '%!t(string=export ARTIFACT="djdslkit-refs/heads/uvl-windows")' [my/repo/win] [DEBUG] expression 'if [ ${{ runner.os }} = windows ]; then ARTIFACT="${ARTIFACT}.exe"; fi' rewritten to 'format('if [ {0} = windows ]; then ARTIFACT="${{ARTIFACT}}.exe"; fi', runner.os)' [my/repo/win] [DEBUG] evaluating expression 'format('if [ {0} = windows ]; then ARTIFACT="${{ARTIFACT}}.exe"; fi', runner.os)' [my/repo/win] [DEBUG] expression 'format('if [ {0} = windows ]; then ARTIFACT="${{ARTIFACT}}.exe"; fi', runner.os)' evaluated to '%!t(string=if [ windows = windows ]; then ARTIFACT="${ARTIFACT}.exe"; fi)' [my/repo/win] [DEBUG] expression 'cp -p "${{ github.workspace }}/kitcreator-tmp/tclkit-8.6.10" ${ARTIFACT}' rewritten to 'format('cp -p "{0}/kitcreator-tmp/tclkit-8.6.10" ${{ARTIFACT}}', github.workspace)' [my/repo/win] [DEBUG] evaluating expression 'format('cp -p "{0}/kitcreator-tmp/tclkit-8.6.10" ${{ARTIFACT}}', github.workspace)' [my/repo/win] [DEBUG] expression 'format('cp -p "{0}/kitcreator-tmp/tclkit-8.6.10" ${{ARTIFACT}}', github.workspace)' evaluated to '%!t(string=cp -p "C:\Users\Administrator\.cache\act\3647b5fa56985c8e\hostexecutor/kitcreator-tmp/tclkit-8.6.10" ${ARTIFACT})' [my/repo/win] [DEBUG] Loading revision from git directory [my/repo/win] [DEBUG] Found revision: d6c3edbdf8c832c535fd35cb21981bd96ac048ae [my/repo/win] [DEBUG] HEAD points to 'd6c3edbdf8c832c535fd35cb21981bd96ac048ae' [my/repo/win] [DEBUG] using github ref: refs/heads/uvl [my/repo/win] [DEBUG] Found revision: d6c3edbdf8c832c535fd35cb21981bd96ac048ae [my/repo/win] [DEBUG] Skipping local actions/checkout because workdir was already copied [my/repo/win] [DEBUG] Loading revision from git directory [my/repo/win] [DEBUG] Found revision: d6c3edbdf8c832c535fd35cb21981bd96ac048ae [my/repo/win] [DEBUG] HEAD points to 'd6c3edbdf8c832c535fd35cb21981bd96ac048ae' [my/repo/win] [DEBUG] using github ref: refs/heads/uvl [my/repo/win] [DEBUG] Found revision: d6c3edbdf8c832c535fd35cb21981bd96ac048ae [my/repo/win] [DEBUG] Loading revision from git directory [my/repo/win] [DEBUG] Found revision: d6c3edbdf8c832c535fd35cb21981bd96ac048ae [my/repo/win] [DEBUG] HEAD points to 'd6c3edbdf8c832c535fd35cb21981bd96ac048ae' [my/repo/win] [DEBUG] using github ref: refs/heads/uvl [my/repo/win] [DEBUG] Found revision: d6c3edbdf8c832c535fd35cb21981bd96ac048ae [my/repo/win] [DEBUG] Loading revision from git directory [my/repo/win] [DEBUG] Found revision: d6c3edbdf8c832c535fd35cb21981bd96ac048ae [my/repo/win] [DEBUG] HEAD points to 'd6c3edbdf8c832c535fd35cb21981bd96ac048ae' [my/repo/win] [DEBUG] using github ref: refs/heads/uvl [my/repo/win] [DEBUG] Found revision: d6c3edbdf8c832c535fd35cb21981bd96ac048ae [my/repo/win] [DEBUG] setupEnv => map[:C:=C:\Users\Administrator ACT:true ACTIONS_CACHE_URL:http://192.168.64.3:49814/ ALLUSERSPROFILE:C:\ProgramData APPDATA:C:\Users\Administrator\AppData\Roaming CI:true COMPUTERNAME:WINDOWS-SUH89E2 ChocolateyInstall:C:\ProgramData\chocolatey ChocolateyLastPathUpdate:133403238315697825 ComSpec:C:\Windows\system32\cmd.exe CommonProgramFiles:C:\Program Files\Common Files CommonProgramFiles(x86):C:\Program Files (x86)\Common Files CommonProgramW6432:C:\Program Files\Common Files DOCKER_HOST: DriverData:C:\Windows\System32\Drivers\DriverData ERROR_ON_FAILURES:1 GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_PATH: GITHUB_ACTION_REF:v4.0.0 GITHUB_ACTION_REPOSITORY:actions/checkout GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:C:/Users/Administrator/.cache/act/3647b5fa56985c8e/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:win GITHUB_REF:refs/heads/uvl GITHUB_REF_NAME:uvl GITHUB_REF_TYPE:branch GITHUB_REPOSITORY:my/repo GITHUB_REPOSITORY_OWNER:mrcalvin GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:d6c3edbdf8c832c535fd35cb21981bd96ac048ae GITHUB_TOKEN: GITHUB_WORKFLOW:my/repo GITHUB_WORKSPACE:C:\Users\Administrator\.cache\act\3647b5fa56985c8e\hostexecutor HOME:C:\Users\Administrator HOMEDRIVE:C: HOMEPATH:\Users\Administrator ImageOS:windowslatest LOCALAPPDATA:C:\Users\Administrator\AppData\Local LOGNAME:administrator NUMBER_OF_PROCESSORS:8 OS:Windows_NT PATHEXT:.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC PROCESSOR_ARCHITECTURE:AMD64 PROCESSOR_IDENTIFIER:AMD64 Family 15 Model 107 Stepping 1, AuthenticAMD PROCESSOR_LEVEL:15 PROCESSOR_REVISION:6b01 PROMPT:administrator@WINDOWS-SUH89E2 $P$G PSModulePath:C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules PUBLIC:C:\Users\Public Path:C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\ProgramData\chocolatey\bin;C:\Windows\system32\config\systemprofile\AppData\Local\Microsoft\WindowsApps;C:\Users\Administrator\AppData\Local\Microsoft\WindowsApps; PowerShell:C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe ProgramData:C:\ProgramData ProgramFiles:C:\Program Files ProgramFiles(x86):C:\Program Files (x86) ProgramW6432:C:\Program Files RUNNER_ARCH:amd64 RUNNER_OS:windows RUNNER_PERFLOG:/dev/null RUNNER_TEMP:C:\Users\Administrator\.cache\act\3647b5fa56985c8e\tmp RUNNER_TOOL_CACHE:C:\Users\Administrator\.cache\act\tool_cache RUNNER_TRACKING_ID: SConfigV2Command:Invoke-Sconfig SHELL: SSH_CLIENT:192.168.64.1 49416 22 SSH_CONNECTION:192.168.64.1 49416 192.168.64.3 22 SSH_TTY:windows-pty SystemDrive:C: SystemRoot:C:\Windows TEMP:C:\Users\Administrator\AppData\Local\Temp TERM:xterm-256color TMP:C:\Users\Administrator\AppData\Local\Temp TOKEN: USER:administrator USERDOMAIN:WORKGROUP USERNAME:administrator USERPROFILE:C:\Users\Administrator windir:C:\Windows] [my/repo/win] [DEBUG] Loading revision from git directory [my/repo/win] [DEBUG] Found revision: d6c3edbdf8c832c535fd35cb21981bd96ac048ae [my/repo/win] [DEBUG] HEAD points to 'd6c3edbdf8c832c535fd35cb21981bd96ac048ae' [my/repo/win] [DEBUG] using github ref: refs/heads/uvl [my/repo/win] [DEBUG] Found revision: d6c3edbdf8c832c535fd35cb21981bd96ac048ae [my/repo/win] [DEBUG] Loading revision from git directory [my/repo/win] [DEBUG] Found revision: d6c3edbdf8c832c535fd35cb21981bd96ac048ae [my/repo/win] [DEBUG] HEAD points to 'd6c3edbdf8c832c535fd35cb21981bd96ac048ae' [my/repo/win] [DEBUG] using github ref: refs/heads/uvl [my/repo/win] [DEBUG] Found revision: d6c3edbdf8c832c535fd35cb21981bd96ac048ae [my/repo/win] [DEBUG] evaluating expression '' [my/repo/win] [DEBUG] expression '' evaluated to 'true' [my/repo/win] ⭐ Run Main checkout [my/repo/win] [DEBUG] Loading revision from git directory [my/repo/win] [DEBUG] Found revision: d6c3edbdf8c832c535fd35cb21981bd96ac048ae [my/repo/win] [DEBUG] HEAD points to 'd6c3edbdf8c832c535fd35cb21981bd96ac048ae' [my/repo/win] [DEBUG] using github ref: refs/heads/uvl [my/repo/win] [DEBUG] Found revision: d6c3edbdf8c832c535fd35cb21981bd96ac048ae [my/repo/win] [DEBUG] Loading revision from git directory [my/repo/win] [DEBUG] Found revision: d6c3edbdf8c832c535fd35cb21981bd96ac048ae [my/repo/win] [DEBUG] HEAD points to 'd6c3edbdf8c832c535fd35cb21981bd96ac048ae' [my/repo/win] [DEBUG] using github ref: refs/heads/uvl [my/repo/win] [DEBUG] Found revision: d6c3edbdf8c832c535fd35cb21981bd96ac048ae [my/repo/win] [DEBUG] Stripping prefix:x:\\ src:x:\\. [my/repo/win] ❌ Failure - Main checkout [my/repo/win] mkdir C:\Users\Administrator\.cache\act\3647b5fa56985c8e\hostexecutor\x:: The filename, directory name, or volume label syntax is incorrect. ``` ### Additional information _No response_
kerem 2026-03-01 21:47:52 +03:00
Author
Owner

@mrcalvin commented on GitHub (Oct 9, 2023):

Turned out to be a missing sanitizing of volume names in act itself:

diff --git a/pkg/container/file_collector.go b/pkg/container/file_collector.go
index b4be0e8..6aebde1 100644
--- a/pkg/container/file_collector.go
+++ b/pkg/container/file_collector.go
@@ -64,7 +64,7 @@ type copyCollector struct {
 }
 
 func (cc *copyCollector) WriteFile(fpath string, fi fs.FileInfo, linkName string, f io.Reader) error {
-       fdestpath := filepath.Join(cc.DstDir, fpath)
+       fdestpath := filepath.Join(cc.DstDir, strings.Replace(fpath, ":", "", 1))
        if err := os.MkdirAll(filepath.Dir(fdestpath), 0o777); err != nil {
                return err
        }

This way, paths containing x:\some\path are turned into x\some\path. Maybe, there is some Go builtin that I am not aware of, to achieve the same?

<!-- gh-comment-id:1754048200 --> @mrcalvin commented on GitHub (Oct 9, 2023): Turned out to be a missing sanitizing of volume names in `act` itself: ``` diff --git a/pkg/container/file_collector.go b/pkg/container/file_collector.go index b4be0e8..6aebde1 100644 --- a/pkg/container/file_collector.go +++ b/pkg/container/file_collector.go @@ -64,7 +64,7 @@ type copyCollector struct { } func (cc *copyCollector) WriteFile(fpath string, fi fs.FileInfo, linkName string, f io.Reader) error { - fdestpath := filepath.Join(cc.DstDir, fpath) + fdestpath := filepath.Join(cc.DstDir, strings.Replace(fpath, ":", "", 1)) if err := os.MkdirAll(filepath.Dir(fdestpath), 0o777); err != nil { return err } ``` This way, paths containing `x:\some\path` are turned into `x\some\path`. Maybe, there is some Go builtin that I am not aware of, to achieve the same?
Author
Owner

@mrcalvin commented on GitHub (Oct 11, 2023):

Better, strip away the volume prefix:

--- a/pkg/container/file_collector.go
+++ b/pkg/container/file_collector.go
@@ -64,7 +64,10 @@ type copyCollector struct {
 }
 
 func (cc *copyCollector) WriteFile(fpath string, fi fs.FileInfo, linkName string, f io.Reader) error {
-       fdestpath := filepath.Join(cc.DstDir, fpath)
+       if fvol := filepath.VolumeName(fpath); fvol != "" {
+               fpath = strings.Replace(fpath, fvol, "", 1); 
+       }
+        fdestpath := filepath.Join(cc.DstDir, fpath)
        if err := os.MkdirAll(filepath.Dir(fdestpath), 0o777); err != nil {
                return err
        }

<!-- gh-comment-id:1758132958 --> @mrcalvin commented on GitHub (Oct 11, 2023): Better, strip away the volume prefix: ``` --- a/pkg/container/file_collector.go +++ b/pkg/container/file_collector.go @@ -64,7 +64,10 @@ type copyCollector struct { } func (cc *copyCollector) WriteFile(fpath string, fi fs.FileInfo, linkName string, f io.Reader) error { - fdestpath := filepath.Join(cc.DstDir, fpath) + if fvol := filepath.VolumeName(fpath); fvol != "" { + fpath = strings.Replace(fpath, fvol, "", 1); + } + fdestpath := filepath.Join(cc.DstDir, fpath) if err := os.MkdirAll(filepath.Dir(fdestpath), 0o777); err != nil { return err } ```
Author
Owner

@github-actions[bot] commented on GitHub (Apr 9, 2024):

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

<!-- gh-comment-id:2043916337 --> @github-actions[bot] commented on GitHub (Apr 9, 2024): Issue is stale and will be closed in 14 days unless there is new activity
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#978
No description provided.