[GH-ISSUE #818] Issue: env: section from jobs: part of workflow not handled the same as when executed on Github #504

Closed
opened 2026-03-01 21:43:59 +03:00 by kerem · 5 comments
Owner

Originally created by @henrikrxn on GitHub (Sep 18, 2021).
Original GitHub issue: https://github.com/nektos/act/issues/818

Originally assigned to: @catthehacker on GitHub.

First of all thank you for the effort you put into act 😃
It is so great being able to iterate on workflows locally and have a quick feedback loop.

System information

  • Operating System:Windows 10
  • Architecture: x64 (64-bit)
  • Apple M1: No
  • Docker version: 20.10.8
  • Docker image used in act: catthehacker/ubuntu:act-latest
  • act version: act version 0.2.24

Expected behaviour

All variables from env: section of jobs should be handled the same way locally and the the workflow runs on Github.

The workflow prints part of the env. That was before I realized that -v does the same.
run: env | grep MY_OWN | sort
Each declared env variable should be present and have the value from the workflow file assigned to it.

Given this snippet from example workflow in repository

env:
  MY_OWN_BOOL: true
  MY_OWN_BOOL_WITH_SINGLE_QUOTES: 'true'
  MY_OWN_BOOL_WITH_DOUBLE_QUOTES: "true"
  MY_OWN_INT: 1
  MY_OWN_INT_WITH_SINGLE_QUOTES: '1'
  MY_OWN_INT_WITH_DOUBLE_QUOTES: "1"
  MY_OWN_STRING: ABC
  MY_OWN_STRING_WITH_SINGLE_QUOTES: 'ABC'
  MY_OWN_STRING_WITH_DOUBLE_QUOTES: "ABC"

I would expect this (snipped from action log on Github)

MY_OWN_BOOL=true
MY_OWN_BOOL_WITH_DOUBLE_QUOTES=true
MY_OWN_BOOL_WITH_SINGLE_QUOTES=true
MY_OWN_INT=1
MY_OWN_INT_WITH_DOUBLE_QUOTES=1
MY_OWN_INT_WITH_SINGLE_QUOTES=1
MY_OWN_STRING=ABC
MY_OWN_STRING_WITH_DOUBLE_QUOTES=ABC
MY_OWN_STRING_WITH_SINGLE_QUOTES=ABC

Actual behaviour

When running locally using Act all variables are declared, but not all have values

MY_OWN_BOOL=
MY_OWN_BOOL_WITH_DOUBLE_QUOTES=true
MY_OWN_BOOL_WITH_SINGLE_QUOTES=true
MY_OWN_INT=
MY_OWN_INT_WITH_DOUBLE_QUOTES=1
MY_OWN_INT_WITH_SINGLE_QUOTES=1
MY_OWN_STRING=ABC
MY_OWN_STRING_WITH_DOUBLE_QUOTES=ABC
MY_OWN_STRING_WITH_SINGLE_QUOTES=ABC

Workflow and/or repository

Example repo:
https://github.com/henrikrxn/act-simple-repro-for-issues

Workflow build-and-test.yml

Steps to reproduce

  1. Clone example repo https://github.com/henrikrxn/act-simple-repro-for-issues
  2. Enter cloned repo directory
  3. Run `act push -W .\.github\workflows\build-and-test.yml -P ubuntu-latest=catthehacker/ubuntu:act-latest`

act output

Log
[Build site/Build C# code and run tests] 🚀  Start image=catthehacker/ubuntu:act-latest
[Build site/Build C# code and run tests]   🐳  docker run image=catthehacker/ubuntu:act-latest platform= entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[Build site/Build C# code and run tests]   🐳  docker exec cmd=[mkdir -m 0777 -p /var/run/act] user=root
[Build site/Build C# code and run tests]   🐳  docker cp src=E:\MyGithub\act-simple-repro-for-issues\. dst=\mnt\e\MyGithub\act-simple-repro-for-issues
[Build site/Build C# code and run tests]   🐳  docker exec cmd=[mkdir -p \mnt\e\MyGithub\act-simple-repro-for-issues] user=
[Build site/Build C# code and run tests] ⭐  Run Dump relevant parts of Environment
[Build site/Build C# code and run tests]   🐳  docker exec cmd=[bash --noprofile --norc -e -o pipefail /mnt/e/MyGithub/act-simple-repro-for-issues/workflow/0] user=
| MY_OWN_BOOL=
| MY_OWN_BOOL_WITH_DOUBLE_QUOTES=true
| MY_OWN_BOOL_WITH_SINGLE_QUOTES=true
| MY_OWN_INT=
| MY_OWN_INT_WITH_DOUBLE_QUOTES=1
| MY_OWN_INT_WITH_SINGLE_QUOTES=1
| MY_OWN_STRING=ABC
| MY_OWN_STRING_WITH_DOUBLE_QUOTES=ABC
| MY_OWN_STRING_WITH_SINGLE_QUOTES=ABC
[Build site/Build C# code and run tests]   ✅  Success - Dump relevant parts of Environment
[Build site/Build C# code and run tests] ⭐  Run Get the sources
[Build site/Build C# code and run tests]   ✅  Success - Get the sources
[Build site/Build C# code and run tests] ⭐  Run Install .NET Core SDK
time="2021-09-18T12:56:47+02:00" level=info msg="  ☁  git clone 'https://github.com/actions/setup-dotnet' # ref=v1"
[Build site/Build C# code and run tests]   🐳  docker cp src=C:\Users\Henrik\.cache\act/actions-setup-dotnet@v1/ dst=/var/run/act/actions/actions-setup-dotnet@v1/
[Build site/Build C# code and run tests]   🐳  docker exec cmd=[mkdir -p /var/run/act/actions/actions-setup-dotnet@v1/] user=
[Build site/Build C# code and run tests]   🐳  docker exec cmd=[node /var/run/act/actions/actions-setup-dotnet@v1/dist/index.js] user=
[Build site/Build C# code and run tests]   💬  ::debug::No version found, trying to find version from global.json
| [command]/run/act/actions/actions-setup-dotnet@v1/externals/install-dotnet.sh --version 3.1.413
| dotnet-install: Note that the intended use of this script is for Continuous Integration (CI) scenarios, where:
| dotnet-install: - The SDK needs to be installed without user interaction and without admin rights.
| dotnet-install: - The SDK installation doesn't need to persist across multiple CI runs.
| dotnet-install: To set up a development environment or to run apps, use installers rather than this script. Visit https://dotnet.microsoft.com/download to get the installer.
|
| dotnet-install: Downloading primary link https://dotnetcli.azureedge.net/dotnet/Sdk/3.1.413/dotnet-sdk-3.1.413-linux-x64.tar.gz
| dotnet-install: Extracting zip from https://dotnetcli.azureedge.net/dotnet/Sdk/3.1.413/dotnet-sdk-3.1.413-linux-x64.tar.gz
| dotnet-install: Adding to current process PATH: `/root/.dotnet`. Note: This change will be visible only when sourcing script.
| dotnet-install: Note that the script does not resolve dependencies during installation.
| dotnet-install: To check the list of dependencies, go to https://docs.microsoft.com/dotnet/core/install, select your operating system and check the "Dependencies" section.
| dotnet-install: Installation finished successfully.
| /root/.dotnet:/opt/hostedtoolcache/node/14.17.6/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
[Build site/Build C# code and run tests]   ❓  ##[add-matcher]/run/act/actions/actions-setup-dotnet@v1/.github/csc.json
[Build site/Build C# code and run tests]   ✅  Success - Install .NET Core SDK
[Build site/Build C# code and run tests] ⭐  Run Restore NuGet packages
[Build site/Build C# code and run tests]   🐳  docker exec cmd=[bash --noprofile --norc -e -o pipefail /mnt/e/MyGithub/act-simple-repro-for-issues/workflow/3] user=
|
| Welcome to .NET Core 3.1!
| ---------------------
| SDK Version: 3.1.413
|
| Telemetry
| ---------
| The .NET Core tools collect usage data in order to help us improve your experience. It is collected by Microsoft and shared with the community. You can opt-out of telemetry by setting the DOTNET_CLI_TELEMETRY_OPTOUT environment variable to '1' or 'true' using your favorite shell.
|
| Read more about .NET Core CLI Tools telemetry: https://aka.ms/dotnet-cli-telemetry
|
| ----------------
| Explore documentation: https://aka.ms/dotnet-docs
| Report issues and find source on GitHub: https://github.com/dotnet/core
| Find out what's new: https://aka.ms/dotnet-whats-new
| Learn about the installed HTTPS developer cert: https://aka.ms/aspnet-core-https
| Use 'dotnet --help' to see available commands or visit: https://aka.ms/dotnet-cli-docs
| Write your first app: https://aka.ms/first-net-core-app
| --------------------------------------------------------------------------------------
|   Determining projects to restore...
|   Restored /mnt/e/MyGithub/act-simple-repro-for-issues/ToHaveWorkflowForAct.csproj (in 106 ms).
[Build site/Build C# code and run tests]   ✅  Success - Restore NuGet packages
[Build site/Build C# code and run tests] ⭐  Run Build solution
[Build site/Build C# code and run tests]   🐳  docker exec cmd=[bash --noprofile --norc -e -o pipefail /mnt/e/MyGithub/act-simple-repro-for-issues/workflow/4] user=
| Microsoft (R) Build Engine version 16.7.2+b60ddb6f4 for .NET
| Copyright (C) Microsoft Corporation. All rights reserved.
|
|   ToHaveWorkflowForAct -> /mnt/e/MyGithub/act-simple-repro-for-issues/bin/Release/netcoreapp3.1/ToHaveWorkflowForAct.dll
|
| Build succeeded.
|     0 Warning(s)
|     0 Error(s)
|
| Time Elapsed 00:00:01.41
[Build site/Build C# code and run tests]   ✅  Success - Build solution
[Build site/Build C# code and run tests] ⭐  Run Run tests from solution
[Build site/Build C# code and run tests]   🐳  docker exec cmd=[bash --noprofile --norc -e -o pipefail /mnt/e/MyGithub/act-simple-repro-for-issues/workflow/5] user=
[Build site/Build C# code and run tests]   ✅  Success - Run tests from solution
    E:   act-simple-repro-for-issues  Act-does-not-transfer-env-from-workflow-to-docker ⁇  +1  ❯  act push -v -W .\.github\workflows\build-and-test.yml -P ubuntu-latest=catthehacker/ubuntu:act-latest
time="2021-09-18T12:59:52+02:00" level=debug msg="Loading environment from E:\\MyGithub\\act-simple-repro-for-issues\\.env"
time="2021-09-18T12:59:52+02:00" level=debug msg="Loading secrets from E:\\MyGithub\\act-simple-repro-for-issues\\.secrets"
time="2021-09-18T12:59:52+02:00" level=debug msg="Loading workflow 'E:\\MyGithub\\act-simple-repro-for-issues\\.github\\workflows\\build-and-test.yml'"
time="2021-09-18T12:59:52+02:00" level=debug msg="Reading workflow 'E:\\MyGithub\\act-simple-repro-for-issues\\.github\\workflows\\build-and-test.yml'"
time="2021-09-18T12:59:52+02:00" level=debug msg="Correcting if statements 'E:\\MyGithub\\act-simple-repro-for-issues\\.github\\workflows\\build-and-test.yml'"
time="2021-09-18T12:59:52+02:00" level=debug msg="Planning event: push"
time="2021-09-18T12:59:52+02:00" level=debug msg="Loading slug from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'"
time="2021-09-18T12:59:52+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n"
time="2021-09-18T12:59:52+02:00" level=debug msg="Loading revision from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'"
time="2021-09-18T12:59:52+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n"
time="2021-09-18T12:59:52+02:00" level=debug msg="HEAD points to '412b6b0b711dcfbdaa632e9ab316109885b3af6b'"
time="2021-09-18T12:59:52+02:00" level=debug msg="using github ref: refs/heads/Act-does-not-transfer-env-from-workflow-to-docker"
time="2021-09-18T12:59:52+02:00" level=debug msg="context env => map[ACT:true MY_OWN_BOOL: MY_OWN_BOOL_WITH_DOUBLE_QUOTES:true MY_OWN_BOOL_WITH_SINGLE_QUOTES:true MY_OWN_INT: MY_OWN_INT_WITH_DOUBLE_QUOTES:1 MY_OWN_INT_WITH_SINGLE_QUOTES:1 MY_OWN_STRING:ABC MY_OWN_STRING_WITH_DOUBLE_QUOTES:ABC MY_OWN_STRING_WITH_SINGLE_QUOTES:ABC]"
time="2021-09-18T12:59:52+02:00" level=debug msg="context needs => map[]"
[Build site/Build C# code and run tests] 🚀  Start image=catthehacker/ubuntu:act-latest
time="2021-09-18T12:59:52+02:00" level=debug msg="Loading slug from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'"
time="2021-09-18T12:59:52+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n"
time="2021-09-18T12:59:52+02:00" level=debug msg="Loading revision from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'"
time="2021-09-18T12:59:52+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n"
time="2021-09-18T12:59:52+02:00" level=debug msg="HEAD points to '412b6b0b711dcfbdaa632e9ab316109885b3af6b'"
time="2021-09-18T12:59:52+02:00" level=debug msg="using github ref: refs/heads/Act-does-not-transfer-env-from-workflow-to-docker"
[Build site/Build C# code and run tests]   🐳  docker pull catthehacker/ubuntu:act-latest
time="2021-09-18T12:59:52+02:00" level=debug msg="Image exists? true"
[Build site/Build C# code and run tests]   🐳  docker create image=catthehacker/ubuntu:act-latest platform= entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[Build site/Build C# code and run tests] Created container name=act-Build-site-Build-C-code-and-run-tests id=4e03e7bcad06887721b2b7be1634368e402a4d472d9f5a2102c89108d49f4cb6 from image catthehacker/ubuntu:act-latest (platform: )
[Build site/Build C# code and run tests] ENV ==> [RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUNNER_OS=Linux RUNNER_TEMP=/tmp]
[Build site/Build C# code and run tests]   🐳  docker run image=catthehacker/ubuntu:act-latest platform= entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[Build site/Build C# code and run tests] Starting container: 4e03e7bcad06887721b2b7be1634368e402a4d472d9f5a2102c89108d49f4cb6
[Build site/Build C# code and run tests] Started container: 4e03e7bcad06887721b2b7be1634368e402a4d472d9f5a2102c89108d49f4cb6
[Build site/Build C# code and run tests]   🐳  docker exec cmd=[mkdir -m 0777 -p /var/run/act] user=root
[Build site/Build C# code and run tests] Exec command '[mkdir -m 0777 -p /var/run/act]'
[Build site/Build C# code and run tests]   🐳  docker cp src=E:\MyGithub\act-simple-repro-for-issues\. dst=\mnt\e\MyGithub\act-simple-repro-for-issues
[Build site/Build C# code and run tests]   🐳  docker exec cmd=[mkdir -p \mnt\e\MyGithub\act-simple-repro-for-issues] user=
[Build site/Build C# code and run tests] Exec command '[mkdir -p /mnt/e/MyGithub/act-simple-repro-for-issues]'
time="2021-09-18T12:59:53+02:00" level=debug msg="Writing tarball C:\\Users\\Henrik\\AppData\\Local\\Temp\\act157044999 from E:\\MyGithub\\act-simple-repro-for-issues\\."
time="2021-09-18T12:59:53+02:00" level=debug msg="Stripping prefix:E:\\MyGithub\\act-simple-repro-for-issues\\ src:E:\\MyGithub\\act-simple-repro-for-issues\\."
[Build site/Build C# code and run tests] Extracting content from 'C:\Users\Henrik\AppData\Local\Temp\act157044999' to '\mnt\e\MyGithub\act-simple-repro-for-issues'
time="2021-09-18T12:59:53+02:00" level=debug msg="Writing entry to tarball workflow/event.json len:2"
time="2021-09-18T12:59:53+02:00" level=debug msg="Writing entry to tarball workflow/envs.txt len:0"
time="2021-09-18T12:59:53+02:00" level=debug msg="Writing entry to tarball workflow/paths.txt len:0"
[Build site/Build C# code and run tests] Extracting content to '/var/run/act/'
time="2021-09-18T12:59:53+02:00" level=debug msg="Loading slug from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'"
time="2021-09-18T12:59:53+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n"
time="2021-09-18T12:59:53+02:00" level=debug msg="Loading revision from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'"
time="2021-09-18T12:59:53+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n"
time="2021-09-18T12:59:53+02:00" level=debug msg="HEAD points to '412b6b0b711dcfbdaa632e9ab316109885b3af6b'"
time="2021-09-18T12:59:53+02:00" level=debug msg="using github ref: refs/heads/Act-does-not-transfer-env-from-workflow-to-docker"
time="2021-09-18T12:59:53+02:00" level=debug msg="Loading slug from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'"
time="2021-09-18T12:59:53+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n"
time="2021-09-18T12:59:53+02:00" level=debug msg="Loading revision from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'"
time="2021-09-18T12:59:53+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n"
time="2021-09-18T12:59:53+02:00" level=debug msg="HEAD points to '412b6b0b711dcfbdaa632e9ab316109885b3af6b'"
time="2021-09-18T12:59:53+02:00" level=debug msg="using github ref: refs/heads/Act-does-not-transfer-env-from-workflow-to-docker"
time="2021-09-18T12:59:53+02:00" level=debug msg="context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache DEPLOYMENT_BASEPATH:/opt/runner IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 MY_OWN_BOOL: MY_OWN_BOOL_WITH_DOUBLE_QUOTES:true MY_OWN_BOOL_WITH_SINGLE_QUOTES:true MY_OWN_INT: MY_OWN_INT_WITH_DOUBLE_QUOTES:1 MY_OWN_INT_WITH_SINGLE_QUOTES:1 MY_OWN_STRING:ABC MY_OWN_STRING_WITH_DOUBLE_QUOTES:ABC MY_OWN_STRING_WITH_SINGLE_QUOTES:ABC PATH:/opt/hostedtoolcache/node/14.17.6/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root]"
time="2021-09-18T12:59:53+02:00" level=debug msg="context needs => map[]"
time="2021-09-18T12:59:53+02:00" level=debug msg="context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt 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:Build C# code and run tests GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/Act-does-not-transfer-env-from-workflow-to-docker GITHUB_REPOSITORY:henrikrxn/act-simple-repro-for-issues GITHUB_REPOSITORY_OWNER:henrikrxn GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:412b6b0b711dcfbdaa632e9ab316109885b3af6b GITHUB_TOKEN: GITHUB_WORKFLOW:Build site GITHUB_WORKSPACE:/mnt/e/MyGithub/act-simple-repro-for-issues IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 MY_OWN_BOOL: MY_OWN_BOOL_WITH_DOUBLE_QUOTES:true MY_OWN_BOOL_WITH_SINGLE_QUOTES:true MY_OWN_INT: MY_OWN_INT_WITH_DOUBLE_QUOTES:1 MY_OWN_INT_WITH_SINGLE_QUOTES:1 MY_OWN_STRING:ABC MY_OWN_STRING_WITH_DOUBLE_QUOTES:ABC MY_OWN_STRING_WITH_SINGLE_QUOTES:ABC PATH:/opt/hostedtoolcache/node/14.17.6/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root]"
[Build site/Build C# code and run tests] setupEnv => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt 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:Build C# code and run tests GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/Act-does-not-transfer-env-from-workflow-to-docker GITHUB_REPOSITORY:henrikrxn/act-simple-repro-for-issues GITHUB_REPOSITORY_OWNER:henrikrxn GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:412b6b0b711dcfbdaa632e9ab316109885b3af6b GITHUB_TOKEN: GITHUB_WORKFLOW:Build site GITHUB_WORKSPACE:/mnt/e/MyGithub/act-simple-repro-for-issues IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 MY_OWN_BOOL: MY_OWN_BOOL_WITH_DOUBLE_QUOTES:true MY_OWN_BOOL_WITH_SINGLE_QUOTES:true MY_OWN_INT: MY_OWN_INT_WITH_DOUBLE_QUOTES:1 MY_OWN_INT_WITH_SINGLE_QUOTES:1 MY_OWN_STRING:ABC MY_OWN_STRING_WITH_DOUBLE_QUOTES:ABC MY_OWN_STRING_WITH_SINGLE_QUOTES:ABC PATH:/opt/hostedtoolcache/node/14.17.6/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root]
[Build site/Build C# code and run tests] ⭐  Run Dump relevant parts of Environment
time="2021-09-18T12:59:53+02:00" level=debug msg="Wrote command '\nenv | grep MY_OWN | sort\n' to 'workflow/0'"
time="2021-09-18T12:59:53+02:00" level=debug msg="Writing entry to tarball workflow/0 len:24"
[Build site/Build C# code and run tests] Extracting content to '/mnt/e/MyGithub/act-simple-repro-for-issues'
[Build site/Build C# code and run tests]   🐳  docker exec cmd=[bash --noprofile --norc -e -o pipefail /mnt/e/MyGithub/act-simple-repro-for-issues/workflow/0] user=
[Build site/Build C# code and run tests] Exec command '[bash --noprofile --norc -e -o pipefail /mnt/e/MyGithub/act-simple-repro-for-issues/workflow/0]'
| MY_OWN_BOOL=
| MY_OWN_BOOL_WITH_DOUBLE_QUOTES=true
| MY_OWN_BOOL_WITH_SINGLE_QUOTES=true
| MY_OWN_INT=
| MY_OWN_INT_WITH_DOUBLE_QUOTES=1
| MY_OWN_INT_WITH_SINGLE_QUOTES=1
| MY_OWN_STRING=ABC
| MY_OWN_STRING_WITH_DOUBLE_QUOTES=ABC
| MY_OWN_STRING_WITH_SINGLE_QUOTES=ABC
time="2021-09-18T12:59:53+02:00" level=debug msg="Loading slug from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'"
time="2021-09-18T12:59:53+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n"
time="2021-09-18T12:59:53+02:00" level=debug msg="Loading revision from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'"
time="2021-09-18T12:59:53+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n"
time="2021-09-18T12:59:53+02:00" level=debug msg="HEAD points to '412b6b0b711dcfbdaa632e9ab316109885b3af6b'"
time="2021-09-18T12:59:53+02:00" level=debug msg="using github ref: refs/heads/Act-does-not-transfer-env-from-workflow-to-docker"
time="2021-09-18T12:59:53+02:00" level=debug msg="context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache DEPLOYMENT_BASEPATH:/opt/runner IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 MY_OWN_BOOL: MY_OWN_BOOL_WITH_DOUBLE_QUOTES:true MY_OWN_BOOL_WITH_SINGLE_QUOTES:true MY_OWN_INT: MY_OWN_INT_WITH_DOUBLE_QUOTES:1 MY_OWN_INT_WITH_SINGLE_QUOTES:1 MY_OWN_STRING:ABC MY_OWN_STRING_WITH_DOUBLE_QUOTES:ABC MY_OWN_STRING_WITH_SINGLE_QUOTES:ABC PATH:/opt/hostedtoolcache/node/14.17.6/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root]"
time="2021-09-18T12:59:53+02:00" level=debug msg="context needs => map[]"
time="2021-09-18T12:59:53+02:00" level=debug msg="context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt 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:Build C# code and run tests GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/Act-does-not-transfer-env-from-workflow-to-docker GITHUB_REPOSITORY:henrikrxn/act-simple-repro-for-issues GITHUB_REPOSITORY_OWNER:henrikrxn GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:412b6b0b711dcfbdaa632e9ab316109885b3af6b GITHUB_TOKEN: GITHUB_WORKFLOW:Build site GITHUB_WORKSPACE:/mnt/e/MyGithub/act-simple-repro-for-issues IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 MY_OWN_BOOL: MY_OWN_BOOL_WITH_DOUBLE_QUOTES:true MY_OWN_BOOL_WITH_SINGLE_QUOTES:true MY_OWN_INT: MY_OWN_INT_WITH_DOUBLE_QUOTES:1 MY_OWN_INT_WITH_SINGLE_QUOTES:1 MY_OWN_STRING:ABC MY_OWN_STRING_WITH_DOUBLE_QUOTES:ABC MY_OWN_STRING_WITH_SINGLE_QUOTES:ABC PATH:/opt/hostedtoolcache/node/14.17.6/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root]"
[Build site/Build C# code and run tests]   ✅  Success - Dump relevant parts of Environment
time="2021-09-18T12:59:53+02:00" level=debug msg="Loading slug from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'"
time="2021-09-18T12:59:53+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n"
time="2021-09-18T12:59:53+02:00" level=debug msg="Loading revision from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'"
time="2021-09-18T12:59:53+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n"
time="2021-09-18T12:59:53+02:00" level=debug msg="HEAD points to '412b6b0b711dcfbdaa632e9ab316109885b3af6b'"
time="2021-09-18T12:59:53+02:00" level=debug msg="using github ref: refs/heads/Act-does-not-transfer-env-from-workflow-to-docker"
time="2021-09-18T12:59:53+02:00" level=debug msg="Loading slug from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'"
time="2021-09-18T12:59:53+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n"
time="2021-09-18T12:59:53+02:00" level=debug msg="Loading revision from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'"
time="2021-09-18T12:59:53+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n"
time="2021-09-18T12:59:53+02:00" level=debug msg="HEAD points to '412b6b0b711dcfbdaa632e9ab316109885b3af6b'"
time="2021-09-18T12:59:53+02:00" level=debug msg="using github ref: refs/heads/Act-does-not-transfer-env-from-workflow-to-docker"
time="2021-09-18T12:59:53+02:00" level=debug msg="context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache DEPLOYMENT_BASEPATH:/opt/runner IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 MY_OWN_BOOL: MY_OWN_BOOL_WITH_DOUBLE_QUOTES:true MY_OWN_BOOL_WITH_SINGLE_QUOTES:true MY_OWN_INT: MY_OWN_INT_WITH_DOUBLE_QUOTES:1 MY_OWN_INT_WITH_SINGLE_QUOTES:1 MY_OWN_STRING:ABC MY_OWN_STRING_WITH_DOUBLE_QUOTES:ABC MY_OWN_STRING_WITH_SINGLE_QUOTES:ABC PATH:/opt/hostedtoolcache/node/14.17.6/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root]"
time="2021-09-18T12:59:53+02:00" level=debug msg="context needs => map[]"
time="2021-09-18T12:59:53+02:00" level=debug msg="context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:1 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt 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:Build C# code and run tests GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/Act-does-not-transfer-env-from-workflow-to-docker GITHUB_REPOSITORY:henrikrxn/act-simple-repro-for-issues GITHUB_REPOSITORY_OWNER:henrikrxn GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:412b6b0b711dcfbdaa632e9ab316109885b3af6b GITHUB_TOKEN: GITHUB_WORKFLOW:Build site GITHUB_WORKSPACE:/mnt/e/MyGithub/act-simple-repro-for-issues IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 MY_OWN_BOOL: MY_OWN_BOOL_WITH_DOUBLE_QUOTES:true MY_OWN_BOOL_WITH_SINGLE_QUOTES:true MY_OWN_INT: MY_OWN_INT_WITH_DOUBLE_QUOTES:1 MY_OWN_INT_WITH_SINGLE_QUOTES:1 MY_OWN_STRING:ABC MY_OWN_STRING_WITH_DOUBLE_QUOTES:ABC MY_OWN_STRING_WITH_SINGLE_QUOTES:ABC PATH:/opt/hostedtoolcache/node/14.17.6/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root]"
[Build site/Build C# code and run tests] setupEnv => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:1 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt 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:Build C# code and run tests GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/Act-does-not-transfer-env-from-workflow-to-docker GITHUB_REPOSITORY:henrikrxn/act-simple-repro-for-issues GITHUB_REPOSITORY_OWNER:henrikrxn GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:412b6b0b711dcfbdaa632e9ab316109885b3af6b GITHUB_TOKEN: GITHUB_WORKFLOW:Build site GITHUB_WORKSPACE:/mnt/e/MyGithub/act-simple-repro-for-issues IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 MY_OWN_BOOL: MY_OWN_BOOL_WITH_DOUBLE_QUOTES:true MY_OWN_BOOL_WITH_SINGLE_QUOTES:true MY_OWN_INT: MY_OWN_INT_WITH_DOUBLE_QUOTES:1 MY_OWN_INT_WITH_SINGLE_QUOTES:1 MY_OWN_STRING:ABC MY_OWN_STRING_WITH_DOUBLE_QUOTES:ABC MY_OWN_STRING_WITH_SINGLE_QUOTES:ABC PATH:/opt/hostedtoolcache/node/14.17.6/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root]
[Build site/Build C# code and run tests] ⭐  Run Get the sources
time="2021-09-18T12:59:53+02:00" level=debug msg="Loading slug from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'"
time="2021-09-18T12:59:53+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n"
time="2021-09-18T12:59:53+02:00" level=debug msg="Loading revision from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'"
time="2021-09-18T12:59:53+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n"
time="2021-09-18T12:59:53+02:00" level=debug msg="HEAD points to '412b6b0b711dcfbdaa632e9ab316109885b3af6b'"
time="2021-09-18T12:59:53+02:00" level=debug msg="using github ref: refs/heads/Act-does-not-transfer-env-from-workflow-to-docker"
[Build site/Build C# code and run tests] Skipping local actions/checkout because workdir was already copied
time="2021-09-18T12:59:53+02:00" level=debug msg="Loading slug from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'"
time="2021-09-18T12:59:53+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n"
time="2021-09-18T12:59:53+02:00" level=debug msg="Loading revision from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'"
time="2021-09-18T12:59:53+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n"
time="2021-09-18T12:59:53+02:00" level=debug msg="HEAD points to '412b6b0b711dcfbdaa632e9ab316109885b3af6b'"
time="2021-09-18T12:59:53+02:00" level=debug msg="using github ref: refs/heads/Act-does-not-transfer-env-from-workflow-to-docker"
time="2021-09-18T12:59:53+02:00" level=debug msg="context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache DEPLOYMENT_BASEPATH:/opt/runner IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 MY_OWN_BOOL: MY_OWN_BOOL_WITH_DOUBLE_QUOTES:true MY_OWN_BOOL_WITH_SINGLE_QUOTES:true MY_OWN_INT: MY_OWN_INT_WITH_DOUBLE_QUOTES:1 MY_OWN_INT_WITH_SINGLE_QUOTES:1 MY_OWN_STRING:ABC MY_OWN_STRING_WITH_DOUBLE_QUOTES:ABC MY_OWN_STRING_WITH_SINGLE_QUOTES:ABC PATH:/opt/hostedtoolcache/node/14.17.6/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root]"
time="2021-09-18T12:59:53+02:00" level=debug msg="context needs => map[]"
time="2021-09-18T12:59:53+02:00" level=debug msg="context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:1 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt 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:Build C# code and run tests GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/Act-does-not-transfer-env-from-workflow-to-docker GITHUB_REPOSITORY:henrikrxn/act-simple-repro-for-issues GITHUB_REPOSITORY_OWNER:henrikrxn GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:412b6b0b711dcfbdaa632e9ab316109885b3af6b GITHUB_TOKEN: GITHUB_WORKFLOW:Build site GITHUB_WORKSPACE:/mnt/e/MyGithub/act-simple-repro-for-issues IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 MY_OWN_BOOL: MY_OWN_BOOL_WITH_DOUBLE_QUOTES:true MY_OWN_BOOL_WITH_SINGLE_QUOTES:true MY_OWN_INT: MY_OWN_INT_WITH_DOUBLE_QUOTES:1 MY_OWN_INT_WITH_SINGLE_QUOTES:1 MY_OWN_STRING:ABC MY_OWN_STRING_WITH_DOUBLE_QUOTES:ABC MY_OWN_STRING_WITH_SINGLE_QUOTES:ABC PATH:/opt/hostedtoolcache/node/14.17.6/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root]"
[Build site/Build C# code and run tests]   ✅  Success - Get the sources
time="2021-09-18T12:59:53+02:00" level=debug msg="Loading slug from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'"
time="2021-09-18T12:59:53+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n"
time="2021-09-18T12:59:53+02:00" level=debug msg="Loading revision from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'"
time="2021-09-18T12:59:53+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n"
time="2021-09-18T12:59:53+02:00" level=debug msg="HEAD points to '412b6b0b711dcfbdaa632e9ab316109885b3af6b'"
time="2021-09-18T12:59:53+02:00" level=debug msg="using github ref: refs/heads/Act-does-not-transfer-env-from-workflow-to-docker"
time="2021-09-18T12:59:54+02:00" level=debug msg="Loading slug from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'"
time="2021-09-18T12:59:54+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n"
time="2021-09-18T12:59:54+02:00" level=debug msg="Loading revision from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'"
time="2021-09-18T12:59:54+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n"
time="2021-09-18T12:59:54+02:00" level=debug msg="HEAD points to '412b6b0b711dcfbdaa632e9ab316109885b3af6b'"
time="2021-09-18T12:59:54+02:00" level=debug msg="using github ref: refs/heads/Act-does-not-transfer-env-from-workflow-to-docker"
time="2021-09-18T12:59:54+02:00" level=debug msg="context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache DEPLOYMENT_BASEPATH:/opt/runner IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 MY_OWN_BOOL: MY_OWN_BOOL_WITH_DOUBLE_QUOTES:true MY_OWN_BOOL_WITH_SINGLE_QUOTES:true MY_OWN_INT: MY_OWN_INT_WITH_DOUBLE_QUOTES:1 MY_OWN_INT_WITH_SINGLE_QUOTES:1 MY_OWN_STRING:ABC MY_OWN_STRING_WITH_DOUBLE_QUOTES:ABC MY_OWN_STRING_WITH_SINGLE_QUOTES:ABC PATH:/opt/hostedtoolcache/node/14.17.6/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root]"
time="2021-09-18T12:59:54+02:00" level=debug msg="context needs => map[]"
time="2021-09-18T12:59:54+02:00" level=debug msg="context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:2 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt 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:Build C# code and run tests GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/Act-does-not-transfer-env-from-workflow-to-docker GITHUB_REPOSITORY:henrikrxn/act-simple-repro-for-issues GITHUB_REPOSITORY_OWNER:henrikrxn GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:412b6b0b711dcfbdaa632e9ab316109885b3af6b GITHUB_TOKEN: GITHUB_WORKFLOW:Build site GITHUB_WORKSPACE:/mnt/e/MyGithub/act-simple-repro-for-issues IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 MY_OWN_BOOL: MY_OWN_BOOL_WITH_DOUBLE_QUOTES:true MY_OWN_BOOL_WITH_SINGLE_QUOTES:true MY_OWN_INT: MY_OWN_INT_WITH_DOUBLE_QUOTES:1 MY_OWN_INT_WITH_SINGLE_QUOTES:1 MY_OWN_STRING:ABC MY_OWN_STRING_WITH_DOUBLE_QUOTES:ABC MY_OWN_STRING_WITH_SINGLE_QUOTES:ABC PATH:/opt/hostedtoolcache/node/14.17.6/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root]"
[Build site/Build C# code and run tests] setupEnv => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:2 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt 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:Build C# code and run tests GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/Act-does-not-transfer-env-from-workflow-to-docker GITHUB_REPOSITORY:henrikrxn/act-simple-repro-for-issues GITHUB_REPOSITORY_OWNER:henrikrxn GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:412b6b0b711dcfbdaa632e9ab316109885b3af6b GITHUB_TOKEN: GITHUB_WORKFLOW:Build site GITHUB_WORKSPACE:/mnt/e/MyGithub/act-simple-repro-for-issues IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 MY_OWN_BOOL: MY_OWN_BOOL_WITH_DOUBLE_QUOTES:true MY_OWN_BOOL_WITH_SINGLE_QUOTES:true MY_OWN_INT: MY_OWN_INT_WITH_DOUBLE_QUOTES:1 MY_OWN_INT_WITH_SINGLE_QUOTES:1 MY_OWN_STRING:ABC MY_OWN_STRING_WITH_DOUBLE_QUOTES:ABC MY_OWN_STRING_WITH_SINGLE_QUOTES:ABC PATH:/opt/hostedtoolcache/node/14.17.6/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root]
[Build site/Build C# code and run tests] ⭐  Run Install .NET Core SDK
time="2021-09-18T12:59:54+02:00" level=debug msg="Loading slug from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'"
time="2021-09-18T12:59:54+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n"
time="2021-09-18T12:59:54+02:00" level=debug msg="Loading revision from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'"
time="2021-09-18T12:59:54+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n"
time="2021-09-18T12:59:54+02:00" level=debug msg="HEAD points to '412b6b0b711dcfbdaa632e9ab316109885b3af6b'"
time="2021-09-18T12:59:54+02:00" level=debug msg="using github ref: refs/heads/Act-does-not-transfer-env-from-workflow-to-docker"
time="2021-09-18T12:59:54+02:00" level=info msg="  ☁  git clone 'https://github.com/actions/setup-dotnet' # ref=v1"
time="2021-09-18T12:59:54+02:00" level=debug msg="  cloning https://github.com/actions/setup-dotnet to C:\\Users\\Henrik\\.cache\\act/actions-setup-dotnet@v1"
time="2021-09-18T12:59:54+02:00" level=debug msg="Cloned https://github.com/actions/setup-dotnet to C:\\Users\\Henrik\\.cache\\act/actions-setup-dotnet@v1"
time="2021-09-18T12:59:54+02:00" level=debug msg="Checked out v1"
time="2021-09-18T12:59:54+02:00" level=debug msg="Read action &{Setup .NET Core SDK GitHub Used to build and publish .NET source. Set up a specific version of the .NET and authentication to private NuGet repository map[config-file:{Optional NuGet.config location, if your NuGet.config isn't located in the root of the repo. false } dotnet-version:{Optional SDK version to use. If not provided, will install global.json version when available. Examples: 2.2.104, 3.1, 3.1.x false } include-prerelease:{Whether prerelease versions should be matched with non-exact versions (for example 5.0.0-preview.6 being matched by 5, 5.0, 5.x or 5.0.x). Defaults to false if not provided. false } owner:{Optional OWNER for using packages from GitHub Package Registry organizations/users other than the current repository's owner. Only used if a GPR URL is also provided in source-url false } source-url:{Optional package source for which to set up authentication. Will consult any existing NuGet.config in the root of the repo and provide a temporary NuGet.config using the NUGET_AUTH_TOKEN environment variable as a ClearTextPassword false }] map[] {node12 map[] dist/index.js  [] [] []} {green play}} from 'Unknown'"
time="2021-09-18T12:59:54+02:00" level=debug msg="About to run action &{Setup .NET Core SDK GitHub Used to build and publish .NET source. Set up a specific version of the .NET and authentication to private NuGet repository map[config-file:{Optional NuGet.config location, if your NuGet.config isn't located in the root of the repo. false } dotnet-version:{Optional SDK version to use. If not provided, will install global.json version when available. Examples: 2.2.104, 3.1, 3.1.x false } include-prerelease:{Whether prerelease versions should be matched with non-exact versions (for example 5.0.0-preview.6 being matched by 5, 5.0, 5.x or 5.0.x). Defaults to false if not provided. false } owner:{Optional OWNER for using packages from GitHub Package Registry organizations/users other than the current repository's owner. Only used if a GPR URL is also provided in source-url false } source-url:{Optional package source for which to set up authentication. Will consult any existing NuGet.config in the root of the repo and provide a temporary NuGet.config using the NUGET_AUTH_TOKEN environment variable as a ClearTextPassword false }] map[] {node12 map[] dist/index.js  [] [] []} {green play}}"
time="2021-09-18T12:59:54+02:00" level=debug msg="type=3 actionDir=C:\\Users\\Henrik\\.cache\\act/actions-setup-dotnet@v1 actionPath= Workdir=E:\\MyGithub\\act-simple-repro-for-issues ActionCacheDir=C:\\Users\\Henrik\\.cache\\act actionName=actions-setup-dotnet@v1 containerActionDir=/var/run/act/actions/actions-setup-dotnet@v1"
time="2021-09-18T12:59:54+02:00" level=debug msg="Removing C:\\Users\\Henrik\\.cache\\act/actions-setup-dotnet@v1/.gitignore before docker cp"
[Build site/Build C# code and run tests]   🐳  docker cp src=C:\Users\Henrik\.cache\act/actions-setup-dotnet@v1/ dst=/var/run/act/actions/actions-setup-dotnet@v1/
[Build site/Build C# code and run tests]   🐳  docker exec cmd=[mkdir -p /var/run/act/actions/actions-setup-dotnet@v1/] user=
[Build site/Build C# code and run tests] Exec command '[mkdir -p /var/run/act/actions/actions-setup-dotnet@v1/]'
time="2021-09-18T12:59:54+02:00" level=debug msg="Writing tarball C:\\Users\\Henrik\\AppData\\Local\\Temp\\act120362170 from C:\\Users\\Henrik\\.cache\\act/actions-setup-dotnet@v1/"
time="2021-09-18T12:59:54+02:00" level=debug msg="Stripping prefix:C:\\Users\\Henrik\\.cache\\act\\actions-setup-dotnet@v1\\ src:C:\\Users\\Henrik\\.cache\\act/actions-setup-dotnet@v1/"
[Build site/Build C# code and run tests] Extracting content from 'C:\Users\Henrik\AppData\Local\Temp\act120362170' to '/var/run/act/actions/actions-setup-dotnet@v1/'
time="2021-09-18T12:59:55+02:00" level=debug msg="executing remote job container: [node /var/run/act/actions/actions-setup-dotnet@v1/dist/index.js]"
[Build site/Build C# code and run tests]   🐳  docker exec cmd=[node /var/run/act/actions/actions-setup-dotnet@v1/dist/index.js] user=
[Build site/Build C# code and run tests] Exec command '[node /var/run/act/actions/actions-setup-dotnet@v1/dist/index.js]'
[Build site/Build C# code and run tests]   💬  ::debug::No version found, trying to find version from global.json
| [command]/run/act/actions/actions-setup-dotnet@v1/externals/install-dotnet.sh --version 3.1.413
| dotnet-install: Note that the intended use of this script is for Continuous Integration (CI) scenarios, where:
| dotnet-install: - The SDK needs to be installed without user interaction and without admin rights.
| dotnet-install: - The SDK installation doesn't need to persist across multiple CI runs.
| dotnet-install: To set up a development environment or to run apps, use installers rather than this script. Visit https://dotnet.microsoft.com/download to get the installer.
|
| dotnet-install: Downloading primary link https://dotnetcli.azureedge.net/dotnet/Sdk/3.1.413/dotnet-sdk-3.1.413-linux-x64.tar.gz
| dotnet-install: Extracting zip from https://dotnetcli.azureedge.net/dotnet/Sdk/3.1.413/dotnet-sdk-3.1.413-linux-x64.tar.gz
| dotnet-install: Adding to current process PATH: `/root/.dotnet`. Note: This change will be visible only when sourcing script.
| dotnet-install: Note that the script does not resolve dependencies during installation.
| dotnet-install: To check the list of dependencies, go to https://docs.microsoft.com/dotnet/core/install, select your operating system and check the "Dependencies" section.
| dotnet-install: Installation finished successfully.
| /root/.dotnet:/opt/hostedtoolcache/node/14.17.6/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
[Build site/Build C# code and run tests]   ❓  ##[add-matcher]/run/act/actions/actions-setup-dotnet@v1/.github/csc.json
time="2021-09-18T13:00:07+02:00" level=debug msg="Loading slug from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'"
time="2021-09-18T13:00:07+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n"
time="2021-09-18T13:00:07+02:00" level=debug msg="Loading revision from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'"
time="2021-09-18T13:00:07+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n"
time="2021-09-18T13:00:07+02:00" level=debug msg="HEAD points to '412b6b0b711dcfbdaa632e9ab316109885b3af6b'"
time="2021-09-18T13:00:07+02:00" level=debug msg="using github ref: refs/heads/Act-does-not-transfer-env-from-workflow-to-docker"
time="2021-09-18T13:00:07+02:00" level=debug msg="context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache DEPLOYMENT_BASEPATH:/opt/runner IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 MY_OWN_BOOL: MY_OWN_BOOL_WITH_DOUBLE_QUOTES:true MY_OWN_BOOL_WITH_SINGLE_QUOTES:true MY_OWN_INT: MY_OWN_INT_WITH_DOUBLE_QUOTES:1 MY_OWN_INT_WITH_SINGLE_QUOTES:1 MY_OWN_STRING:ABC MY_OWN_STRING_WITH_DOUBLE_QUOTES:ABC MY_OWN_STRING_WITH_SINGLE_QUOTES:ABC PATH:/opt/hostedtoolcache/node/14.17.6/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root]"
time="2021-09-18T13:00:07+02:00" level=debug msg="context needs => map[]"
time="2021-09-18T13:00:07+02:00" level=debug msg="Loading slug from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'"
time="2021-09-18T13:00:07+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n"
time="2021-09-18T13:00:07+02:00" level=debug msg="Loading revision from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'"
time="2021-09-18T13:00:07+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n"
time="2021-09-18T13:00:07+02:00" level=debug msg="HEAD points to '412b6b0b711dcfbdaa632e9ab316109885b3af6b'"
time="2021-09-18T13:00:07+02:00" level=debug msg="using github ref: refs/heads/Act-does-not-transfer-env-from-workflow-to-docker"
time="2021-09-18T13:00:07+02:00" level=debug msg="context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache DEPLOYMENT_BASEPATH:/opt/runner IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 MY_OWN_BOOL: MY_OWN_BOOL_WITH_DOUBLE_QUOTES:true MY_OWN_BOOL_WITH_SINGLE_QUOTES:true MY_OWN_INT: MY_OWN_INT_WITH_DOUBLE_QUOTES:1 MY_OWN_INT_WITH_SINGLE_QUOTES:1 MY_OWN_STRING:ABC MY_OWN_STRING_WITH_DOUBLE_QUOTES:ABC MY_OWN_STRING_WITH_SINGLE_QUOTES:ABC PATH:/opt/hostedtoolcache/node/14.17.6/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root]"
time="2021-09-18T13:00:07+02:00" level=debug msg="context needs => map[]"
time="2021-09-18T13:00:07+02:00" level=debug msg="Loading slug from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'"
time="2021-09-18T13:00:07+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n"
time="2021-09-18T13:00:07+02:00" level=debug msg="Loading revision from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'"
time="2021-09-18T13:00:07+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n"
time="2021-09-18T13:00:07+02:00" level=debug msg="HEAD points to '412b6b0b711dcfbdaa632e9ab316109885b3af6b'"
time="2021-09-18T13:00:07+02:00" level=debug msg="using github ref: refs/heads/Act-does-not-transfer-env-from-workflow-to-docker"
time="2021-09-18T13:00:07+02:00" level=debug msg="context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache DEPLOYMENT_BASEPATH:/opt/runner IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 MY_OWN_BOOL: MY_OWN_BOOL_WITH_DOUBLE_QUOTES:true MY_OWN_BOOL_WITH_SINGLE_QUOTES:true MY_OWN_INT: MY_OWN_INT_WITH_DOUBLE_QUOTES:1 MY_OWN_INT_WITH_SINGLE_QUOTES:1 MY_OWN_STRING:ABC MY_OWN_STRING_WITH_DOUBLE_QUOTES:ABC MY_OWN_STRING_WITH_SINGLE_QUOTES:ABC PATH:/opt/hostedtoolcache/node/14.17.6/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root]"
time="2021-09-18T13:00:07+02:00" level=debug msg="context needs => map[]"
time="2021-09-18T13:00:07+02:00" level=debug msg="Loading slug from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'"
time="2021-09-18T13:00:07+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n"
time="2021-09-18T13:00:07+02:00" level=debug msg="Loading revision from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'"
time="2021-09-18T13:00:07+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n"
time="2021-09-18T13:00:07+02:00" level=debug msg="HEAD points to '412b6b0b711dcfbdaa632e9ab316109885b3af6b'"
time="2021-09-18T13:00:07+02:00" level=debug msg="using github ref: refs/heads/Act-does-not-transfer-env-from-workflow-to-docker"
time="2021-09-18T13:00:07+02:00" level=debug msg="context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache DEPLOYMENT_BASEPATH:/opt/runner IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 MY_OWN_BOOL: MY_OWN_BOOL_WITH_DOUBLE_QUOTES:true MY_OWN_BOOL_WITH_SINGLE_QUOTES:true MY_OWN_INT: MY_OWN_INT_WITH_DOUBLE_QUOTES:1 MY_OWN_INT_WITH_SINGLE_QUOTES:1 MY_OWN_STRING:ABC MY_OWN_STRING_WITH_DOUBLE_QUOTES:ABC MY_OWN_STRING_WITH_SINGLE_QUOTES:ABC PATH:/opt/hostedtoolcache/node/14.17.6/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root]"
time="2021-09-18T13:00:07+02:00" level=debug msg="context needs => map[]"
time="2021-09-18T13:00:07+02:00" level=debug msg="Loading slug from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'"
time="2021-09-18T13:00:07+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n"
time="2021-09-18T13:00:07+02:00" level=debug msg="Loading revision from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'"
time="2021-09-18T13:00:07+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n"
time="2021-09-18T13:00:07+02:00" level=debug msg="HEAD points to '412b6b0b711dcfbdaa632e9ab316109885b3af6b'"
time="2021-09-18T13:00:07+02:00" level=debug msg="using github ref: refs/heads/Act-does-not-transfer-env-from-workflow-to-docker"
time="2021-09-18T13:00:07+02:00" level=debug msg="context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache DEPLOYMENT_BASEPATH:/opt/runner IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 MY_OWN_BOOL: MY_OWN_BOOL_WITH_DOUBLE_QUOTES:true MY_OWN_BOOL_WITH_SINGLE_QUOTES:true MY_OWN_INT: MY_OWN_INT_WITH_DOUBLE_QUOTES:1 MY_OWN_INT_WITH_SINGLE_QUOTES:1 MY_OWN_STRING:ABC MY_OWN_STRING_WITH_DOUBLE_QUOTES:ABC MY_OWN_STRING_WITH_SINGLE_QUOTES:ABC PATH:/opt/hostedtoolcache/node/14.17.6/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root]"
time="2021-09-18T13:00:07+02:00" level=debug msg="context needs => map[]"
time="2021-09-18T13:00:07+02:00" level=debug msg="Loading slug from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'"
time="2021-09-18T13:00:07+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n"
time="2021-09-18T13:00:07+02:00" level=debug msg="Loading revision from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'"
time="2021-09-18T13:00:07+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n"
time="2021-09-18T13:00:07+02:00" level=debug msg="HEAD points to '412b6b0b711dcfbdaa632e9ab316109885b3af6b'"
time="2021-09-18T13:00:07+02:00" level=debug msg="using github ref: refs/heads/Act-does-not-transfer-env-from-workflow-to-docker"
time="2021-09-18T13:00:07+02:00" level=debug msg="context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache DEPLOYMENT_BASEPATH:/opt/runner IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 MY_OWN_BOOL: MY_OWN_BOOL_WITH_DOUBLE_QUOTES:true MY_OWN_BOOL_WITH_SINGLE_QUOTES:true MY_OWN_INT: MY_OWN_INT_WITH_DOUBLE_QUOTES:1 MY_OWN_INT_WITH_SINGLE_QUOTES:1 MY_OWN_STRING:ABC MY_OWN_STRING_WITH_DOUBLE_QUOTES:ABC MY_OWN_STRING_WITH_SINGLE_QUOTES:ABC PATH:/opt/hostedtoolcache/node/14.17.6/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root]"
time="2021-09-18T13:00:07+02:00" level=debug msg="context needs => map[]"
time="2021-09-18T13:00:07+02:00" level=debug msg="context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:2 GITHUB_ACTIONS:true GITHUB_ACTION_PATH:/var/run/act/actions/actions-setup-dotnet@v1 GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt 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:Build C# code and run tests GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/Act-does-not-transfer-env-from-workflow-to-docker GITHUB_REPOSITORY:henrikrxn/act-simple-repro-for-issues GITHUB_REPOSITORY_OWNER:henrikrxn GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:412b6b0b711dcfbdaa632e9ab316109885b3af6b GITHUB_TOKEN: GITHUB_WORKFLOW:Build site GITHUB_WORKSPACE:/mnt/e/MyGithub/act-simple-repro-for-issues IMAGE_OS:ubuntu20 INPUT_CONFIG-FILE: INPUT_DOTNET-VERSION: INPUT_INCLUDE-PRERELEASE: INPUT_OWNER: INPUT_SOURCE-URL: ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 MY_OWN_BOOL: MY_OWN_BOOL_WITH_DOUBLE_QUOTES:true MY_OWN_BOOL_WITH_SINGLE_QUOTES:true MY_OWN_INT: MY_OWN_INT_WITH_DOUBLE_QUOTES:1 MY_OWN_INT_WITH_SINGLE_QUOTES:1 MY_OWN_STRING:ABC MY_OWN_STRING_WITH_DOUBLE_QUOTES:ABC MY_OWN_STRING_WITH_SINGLE_QUOTES:ABC PATH:/opt/hostedtoolcache/node/14.17.6/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root]"
[Build site/Build C# code and run tests]   ✅  Success - Install .NET Core SDK
time="2021-09-18T13:00:07+02:00" level=debug msg="Loading slug from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'"
time="2021-09-18T13:00:07+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n"
time="2021-09-18T13:00:07+02:00" level=debug msg="Loading revision from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'"
time="2021-09-18T13:00:07+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n"
time="2021-09-18T13:00:07+02:00" level=debug msg="HEAD points to '412b6b0b711dcfbdaa632e9ab316109885b3af6b'"
time="2021-09-18T13:00:07+02:00" level=debug msg="using github ref: refs/heads/Act-does-not-transfer-env-from-workflow-to-docker"
time="2021-09-18T13:00:07+02:00" level=debug msg="Loading slug from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'"
time="2021-09-18T13:00:07+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n"
time="2021-09-18T13:00:07+02:00" level=debug msg="Loading revision from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'"
time="2021-09-18T13:00:07+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n"
time="2021-09-18T13:00:07+02:00" level=debug msg="HEAD points to '412b6b0b711dcfbdaa632e9ab316109885b3af6b'"
time="2021-09-18T13:00:07+02:00" level=debug msg="using github ref: refs/heads/Act-does-not-transfer-env-from-workflow-to-docker"
time="2021-09-18T13:00:07+02:00" level=debug msg="context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache DEPLOYMENT_BASEPATH:/opt/runner IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 MY_OWN_BOOL: MY_OWN_BOOL_WITH_DOUBLE_QUOTES:true MY_OWN_BOOL_WITH_SINGLE_QUOTES:true MY_OWN_INT: MY_OWN_INT_WITH_DOUBLE_QUOTES:1 MY_OWN_INT_WITH_SINGLE_QUOTES:1 MY_OWN_STRING:ABC MY_OWN_STRING_WITH_DOUBLE_QUOTES:ABC MY_OWN_STRING_WITH_SINGLE_QUOTES:ABC PATH:/opt/hostedtoolcache/node/14.17.6/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root]"
time="2021-09-18T13:00:07+02:00" level=debug msg="context needs => map[]"
time="2021-09-18T13:00:07+02:00" level=debug msg="context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEPLOYMENT_BASEPATH:/opt/runner DOTNET_ROOT:/root/.dotnet GITHUB_ACTION:3 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt 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:Build C# code and run tests GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/Act-does-not-transfer-env-from-workflow-to-docker GITHUB_REPOSITORY:henrikrxn/act-simple-repro-for-issues GITHUB_REPOSITORY_OWNER:henrikrxn GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:412b6b0b711dcfbdaa632e9ab316109885b3af6b GITHUB_TOKEN: GITHUB_WORKFLOW:Build site GITHUB_WORKSPACE:/mnt/e/MyGithub/act-simple-repro-for-issues IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 MY_OWN_BOOL: MY_OWN_BOOL_WITH_DOUBLE_QUOTES:true MY_OWN_BOOL_WITH_SINGLE_QUOTES:true MY_OWN_INT: MY_OWN_INT_WITH_DOUBLE_QUOTES:1 MY_OWN_INT_WITH_SINGLE_QUOTES:1 MY_OWN_STRING:ABC MY_OWN_STRING_WITH_DOUBLE_QUOTES:ABC MY_OWN_STRING_WITH_SINGLE_QUOTES:ABC PATH:/root/.dotnet:/opt/hostedtoolcache/node/14.17.6/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root]"
[Build site/Build C# code and run tests] setupEnv => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEPLOYMENT_BASEPATH:/opt/runner DOTNET_ROOT:/root/.dotnet GITHUB_ACTION:3 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt 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:Build C# code and run tests GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/Act-does-not-transfer-env-from-workflow-to-docker GITHUB_REPOSITORY:henrikrxn/act-simple-repro-for-issues GITHUB_REPOSITORY_OWNER:henrikrxn GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:412b6b0b711dcfbdaa632e9ab316109885b3af6b GITHUB_TOKEN: GITHUB_WORKFLOW:Build site GITHUB_WORKSPACE:/mnt/e/MyGithub/act-simple-repro-for-issues IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 MY_OWN_BOOL: MY_OWN_BOOL_WITH_DOUBLE_QUOTES:true MY_OWN_BOOL_WITH_SINGLE_QUOTES:true MY_OWN_INT: MY_OWN_INT_WITH_DOUBLE_QUOTES:1 MY_OWN_INT_WITH_SINGLE_QUOTES:1 MY_OWN_STRING:ABC MY_OWN_STRING_WITH_DOUBLE_QUOTES:ABC MY_OWN_STRING_WITH_SINGLE_QUOTES:ABC PATH:/root/.dotnet:/opt/hostedtoolcache/node/14.17.6/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root]
[Build site/Build C# code and run tests] ⭐  Run Restore NuGet packages
time="2021-09-18T13:00:07+02:00" level=debug msg="Wrote command '\ndotnet restore\n' to 'workflow/3'"
time="2021-09-18T13:00:07+02:00" level=debug msg="Writing entry to tarball workflow/3 len:14"
[Build site/Build C# code and run tests] Extracting content to '/mnt/e/MyGithub/act-simple-repro-for-issues'
[Build site/Build C# code and run tests]   🐳  docker exec cmd=[bash --noprofile --norc -e -o pipefail /mnt/e/MyGithub/act-simple-repro-for-issues/workflow/3] user=
[Build site/Build C# code and run tests] Exec command '[bash --noprofile --norc -e -o pipefail /mnt/e/MyGithub/act-simple-repro-for-issues/workflow/3]'
|
| Welcome to .NET Core 3.1!
| ---------------------
| SDK Version: 3.1.413
|
| Telemetry
| ---------
| The .NET Core tools collect usage data in order to help us improve your experience. It is collected by Microsoft and shared with the community. You can opt-out of telemetry by setting the DOTNET_CLI_TELEMETRY_OPTOUT environment variable to '1' or 'true' using your favorite shell.
|
| Read more about .NET Core CLI Tools telemetry: https://aka.ms/dotnet-cli-telemetry
|
| ----------------
| Explore documentation: https://aka.ms/dotnet-docs
| Report issues and find source on GitHub: https://github.com/dotnet/core
| Find out what's new: https://aka.ms/dotnet-whats-new
| Learn about the installed HTTPS developer cert: https://aka.ms/aspnet-core-https
| Use 'dotnet --help' to see available commands or visit: https://aka.ms/dotnet-cli-docs
| Write your first app: https://aka.ms/first-net-core-app
| --------------------------------------------------------------------------------------
|   Determining projects to restore...
|   Restored /mnt/e/MyGithub/act-simple-repro-for-issues/ToHaveWorkflowForAct.csproj (in 138 ms).
time="2021-09-18T13:00:09+02:00" level=debug msg="Loading slug from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'"
time="2021-09-18T13:00:09+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n"
time="2021-09-18T13:00:09+02:00" level=debug msg="Loading revision from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'"
time="2021-09-18T13:00:09+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n"
time="2021-09-18T13:00:09+02:00" level=debug msg="HEAD points to '412b6b0b711dcfbdaa632e9ab316109885b3af6b'"
time="2021-09-18T13:00:09+02:00" level=debug msg="using github ref: refs/heads/Act-does-not-transfer-env-from-workflow-to-docker"
time="2021-09-18T13:00:09+02:00" level=debug msg="context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache DEPLOYMENT_BASEPATH:/opt/runner IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 MY_OWN_BOOL: MY_OWN_BOOL_WITH_DOUBLE_QUOTES:true MY_OWN_BOOL_WITH_SINGLE_QUOTES:true MY_OWN_INT: MY_OWN_INT_WITH_DOUBLE_QUOTES:1 MY_OWN_INT_WITH_SINGLE_QUOTES:1 MY_OWN_STRING:ABC MY_OWN_STRING_WITH_DOUBLE_QUOTES:ABC MY_OWN_STRING_WITH_SINGLE_QUOTES:ABC PATH:/opt/hostedtoolcache/node/14.17.6/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root]"
time="2021-09-18T13:00:09+02:00" level=debug msg="context needs => map[]"
time="2021-09-18T13:00:09+02:00" level=debug msg="context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEPLOYMENT_BASEPATH:/opt/runner DOTNET_ROOT:/root/.dotnet GITHUB_ACTION:3 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt 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:Build C# code and run tests GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/Act-does-not-transfer-env-from-workflow-to-docker GITHUB_REPOSITORY:henrikrxn/act-simple-repro-for-issues GITHUB_REPOSITORY_OWNER:henrikrxn GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:412b6b0b711dcfbdaa632e9ab316109885b3af6b GITHUB_TOKEN: GITHUB_WORKFLOW:Build site GITHUB_WORKSPACE:/mnt/e/MyGithub/act-simple-repro-for-issues IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 MY_OWN_BOOL: MY_OWN_BOOL_WITH_DOUBLE_QUOTES:true MY_OWN_BOOL_WITH_SINGLE_QUOTES:true MY_OWN_INT: MY_OWN_INT_WITH_DOUBLE_QUOTES:1 MY_OWN_INT_WITH_SINGLE_QUOTES:1 MY_OWN_STRING:ABC MY_OWN_STRING_WITH_DOUBLE_QUOTES:ABC MY_OWN_STRING_WITH_SINGLE_QUOTES:ABC PATH:/root/.dotnet:/opt/hostedtoolcache/node/14.17.6/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root]"
[Build site/Build C# code and run tests]   ✅  Success - Restore NuGet packages
time="2021-09-18T13:00:09+02:00" level=debug msg="Loading slug from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'"
time="2021-09-18T13:00:09+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n"
time="2021-09-18T13:00:09+02:00" level=debug msg="Loading revision from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'"
time="2021-09-18T13:00:09+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n"
time="2021-09-18T13:00:09+02:00" level=debug msg="HEAD points to '412b6b0b711dcfbdaa632e9ab316109885b3af6b'"
time="2021-09-18T13:00:09+02:00" level=debug msg="using github ref: refs/heads/Act-does-not-transfer-env-from-workflow-to-docker"
time="2021-09-18T13:00:09+02:00" level=debug msg="Loading slug from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'"
time="2021-09-18T13:00:09+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n"
time="2021-09-18T13:00:09+02:00" level=debug msg="Loading revision from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'"
time="2021-09-18T13:00:09+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n"
time="2021-09-18T13:00:09+02:00" level=debug msg="HEAD points to '412b6b0b711dcfbdaa632e9ab316109885b3af6b'"
time="2021-09-18T13:00:09+02:00" level=debug msg="using github ref: refs/heads/Act-does-not-transfer-env-from-workflow-to-docker"
time="2021-09-18T13:00:09+02:00" level=debug msg="context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache DEPLOYMENT_BASEPATH:/opt/runner IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 MY_OWN_BOOL: MY_OWN_BOOL_WITH_DOUBLE_QUOTES:true MY_OWN_BOOL_WITH_SINGLE_QUOTES:true MY_OWN_INT: MY_OWN_INT_WITH_DOUBLE_QUOTES:1 MY_OWN_INT_WITH_SINGLE_QUOTES:1 MY_OWN_STRING:ABC MY_OWN_STRING_WITH_DOUBLE_QUOTES:ABC MY_OWN_STRING_WITH_SINGLE_QUOTES:ABC PATH:/opt/hostedtoolcache/node/14.17.6/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root]"
time="2021-09-18T13:00:09+02:00" level=debug msg="context needs => map[]"
time="2021-09-18T13:00:09+02:00" level=debug msg="context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEPLOYMENT_BASEPATH:/opt/runner DOTNET_ROOT:/root/.dotnet GITHUB_ACTION:4 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt 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:Build C# code and run tests GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/Act-does-not-transfer-env-from-workflow-to-docker GITHUB_REPOSITORY:henrikrxn/act-simple-repro-for-issues GITHUB_REPOSITORY_OWNER:henrikrxn GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:412b6b0b711dcfbdaa632e9ab316109885b3af6b GITHUB_TOKEN: GITHUB_WORKFLOW:Build site GITHUB_WORKSPACE:/mnt/e/MyGithub/act-simple-repro-for-issues IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 MY_OWN_BOOL: MY_OWN_BOOL_WITH_DOUBLE_QUOTES:true MY_OWN_BOOL_WITH_SINGLE_QUOTES:true MY_OWN_INT: MY_OWN_INT_WITH_DOUBLE_QUOTES:1 MY_OWN_INT_WITH_SINGLE_QUOTES:1 MY_OWN_STRING:ABC MY_OWN_STRING_WITH_DOUBLE_QUOTES:ABC MY_OWN_STRING_WITH_SINGLE_QUOTES:ABC PATH:/root/.dotnet:/opt/hostedtoolcache/node/14.17.6/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root]"
[Build site/Build C# code and run tests] setupEnv => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEPLOYMENT_BASEPATH:/opt/runner DOTNET_ROOT:/root/.dotnet GITHUB_ACTION:4 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt 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:Build C# code and run tests GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/Act-does-not-transfer-env-from-workflow-to-docker GITHUB_REPOSITORY:henrikrxn/act-simple-repro-for-issues GITHUB_REPOSITORY_OWNER:henrikrxn GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:412b6b0b711dcfbdaa632e9ab316109885b3af6b GITHUB_TOKEN: GITHUB_WORKFLOW:Build site GITHUB_WORKSPACE:/mnt/e/MyGithub/act-simple-repro-for-issues IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 MY_OWN_BOOL: MY_OWN_BOOL_WITH_DOUBLE_QUOTES:true MY_OWN_BOOL_WITH_SINGLE_QUOTES:true MY_OWN_INT: MY_OWN_INT_WITH_DOUBLE_QUOTES:1 MY_OWN_INT_WITH_SINGLE_QUOTES:1 MY_OWN_STRING:ABC MY_OWN_STRING_WITH_DOUBLE_QUOTES:ABC MY_OWN_STRING_WITH_SINGLE_QUOTES:ABC PATH:/root/.dotnet:/opt/hostedtoolcache/node/14.17.6/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root]
[Build site/Build C# code and run tests] ⭐  Run Build solution
time="2021-09-18T13:00:09+02:00" level=debug msg="Wrote command '\ndotnet build --configuration Release --no-restore\n' to 'workflow/4'"
time="2021-09-18T13:00:09+02:00" level=debug msg="Writing entry to tarball workflow/4 len:49"
[Build site/Build C# code and run tests] Extracting content to '/mnt/e/MyGithub/act-simple-repro-for-issues'
[Build site/Build C# code and run tests]   🐳  docker exec cmd=[bash --noprofile --norc -e -o pipefail /mnt/e/MyGithub/act-simple-repro-for-issues/workflow/4] user=
[Build site/Build C# code and run tests] Exec command '[bash --noprofile --norc -e -o pipefail /mnt/e/MyGithub/act-simple-repro-for-issues/workflow/4]'
| Microsoft (R) Build Engine version 16.7.2+b60ddb6f4 for .NET
| Copyright (C) Microsoft Corporation. All rights reserved.
|
|   ToHaveWorkflowForAct -> /mnt/e/MyGithub/act-simple-repro-for-issues/bin/Release/netcoreapp3.1/ToHaveWorkflowForAct.dll
|
| Build succeeded.
|     0 Warning(s)
|     0 Error(s)
|
| Time Elapsed 00:00:01.33
time="2021-09-18T13:00:11+02:00" level=debug msg="Loading slug from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'"
time="2021-09-18T13:00:11+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n"
time="2021-09-18T13:00:11+02:00" level=debug msg="Loading revision from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'"
time="2021-09-18T13:00:11+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n"
time="2021-09-18T13:00:11+02:00" level=debug msg="HEAD points to '412b6b0b711dcfbdaa632e9ab316109885b3af6b'"
time="2021-09-18T13:00:11+02:00" level=debug msg="using github ref: refs/heads/Act-does-not-transfer-env-from-workflow-to-docker"
time="2021-09-18T13:00:11+02:00" level=debug msg="context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache DEPLOYMENT_BASEPATH:/opt/runner IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 MY_OWN_BOOL: MY_OWN_BOOL_WITH_DOUBLE_QUOTES:true MY_OWN_BOOL_WITH_SINGLE_QUOTES:true MY_OWN_INT: MY_OWN_INT_WITH_DOUBLE_QUOTES:1 MY_OWN_INT_WITH_SINGLE_QUOTES:1 MY_OWN_STRING:ABC MY_OWN_STRING_WITH_DOUBLE_QUOTES:ABC MY_OWN_STRING_WITH_SINGLE_QUOTES:ABC PATH:/opt/hostedtoolcache/node/14.17.6/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root]"
time="2021-09-18T13:00:11+02:00" level=debug msg="context needs => map[]"
time="2021-09-18T13:00:11+02:00" level=debug msg="context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEPLOYMENT_BASEPATH:/opt/runner DOTNET_ROOT:/root/.dotnet GITHUB_ACTION:4 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt 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:Build C# code and run tests GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/Act-does-not-transfer-env-from-workflow-to-docker GITHUB_REPOSITORY:henrikrxn/act-simple-repro-for-issues GITHUB_REPOSITORY_OWNER:henrikrxn GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:412b6b0b711dcfbdaa632e9ab316109885b3af6b GITHUB_TOKEN: GITHUB_WORKFLOW:Build site GITHUB_WORKSPACE:/mnt/e/MyGithub/act-simple-repro-for-issues IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 MY_OWN_BOOL: MY_OWN_BOOL_WITH_DOUBLE_QUOTES:true MY_OWN_BOOL_WITH_SINGLE_QUOTES:true MY_OWN_INT: MY_OWN_INT_WITH_DOUBLE_QUOTES:1 MY_OWN_INT_WITH_SINGLE_QUOTES:1 MY_OWN_STRING:ABC MY_OWN_STRING_WITH_DOUBLE_QUOTES:ABC MY_OWN_STRING_WITH_SINGLE_QUOTES:ABC PATH:/root/.dotnet:/opt/hostedtoolcache/node/14.17.6/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root]"
[Build site/Build C# code and run tests]   ✅  Success - Build solution
time="2021-09-18T13:00:11+02:00" level=debug msg="Loading slug from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'"
time="2021-09-18T13:00:11+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n"
time="2021-09-18T13:00:11+02:00" level=debug msg="Loading revision from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'"
time="2021-09-18T13:00:11+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n"
time="2021-09-18T13:00:11+02:00" level=debug msg="HEAD points to '412b6b0b711dcfbdaa632e9ab316109885b3af6b'"
time="2021-09-18T13:00:11+02:00" level=debug msg="using github ref: refs/heads/Act-does-not-transfer-env-from-workflow-to-docker"
time="2021-09-18T13:00:11+02:00" level=debug msg="Loading slug from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'"
time="2021-09-18T13:00:11+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n"
time="2021-09-18T13:00:11+02:00" level=debug msg="Loading revision from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'"
time="2021-09-18T13:00:11+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n"
time="2021-09-18T13:00:11+02:00" level=debug msg="HEAD points to '412b6b0b711dcfbdaa632e9ab316109885b3af6b'"
time="2021-09-18T13:00:11+02:00" level=debug msg="using github ref: refs/heads/Act-does-not-transfer-env-from-workflow-to-docker"
time="2021-09-18T13:00:11+02:00" level=debug msg="context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache DEPLOYMENT_BASEPATH:/opt/runner IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 MY_OWN_BOOL: MY_OWN_BOOL_WITH_DOUBLE_QUOTES:true MY_OWN_BOOL_WITH_SINGLE_QUOTES:true MY_OWN_INT: MY_OWN_INT_WITH_DOUBLE_QUOTES:1 MY_OWN_INT_WITH_SINGLE_QUOTES:1 MY_OWN_STRING:ABC MY_OWN_STRING_WITH_DOUBLE_QUOTES:ABC MY_OWN_STRING_WITH_SINGLE_QUOTES:ABC PATH:/opt/hostedtoolcache/node/14.17.6/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root]"
time="2021-09-18T13:00:11+02:00" level=debug msg="context needs => map[]"
time="2021-09-18T13:00:11+02:00" level=debug msg="context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEPLOYMENT_BASEPATH:/opt/runner DOTNET_ROOT:/root/.dotnet GITHUB_ACTION:5 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt 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:Build C# code and run tests GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/Act-does-not-transfer-env-from-workflow-to-docker GITHUB_REPOSITORY:henrikrxn/act-simple-repro-for-issues GITHUB_REPOSITORY_OWNER:henrikrxn GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:412b6b0b711dcfbdaa632e9ab316109885b3af6b GITHUB_TOKEN: GITHUB_WORKFLOW:Build site GITHUB_WORKSPACE:/mnt/e/MyGithub/act-simple-repro-for-issues IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 MY_OWN_BOOL: MY_OWN_BOOL_WITH_DOUBLE_QUOTES:true MY_OWN_BOOL_WITH_SINGLE_QUOTES:true MY_OWN_INT: MY_OWN_INT_WITH_DOUBLE_QUOTES:1 MY_OWN_INT_WITH_SINGLE_QUOTES:1 MY_OWN_STRING:ABC MY_OWN_STRING_WITH_DOUBLE_QUOTES:ABC MY_OWN_STRING_WITH_SINGLE_QUOTES:ABC PATH:/root/.dotnet:/opt/hostedtoolcache/node/14.17.6/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root]"
[Build site/Build C# code and run tests] setupEnv => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEPLOYMENT_BASEPATH:/opt/runner DOTNET_ROOT:/root/.dotnet GITHUB_ACTION:5 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt 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:Build C# code and run tests GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/Act-does-not-transfer-env-from-workflow-to-docker GITHUB_REPOSITORY:henrikrxn/act-simple-repro-for-issues GITHUB_REPOSITORY_OWNER:henrikrxn GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:412b6b0b711dcfbdaa632e9ab316109885b3af6b GITHUB_TOKEN: GITHUB_WORKFLOW:Build site GITHUB_WORKSPACE:/mnt/e/MyGithub/act-simple-repro-for-issues IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 MY_OWN_BOOL: MY_OWN_BOOL_WITH_DOUBLE_QUOTES:true MY_OWN_BOOL_WITH_SINGLE_QUOTES:true MY_OWN_INT: MY_OWN_INT_WITH_DOUBLE_QUOTES:1 MY_OWN_INT_WITH_SINGLE_QUOTES:1 MY_OWN_STRING:ABC MY_OWN_STRING_WITH_DOUBLE_QUOTES:ABC MY_OWN_STRING_WITH_SINGLE_QUOTES:ABC PATH:/root/.dotnet:/opt/hostedtoolcache/node/14.17.6/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root]
[Build site/Build C# code and run tests] ⭐  Run Run tests from solution
time="2021-09-18T13:00:11+02:00" level=debug msg="Wrote command '\ndotnet test --no-restore --no-build\n' to 'workflow/5'"
time="2021-09-18T13:00:11+02:00" level=debug msg="Writing entry to tarball workflow/5 len:35"
[Build site/Build C# code and run tests] Extracting content to '/mnt/e/MyGithub/act-simple-repro-for-issues'
[Build site/Build C# code and run tests]   🐳  docker exec cmd=[bash --noprofile --norc -e -o pipefail /mnt/e/MyGithub/act-simple-repro-for-issues/workflow/5] user=
[Build site/Build C# code and run tests] Exec command '[bash --noprofile --norc -e -o pipefail /mnt/e/MyGithub/act-simple-repro-for-issues/workflow/5]'
time="2021-09-18T13:00:12+02:00" level=debug msg="Loading slug from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'"
time="2021-09-18T13:00:12+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n"
time="2021-09-18T13:00:12+02:00" level=debug msg="Loading revision from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'"
time="2021-09-18T13:00:12+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n"
time="2021-09-18T13:00:12+02:00" level=debug msg="HEAD points to '412b6b0b711dcfbdaa632e9ab316109885b3af6b'"
time="2021-09-18T13:00:12+02:00" level=debug msg="using github ref: refs/heads/Act-does-not-transfer-env-from-workflow-to-docker"
time="2021-09-18T13:00:12+02:00" level=debug msg="context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache DEPLOYMENT_BASEPATH:/opt/runner IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 MY_OWN_BOOL: MY_OWN_BOOL_WITH_DOUBLE_QUOTES:true MY_OWN_BOOL_WITH_SINGLE_QUOTES:true MY_OWN_INT: MY_OWN_INT_WITH_DOUBLE_QUOTES:1 MY_OWN_INT_WITH_SINGLE_QUOTES:1 MY_OWN_STRING:ABC MY_OWN_STRING_WITH_DOUBLE_QUOTES:ABC MY_OWN_STRING_WITH_SINGLE_QUOTES:ABC PATH:/opt/hostedtoolcache/node/14.17.6/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root]"
time="2021-09-18T13:00:12+02:00" level=debug msg="context needs => map[]"
time="2021-09-18T13:00:12+02:00" level=debug msg="context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEPLOYMENT_BASEPATH:/opt/runner DOTNET_ROOT:/root/.dotnet GITHUB_ACTION:5 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt 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:Build C# code and run tests GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/Act-does-not-transfer-env-from-workflow-to-docker GITHUB_REPOSITORY:henrikrxn/act-simple-repro-for-issues GITHUB_REPOSITORY_OWNER:henrikrxn GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:412b6b0b711dcfbdaa632e9ab316109885b3af6b GITHUB_TOKEN: GITHUB_WORKFLOW:Build site GITHUB_WORKSPACE:/mnt/e/MyGithub/act-simple-repro-for-issues IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 MY_OWN_BOOL: MY_OWN_BOOL_WITH_DOUBLE_QUOTES:true MY_OWN_BOOL_WITH_SINGLE_QUOTES:true MY_OWN_INT: MY_OWN_INT_WITH_DOUBLE_QUOTES:1 MY_OWN_INT_WITH_SINGLE_QUOTES:1 MY_OWN_STRING:ABC MY_OWN_STRING_WITH_DOUBLE_QUOTES:ABC MY_OWN_STRING_WITH_SINGLE_QUOTES:ABC PATH:/root/.dotnet:/opt/hostedtoolcache/node/14.17.6/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root]"
[Build site/Build C# code and run tests]   ✅  Success - Run tests from solution
[Build site/Build C# code and run tests] Removed container: 4e03e7bcad06887721b2b7be1634368e402a4d472d9f5a2102c89108d49f4cb6
[Build site/Build C# code and run tests]   🐳  docker volume rm act-Build-site-Build-C-code-and-run-tests
Originally created by @henrikrxn on GitHub (Sep 18, 2021). Original GitHub issue: https://github.com/nektos/act/issues/818 Originally assigned to: @catthehacker on GitHub. First of all thank you for the effort you put into act 😃 It is so great being able to iterate on workflows locally and have a quick feedback loop. ## System information - Operating System:Windows 10 - Architecture: x64 (64-bit) - Apple M1: No - Docker version: 20.10.8 - Docker image used in `act`: catthehacker/ubuntu:act-latest - `act` version: act version 0.2.24 ## Expected behaviour All variables from `env:` section of jobs should be handled the same way locally and the the workflow runs on Github. The workflow prints part of the env. That was before I realized that `-v` does the same. `run: env | grep MY_OWN | sort` Each declared env variable should be present and have the value from the workflow file assigned to it. Given this snippet from example workflow in repository ```yaml env: MY_OWN_BOOL: true MY_OWN_BOOL_WITH_SINGLE_QUOTES: 'true' MY_OWN_BOOL_WITH_DOUBLE_QUOTES: "true" MY_OWN_INT: 1 MY_OWN_INT_WITH_SINGLE_QUOTES: '1' MY_OWN_INT_WITH_DOUBLE_QUOTES: "1" MY_OWN_STRING: ABC MY_OWN_STRING_WITH_SINGLE_QUOTES: 'ABC' MY_OWN_STRING_WITH_DOUBLE_QUOTES: "ABC" ``` I would expect this (snipped from action log on Github) ```bash MY_OWN_BOOL=true MY_OWN_BOOL_WITH_DOUBLE_QUOTES=true MY_OWN_BOOL_WITH_SINGLE_QUOTES=true MY_OWN_INT=1 MY_OWN_INT_WITH_DOUBLE_QUOTES=1 MY_OWN_INT_WITH_SINGLE_QUOTES=1 MY_OWN_STRING=ABC MY_OWN_STRING_WITH_DOUBLE_QUOTES=ABC MY_OWN_STRING_WITH_SINGLE_QUOTES=ABC ``` ## Actual behaviour When running locally using Act all variables are declared, but not all have values ```bash MY_OWN_BOOL= MY_OWN_BOOL_WITH_DOUBLE_QUOTES=true MY_OWN_BOOL_WITH_SINGLE_QUOTES=true MY_OWN_INT= MY_OWN_INT_WITH_DOUBLE_QUOTES=1 MY_OWN_INT_WITH_SINGLE_QUOTES=1 MY_OWN_STRING=ABC MY_OWN_STRING_WITH_DOUBLE_QUOTES=ABC MY_OWN_STRING_WITH_SINGLE_QUOTES=ABC ``` ## Workflow and/or repository Example repo: https://github.com/henrikrxn/act-simple-repro-for-issues Workflow [build-and-test.yml](https://github.com/henrikrxn/act-simple-repro-for-issues/blob/main/.github/workflows/build-and-test.yml) ## Steps to reproduce 1. Clone example repo https://github.com/henrikrxn/act-simple-repro-for-issues 2. Enter cloned repo directory 3. Run `act push -W .\.github\workflows\build-and-test.yml -P ubuntu-latest=catthehacker/ubuntu:act-latest` ## `act` output <details> <summary>Log</summary> ```none [Build site/Build C# code and run tests] 🚀 Start image=catthehacker/ubuntu:act-latest [Build site/Build C# code and run tests] 🐳 docker run image=catthehacker/ubuntu:act-latest platform= entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[] [Build site/Build C# code and run tests] 🐳 docker exec cmd=[mkdir -m 0777 -p /var/run/act] user=root [Build site/Build C# code and run tests] 🐳 docker cp src=E:\MyGithub\act-simple-repro-for-issues\. dst=\mnt\e\MyGithub\act-simple-repro-for-issues [Build site/Build C# code and run tests] 🐳 docker exec cmd=[mkdir -p \mnt\e\MyGithub\act-simple-repro-for-issues] user= [Build site/Build C# code and run tests] ⭐ Run Dump relevant parts of Environment [Build site/Build C# code and run tests] 🐳 docker exec cmd=[bash --noprofile --norc -e -o pipefail /mnt/e/MyGithub/act-simple-repro-for-issues/workflow/0] user= | MY_OWN_BOOL= | MY_OWN_BOOL_WITH_DOUBLE_QUOTES=true | MY_OWN_BOOL_WITH_SINGLE_QUOTES=true | MY_OWN_INT= | MY_OWN_INT_WITH_DOUBLE_QUOTES=1 | MY_OWN_INT_WITH_SINGLE_QUOTES=1 | MY_OWN_STRING=ABC | MY_OWN_STRING_WITH_DOUBLE_QUOTES=ABC | MY_OWN_STRING_WITH_SINGLE_QUOTES=ABC [Build site/Build C# code and run tests] ✅ Success - Dump relevant parts of Environment [Build site/Build C# code and run tests] ⭐ Run Get the sources [Build site/Build C# code and run tests] ✅ Success - Get the sources [Build site/Build C# code and run tests] ⭐ Run Install .NET Core SDK time="2021-09-18T12:56:47+02:00" level=info msg=" ☁ git clone 'https://github.com/actions/setup-dotnet' # ref=v1" [Build site/Build C# code and run tests] 🐳 docker cp src=C:\Users\Henrik\.cache\act/actions-setup-dotnet@v1/ dst=/var/run/act/actions/actions-setup-dotnet@v1/ [Build site/Build C# code and run tests] 🐳 docker exec cmd=[mkdir -p /var/run/act/actions/actions-setup-dotnet@v1/] user= [Build site/Build C# code and run tests] 🐳 docker exec cmd=[node /var/run/act/actions/actions-setup-dotnet@v1/dist/index.js] user= [Build site/Build C# code and run tests] 💬 ::debug::No version found, trying to find version from global.json | [command]/run/act/actions/actions-setup-dotnet@v1/externals/install-dotnet.sh --version 3.1.413 | dotnet-install: Note that the intended use of this script is for Continuous Integration (CI) scenarios, where: | dotnet-install: - The SDK needs to be installed without user interaction and without admin rights. | dotnet-install: - The SDK installation doesn't need to persist across multiple CI runs. | dotnet-install: To set up a development environment or to run apps, use installers rather than this script. Visit https://dotnet.microsoft.com/download to get the installer. | | dotnet-install: Downloading primary link https://dotnetcli.azureedge.net/dotnet/Sdk/3.1.413/dotnet-sdk-3.1.413-linux-x64.tar.gz | dotnet-install: Extracting zip from https://dotnetcli.azureedge.net/dotnet/Sdk/3.1.413/dotnet-sdk-3.1.413-linux-x64.tar.gz | dotnet-install: Adding to current process PATH: `/root/.dotnet`. Note: This change will be visible only when sourcing script. | dotnet-install: Note that the script does not resolve dependencies during installation. | dotnet-install: To check the list of dependencies, go to https://docs.microsoft.com/dotnet/core/install, select your operating system and check the "Dependencies" section. | dotnet-install: Installation finished successfully. | /root/.dotnet:/opt/hostedtoolcache/node/14.17.6/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin [Build site/Build C# code and run tests] ❓ ##[add-matcher]/run/act/actions/actions-setup-dotnet@v1/.github/csc.json [Build site/Build C# code and run tests] ✅ Success - Install .NET Core SDK [Build site/Build C# code and run tests] ⭐ Run Restore NuGet packages [Build site/Build C# code and run tests] 🐳 docker exec cmd=[bash --noprofile --norc -e -o pipefail /mnt/e/MyGithub/act-simple-repro-for-issues/workflow/3] user= | | Welcome to .NET Core 3.1! | --------------------- | SDK Version: 3.1.413 | | Telemetry | --------- | The .NET Core tools collect usage data in order to help us improve your experience. It is collected by Microsoft and shared with the community. You can opt-out of telemetry by setting the DOTNET_CLI_TELEMETRY_OPTOUT environment variable to '1' or 'true' using your favorite shell. | | Read more about .NET Core CLI Tools telemetry: https://aka.ms/dotnet-cli-telemetry | | ---------------- | Explore documentation: https://aka.ms/dotnet-docs | Report issues and find source on GitHub: https://github.com/dotnet/core | Find out what's new: https://aka.ms/dotnet-whats-new | Learn about the installed HTTPS developer cert: https://aka.ms/aspnet-core-https | Use 'dotnet --help' to see available commands or visit: https://aka.ms/dotnet-cli-docs | Write your first app: https://aka.ms/first-net-core-app | -------------------------------------------------------------------------------------- | Determining projects to restore... | Restored /mnt/e/MyGithub/act-simple-repro-for-issues/ToHaveWorkflowForAct.csproj (in 106 ms). [Build site/Build C# code and run tests] ✅ Success - Restore NuGet packages [Build site/Build C# code and run tests] ⭐ Run Build solution [Build site/Build C# code and run tests] 🐳 docker exec cmd=[bash --noprofile --norc -e -o pipefail /mnt/e/MyGithub/act-simple-repro-for-issues/workflow/4] user= | Microsoft (R) Build Engine version 16.7.2+b60ddb6f4 for .NET | Copyright (C) Microsoft Corporation. All rights reserved. | | ToHaveWorkflowForAct -> /mnt/e/MyGithub/act-simple-repro-for-issues/bin/Release/netcoreapp3.1/ToHaveWorkflowForAct.dll | | Build succeeded. | 0 Warning(s) | 0 Error(s) | | Time Elapsed 00:00:01.41 [Build site/Build C# code and run tests] ✅ Success - Build solution [Build site/Build C# code and run tests] ⭐ Run Run tests from solution [Build site/Build C# code and run tests] 🐳 docker exec cmd=[bash --noprofile --norc -e -o pipefail /mnt/e/MyGithub/act-simple-repro-for-issues/workflow/5] user= [Build site/Build C# code and run tests] ✅ Success - Run tests from solution    E:   act-simple-repro-for-issues  Act-does-not-transfer-env-from-workflow-to-docker ⁇  +1  ❯ act push -v -W .\.github\workflows\build-and-test.yml -P ubuntu-latest=catthehacker/ubuntu:act-latest time="2021-09-18T12:59:52+02:00" level=debug msg="Loading environment from E:\\MyGithub\\act-simple-repro-for-issues\\.env" time="2021-09-18T12:59:52+02:00" level=debug msg="Loading secrets from E:\\MyGithub\\act-simple-repro-for-issues\\.secrets" time="2021-09-18T12:59:52+02:00" level=debug msg="Loading workflow 'E:\\MyGithub\\act-simple-repro-for-issues\\.github\\workflows\\build-and-test.yml'" time="2021-09-18T12:59:52+02:00" level=debug msg="Reading workflow 'E:\\MyGithub\\act-simple-repro-for-issues\\.github\\workflows\\build-and-test.yml'" time="2021-09-18T12:59:52+02:00" level=debug msg="Correcting if statements 'E:\\MyGithub\\act-simple-repro-for-issues\\.github\\workflows\\build-and-test.yml'" time="2021-09-18T12:59:52+02:00" level=debug msg="Planning event: push" time="2021-09-18T12:59:52+02:00" level=debug msg="Loading slug from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'" time="2021-09-18T12:59:52+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n" time="2021-09-18T12:59:52+02:00" level=debug msg="Loading revision from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'" time="2021-09-18T12:59:52+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n" time="2021-09-18T12:59:52+02:00" level=debug msg="HEAD points to '412b6b0b711dcfbdaa632e9ab316109885b3af6b'" time="2021-09-18T12:59:52+02:00" level=debug msg="using github ref: refs/heads/Act-does-not-transfer-env-from-workflow-to-docker" time="2021-09-18T12:59:52+02:00" level=debug msg="context env => map[ACT:true MY_OWN_BOOL: MY_OWN_BOOL_WITH_DOUBLE_QUOTES:true MY_OWN_BOOL_WITH_SINGLE_QUOTES:true MY_OWN_INT: MY_OWN_INT_WITH_DOUBLE_QUOTES:1 MY_OWN_INT_WITH_SINGLE_QUOTES:1 MY_OWN_STRING:ABC MY_OWN_STRING_WITH_DOUBLE_QUOTES:ABC MY_OWN_STRING_WITH_SINGLE_QUOTES:ABC]" time="2021-09-18T12:59:52+02:00" level=debug msg="context needs => map[]" [Build site/Build C# code and run tests] 🚀 Start image=catthehacker/ubuntu:act-latest time="2021-09-18T12:59:52+02:00" level=debug msg="Loading slug from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'" time="2021-09-18T12:59:52+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n" time="2021-09-18T12:59:52+02:00" level=debug msg="Loading revision from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'" time="2021-09-18T12:59:52+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n" time="2021-09-18T12:59:52+02:00" level=debug msg="HEAD points to '412b6b0b711dcfbdaa632e9ab316109885b3af6b'" time="2021-09-18T12:59:52+02:00" level=debug msg="using github ref: refs/heads/Act-does-not-transfer-env-from-workflow-to-docker" [Build site/Build C# code and run tests] 🐳 docker pull catthehacker/ubuntu:act-latest time="2021-09-18T12:59:52+02:00" level=debug msg="Image exists? true" [Build site/Build C# code and run tests] 🐳 docker create image=catthehacker/ubuntu:act-latest platform= entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[] [Build site/Build C# code and run tests] Created container name=act-Build-site-Build-C-code-and-run-tests id=4e03e7bcad06887721b2b7be1634368e402a4d472d9f5a2102c89108d49f4cb6 from image catthehacker/ubuntu:act-latest (platform: ) [Build site/Build C# code and run tests] ENV ==> [RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUNNER_OS=Linux RUNNER_TEMP=/tmp] [Build site/Build C# code and run tests] 🐳 docker run image=catthehacker/ubuntu:act-latest platform= entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[] [Build site/Build C# code and run tests] Starting container: 4e03e7bcad06887721b2b7be1634368e402a4d472d9f5a2102c89108d49f4cb6 [Build site/Build C# code and run tests] Started container: 4e03e7bcad06887721b2b7be1634368e402a4d472d9f5a2102c89108d49f4cb6 [Build site/Build C# code and run tests] 🐳 docker exec cmd=[mkdir -m 0777 -p /var/run/act] user=root [Build site/Build C# code and run tests] Exec command '[mkdir -m 0777 -p /var/run/act]' [Build site/Build C# code and run tests] 🐳 docker cp src=E:\MyGithub\act-simple-repro-for-issues\. dst=\mnt\e\MyGithub\act-simple-repro-for-issues [Build site/Build C# code and run tests] 🐳 docker exec cmd=[mkdir -p \mnt\e\MyGithub\act-simple-repro-for-issues] user= [Build site/Build C# code and run tests] Exec command '[mkdir -p /mnt/e/MyGithub/act-simple-repro-for-issues]' time="2021-09-18T12:59:53+02:00" level=debug msg="Writing tarball C:\\Users\\Henrik\\AppData\\Local\\Temp\\act157044999 from E:\\MyGithub\\act-simple-repro-for-issues\\." time="2021-09-18T12:59:53+02:00" level=debug msg="Stripping prefix:E:\\MyGithub\\act-simple-repro-for-issues\\ src:E:\\MyGithub\\act-simple-repro-for-issues\\." [Build site/Build C# code and run tests] Extracting content from 'C:\Users\Henrik\AppData\Local\Temp\act157044999' to '\mnt\e\MyGithub\act-simple-repro-for-issues' time="2021-09-18T12:59:53+02:00" level=debug msg="Writing entry to tarball workflow/event.json len:2" time="2021-09-18T12:59:53+02:00" level=debug msg="Writing entry to tarball workflow/envs.txt len:0" time="2021-09-18T12:59:53+02:00" level=debug msg="Writing entry to tarball workflow/paths.txt len:0" [Build site/Build C# code and run tests] Extracting content to '/var/run/act/' time="2021-09-18T12:59:53+02:00" level=debug msg="Loading slug from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'" time="2021-09-18T12:59:53+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n" time="2021-09-18T12:59:53+02:00" level=debug msg="Loading revision from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'" time="2021-09-18T12:59:53+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n" time="2021-09-18T12:59:53+02:00" level=debug msg="HEAD points to '412b6b0b711dcfbdaa632e9ab316109885b3af6b'" time="2021-09-18T12:59:53+02:00" level=debug msg="using github ref: refs/heads/Act-does-not-transfer-env-from-workflow-to-docker" time="2021-09-18T12:59:53+02:00" level=debug msg="Loading slug from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'" time="2021-09-18T12:59:53+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n" time="2021-09-18T12:59:53+02:00" level=debug msg="Loading revision from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'" time="2021-09-18T12:59:53+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n" time="2021-09-18T12:59:53+02:00" level=debug msg="HEAD points to '412b6b0b711dcfbdaa632e9ab316109885b3af6b'" time="2021-09-18T12:59:53+02:00" level=debug msg="using github ref: refs/heads/Act-does-not-transfer-env-from-workflow-to-docker" time="2021-09-18T12:59:53+02:00" level=debug msg="context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache DEPLOYMENT_BASEPATH:/opt/runner IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 MY_OWN_BOOL: MY_OWN_BOOL_WITH_DOUBLE_QUOTES:true MY_OWN_BOOL_WITH_SINGLE_QUOTES:true MY_OWN_INT: MY_OWN_INT_WITH_DOUBLE_QUOTES:1 MY_OWN_INT_WITH_SINGLE_QUOTES:1 MY_OWN_STRING:ABC MY_OWN_STRING_WITH_DOUBLE_QUOTES:ABC MY_OWN_STRING_WITH_SINGLE_QUOTES:ABC PATH:/opt/hostedtoolcache/node/14.17.6/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root]" time="2021-09-18T12:59:53+02:00" level=debug msg="context needs => map[]" time="2021-09-18T12:59:53+02:00" level=debug msg="context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt 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:Build C# code and run tests GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/Act-does-not-transfer-env-from-workflow-to-docker GITHUB_REPOSITORY:henrikrxn/act-simple-repro-for-issues GITHUB_REPOSITORY_OWNER:henrikrxn GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:412b6b0b711dcfbdaa632e9ab316109885b3af6b GITHUB_TOKEN: GITHUB_WORKFLOW:Build site GITHUB_WORKSPACE:/mnt/e/MyGithub/act-simple-repro-for-issues IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 MY_OWN_BOOL: MY_OWN_BOOL_WITH_DOUBLE_QUOTES:true MY_OWN_BOOL_WITH_SINGLE_QUOTES:true MY_OWN_INT: MY_OWN_INT_WITH_DOUBLE_QUOTES:1 MY_OWN_INT_WITH_SINGLE_QUOTES:1 MY_OWN_STRING:ABC MY_OWN_STRING_WITH_DOUBLE_QUOTES:ABC MY_OWN_STRING_WITH_SINGLE_QUOTES:ABC PATH:/opt/hostedtoolcache/node/14.17.6/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root]" [Build site/Build C# code and run tests] setupEnv => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt 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:Build C# code and run tests GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/Act-does-not-transfer-env-from-workflow-to-docker GITHUB_REPOSITORY:henrikrxn/act-simple-repro-for-issues GITHUB_REPOSITORY_OWNER:henrikrxn GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:412b6b0b711dcfbdaa632e9ab316109885b3af6b GITHUB_TOKEN: GITHUB_WORKFLOW:Build site GITHUB_WORKSPACE:/mnt/e/MyGithub/act-simple-repro-for-issues IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 MY_OWN_BOOL: MY_OWN_BOOL_WITH_DOUBLE_QUOTES:true MY_OWN_BOOL_WITH_SINGLE_QUOTES:true MY_OWN_INT: MY_OWN_INT_WITH_DOUBLE_QUOTES:1 MY_OWN_INT_WITH_SINGLE_QUOTES:1 MY_OWN_STRING:ABC MY_OWN_STRING_WITH_DOUBLE_QUOTES:ABC MY_OWN_STRING_WITH_SINGLE_QUOTES:ABC PATH:/opt/hostedtoolcache/node/14.17.6/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root] [Build site/Build C# code and run tests] ⭐ Run Dump relevant parts of Environment time="2021-09-18T12:59:53+02:00" level=debug msg="Wrote command '\nenv | grep MY_OWN | sort\n' to 'workflow/0'" time="2021-09-18T12:59:53+02:00" level=debug msg="Writing entry to tarball workflow/0 len:24" [Build site/Build C# code and run tests] Extracting content to '/mnt/e/MyGithub/act-simple-repro-for-issues' [Build site/Build C# code and run tests] 🐳 docker exec cmd=[bash --noprofile --norc -e -o pipefail /mnt/e/MyGithub/act-simple-repro-for-issues/workflow/0] user= [Build site/Build C# code and run tests] Exec command '[bash --noprofile --norc -e -o pipefail /mnt/e/MyGithub/act-simple-repro-for-issues/workflow/0]' | MY_OWN_BOOL= | MY_OWN_BOOL_WITH_DOUBLE_QUOTES=true | MY_OWN_BOOL_WITH_SINGLE_QUOTES=true | MY_OWN_INT= | MY_OWN_INT_WITH_DOUBLE_QUOTES=1 | MY_OWN_INT_WITH_SINGLE_QUOTES=1 | MY_OWN_STRING=ABC | MY_OWN_STRING_WITH_DOUBLE_QUOTES=ABC | MY_OWN_STRING_WITH_SINGLE_QUOTES=ABC time="2021-09-18T12:59:53+02:00" level=debug msg="Loading slug from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'" time="2021-09-18T12:59:53+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n" time="2021-09-18T12:59:53+02:00" level=debug msg="Loading revision from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'" time="2021-09-18T12:59:53+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n" time="2021-09-18T12:59:53+02:00" level=debug msg="HEAD points to '412b6b0b711dcfbdaa632e9ab316109885b3af6b'" time="2021-09-18T12:59:53+02:00" level=debug msg="using github ref: refs/heads/Act-does-not-transfer-env-from-workflow-to-docker" time="2021-09-18T12:59:53+02:00" level=debug msg="context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache DEPLOYMENT_BASEPATH:/opt/runner IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 MY_OWN_BOOL: MY_OWN_BOOL_WITH_DOUBLE_QUOTES:true MY_OWN_BOOL_WITH_SINGLE_QUOTES:true MY_OWN_INT: MY_OWN_INT_WITH_DOUBLE_QUOTES:1 MY_OWN_INT_WITH_SINGLE_QUOTES:1 MY_OWN_STRING:ABC MY_OWN_STRING_WITH_DOUBLE_QUOTES:ABC MY_OWN_STRING_WITH_SINGLE_QUOTES:ABC PATH:/opt/hostedtoolcache/node/14.17.6/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root]" time="2021-09-18T12:59:53+02:00" level=debug msg="context needs => map[]" time="2021-09-18T12:59:53+02:00" level=debug msg="context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt 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:Build C# code and run tests GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/Act-does-not-transfer-env-from-workflow-to-docker GITHUB_REPOSITORY:henrikrxn/act-simple-repro-for-issues GITHUB_REPOSITORY_OWNER:henrikrxn GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:412b6b0b711dcfbdaa632e9ab316109885b3af6b GITHUB_TOKEN: GITHUB_WORKFLOW:Build site GITHUB_WORKSPACE:/mnt/e/MyGithub/act-simple-repro-for-issues IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 MY_OWN_BOOL: MY_OWN_BOOL_WITH_DOUBLE_QUOTES:true MY_OWN_BOOL_WITH_SINGLE_QUOTES:true MY_OWN_INT: MY_OWN_INT_WITH_DOUBLE_QUOTES:1 MY_OWN_INT_WITH_SINGLE_QUOTES:1 MY_OWN_STRING:ABC MY_OWN_STRING_WITH_DOUBLE_QUOTES:ABC MY_OWN_STRING_WITH_SINGLE_QUOTES:ABC PATH:/opt/hostedtoolcache/node/14.17.6/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root]" [Build site/Build C# code and run tests] ✅ Success - Dump relevant parts of Environment time="2021-09-18T12:59:53+02:00" level=debug msg="Loading slug from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'" time="2021-09-18T12:59:53+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n" time="2021-09-18T12:59:53+02:00" level=debug msg="Loading revision from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'" time="2021-09-18T12:59:53+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n" time="2021-09-18T12:59:53+02:00" level=debug msg="HEAD points to '412b6b0b711dcfbdaa632e9ab316109885b3af6b'" time="2021-09-18T12:59:53+02:00" level=debug msg="using github ref: refs/heads/Act-does-not-transfer-env-from-workflow-to-docker" time="2021-09-18T12:59:53+02:00" level=debug msg="Loading slug from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'" time="2021-09-18T12:59:53+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n" time="2021-09-18T12:59:53+02:00" level=debug msg="Loading revision from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'" time="2021-09-18T12:59:53+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n" time="2021-09-18T12:59:53+02:00" level=debug msg="HEAD points to '412b6b0b711dcfbdaa632e9ab316109885b3af6b'" time="2021-09-18T12:59:53+02:00" level=debug msg="using github ref: refs/heads/Act-does-not-transfer-env-from-workflow-to-docker" time="2021-09-18T12:59:53+02:00" level=debug msg="context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache DEPLOYMENT_BASEPATH:/opt/runner IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 MY_OWN_BOOL: MY_OWN_BOOL_WITH_DOUBLE_QUOTES:true MY_OWN_BOOL_WITH_SINGLE_QUOTES:true MY_OWN_INT: MY_OWN_INT_WITH_DOUBLE_QUOTES:1 MY_OWN_INT_WITH_SINGLE_QUOTES:1 MY_OWN_STRING:ABC MY_OWN_STRING_WITH_DOUBLE_QUOTES:ABC MY_OWN_STRING_WITH_SINGLE_QUOTES:ABC PATH:/opt/hostedtoolcache/node/14.17.6/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root]" time="2021-09-18T12:59:53+02:00" level=debug msg="context needs => map[]" time="2021-09-18T12:59:53+02:00" level=debug msg="context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:1 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt 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:Build C# code and run tests GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/Act-does-not-transfer-env-from-workflow-to-docker GITHUB_REPOSITORY:henrikrxn/act-simple-repro-for-issues GITHUB_REPOSITORY_OWNER:henrikrxn GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:412b6b0b711dcfbdaa632e9ab316109885b3af6b GITHUB_TOKEN: GITHUB_WORKFLOW:Build site GITHUB_WORKSPACE:/mnt/e/MyGithub/act-simple-repro-for-issues IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 MY_OWN_BOOL: MY_OWN_BOOL_WITH_DOUBLE_QUOTES:true MY_OWN_BOOL_WITH_SINGLE_QUOTES:true MY_OWN_INT: MY_OWN_INT_WITH_DOUBLE_QUOTES:1 MY_OWN_INT_WITH_SINGLE_QUOTES:1 MY_OWN_STRING:ABC MY_OWN_STRING_WITH_DOUBLE_QUOTES:ABC MY_OWN_STRING_WITH_SINGLE_QUOTES:ABC PATH:/opt/hostedtoolcache/node/14.17.6/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root]" [Build site/Build C# code and run tests] setupEnv => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:1 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt 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:Build C# code and run tests GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/Act-does-not-transfer-env-from-workflow-to-docker GITHUB_REPOSITORY:henrikrxn/act-simple-repro-for-issues GITHUB_REPOSITORY_OWNER:henrikrxn GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:412b6b0b711dcfbdaa632e9ab316109885b3af6b GITHUB_TOKEN: GITHUB_WORKFLOW:Build site GITHUB_WORKSPACE:/mnt/e/MyGithub/act-simple-repro-for-issues IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 MY_OWN_BOOL: MY_OWN_BOOL_WITH_DOUBLE_QUOTES:true MY_OWN_BOOL_WITH_SINGLE_QUOTES:true MY_OWN_INT: MY_OWN_INT_WITH_DOUBLE_QUOTES:1 MY_OWN_INT_WITH_SINGLE_QUOTES:1 MY_OWN_STRING:ABC MY_OWN_STRING_WITH_DOUBLE_QUOTES:ABC MY_OWN_STRING_WITH_SINGLE_QUOTES:ABC PATH:/opt/hostedtoolcache/node/14.17.6/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root] [Build site/Build C# code and run tests] ⭐ Run Get the sources time="2021-09-18T12:59:53+02:00" level=debug msg="Loading slug from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'" time="2021-09-18T12:59:53+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n" time="2021-09-18T12:59:53+02:00" level=debug msg="Loading revision from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'" time="2021-09-18T12:59:53+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n" time="2021-09-18T12:59:53+02:00" level=debug msg="HEAD points to '412b6b0b711dcfbdaa632e9ab316109885b3af6b'" time="2021-09-18T12:59:53+02:00" level=debug msg="using github ref: refs/heads/Act-does-not-transfer-env-from-workflow-to-docker" [Build site/Build C# code and run tests] Skipping local actions/checkout because workdir was already copied time="2021-09-18T12:59:53+02:00" level=debug msg="Loading slug from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'" time="2021-09-18T12:59:53+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n" time="2021-09-18T12:59:53+02:00" level=debug msg="Loading revision from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'" time="2021-09-18T12:59:53+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n" time="2021-09-18T12:59:53+02:00" level=debug msg="HEAD points to '412b6b0b711dcfbdaa632e9ab316109885b3af6b'" time="2021-09-18T12:59:53+02:00" level=debug msg="using github ref: refs/heads/Act-does-not-transfer-env-from-workflow-to-docker" time="2021-09-18T12:59:53+02:00" level=debug msg="context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache DEPLOYMENT_BASEPATH:/opt/runner IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 MY_OWN_BOOL: MY_OWN_BOOL_WITH_DOUBLE_QUOTES:true MY_OWN_BOOL_WITH_SINGLE_QUOTES:true MY_OWN_INT: MY_OWN_INT_WITH_DOUBLE_QUOTES:1 MY_OWN_INT_WITH_SINGLE_QUOTES:1 MY_OWN_STRING:ABC MY_OWN_STRING_WITH_DOUBLE_QUOTES:ABC MY_OWN_STRING_WITH_SINGLE_QUOTES:ABC PATH:/opt/hostedtoolcache/node/14.17.6/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root]" time="2021-09-18T12:59:53+02:00" level=debug msg="context needs => map[]" time="2021-09-18T12:59:53+02:00" level=debug msg="context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:1 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt 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:Build C# code and run tests GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/Act-does-not-transfer-env-from-workflow-to-docker GITHUB_REPOSITORY:henrikrxn/act-simple-repro-for-issues GITHUB_REPOSITORY_OWNER:henrikrxn GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:412b6b0b711dcfbdaa632e9ab316109885b3af6b GITHUB_TOKEN: GITHUB_WORKFLOW:Build site GITHUB_WORKSPACE:/mnt/e/MyGithub/act-simple-repro-for-issues IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 MY_OWN_BOOL: MY_OWN_BOOL_WITH_DOUBLE_QUOTES:true MY_OWN_BOOL_WITH_SINGLE_QUOTES:true MY_OWN_INT: MY_OWN_INT_WITH_DOUBLE_QUOTES:1 MY_OWN_INT_WITH_SINGLE_QUOTES:1 MY_OWN_STRING:ABC MY_OWN_STRING_WITH_DOUBLE_QUOTES:ABC MY_OWN_STRING_WITH_SINGLE_QUOTES:ABC PATH:/opt/hostedtoolcache/node/14.17.6/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root]" [Build site/Build C# code and run tests] ✅ Success - Get the sources time="2021-09-18T12:59:53+02:00" level=debug msg="Loading slug from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'" time="2021-09-18T12:59:53+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n" time="2021-09-18T12:59:53+02:00" level=debug msg="Loading revision from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'" time="2021-09-18T12:59:53+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n" time="2021-09-18T12:59:53+02:00" level=debug msg="HEAD points to '412b6b0b711dcfbdaa632e9ab316109885b3af6b'" time="2021-09-18T12:59:53+02:00" level=debug msg="using github ref: refs/heads/Act-does-not-transfer-env-from-workflow-to-docker" time="2021-09-18T12:59:54+02:00" level=debug msg="Loading slug from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'" time="2021-09-18T12:59:54+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n" time="2021-09-18T12:59:54+02:00" level=debug msg="Loading revision from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'" time="2021-09-18T12:59:54+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n" time="2021-09-18T12:59:54+02:00" level=debug msg="HEAD points to '412b6b0b711dcfbdaa632e9ab316109885b3af6b'" time="2021-09-18T12:59:54+02:00" level=debug msg="using github ref: refs/heads/Act-does-not-transfer-env-from-workflow-to-docker" time="2021-09-18T12:59:54+02:00" level=debug msg="context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache DEPLOYMENT_BASEPATH:/opt/runner IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 MY_OWN_BOOL: MY_OWN_BOOL_WITH_DOUBLE_QUOTES:true MY_OWN_BOOL_WITH_SINGLE_QUOTES:true MY_OWN_INT: MY_OWN_INT_WITH_DOUBLE_QUOTES:1 MY_OWN_INT_WITH_SINGLE_QUOTES:1 MY_OWN_STRING:ABC MY_OWN_STRING_WITH_DOUBLE_QUOTES:ABC MY_OWN_STRING_WITH_SINGLE_QUOTES:ABC PATH:/opt/hostedtoolcache/node/14.17.6/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root]" time="2021-09-18T12:59:54+02:00" level=debug msg="context needs => map[]" time="2021-09-18T12:59:54+02:00" level=debug msg="context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:2 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt 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:Build C# code and run tests GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/Act-does-not-transfer-env-from-workflow-to-docker GITHUB_REPOSITORY:henrikrxn/act-simple-repro-for-issues GITHUB_REPOSITORY_OWNER:henrikrxn GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:412b6b0b711dcfbdaa632e9ab316109885b3af6b GITHUB_TOKEN: GITHUB_WORKFLOW:Build site GITHUB_WORKSPACE:/mnt/e/MyGithub/act-simple-repro-for-issues IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 MY_OWN_BOOL: MY_OWN_BOOL_WITH_DOUBLE_QUOTES:true MY_OWN_BOOL_WITH_SINGLE_QUOTES:true MY_OWN_INT: MY_OWN_INT_WITH_DOUBLE_QUOTES:1 MY_OWN_INT_WITH_SINGLE_QUOTES:1 MY_OWN_STRING:ABC MY_OWN_STRING_WITH_DOUBLE_QUOTES:ABC MY_OWN_STRING_WITH_SINGLE_QUOTES:ABC PATH:/opt/hostedtoolcache/node/14.17.6/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root]" [Build site/Build C# code and run tests] setupEnv => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:2 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt 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:Build C# code and run tests GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/Act-does-not-transfer-env-from-workflow-to-docker GITHUB_REPOSITORY:henrikrxn/act-simple-repro-for-issues GITHUB_REPOSITORY_OWNER:henrikrxn GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:412b6b0b711dcfbdaa632e9ab316109885b3af6b GITHUB_TOKEN: GITHUB_WORKFLOW:Build site GITHUB_WORKSPACE:/mnt/e/MyGithub/act-simple-repro-for-issues IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 MY_OWN_BOOL: MY_OWN_BOOL_WITH_DOUBLE_QUOTES:true MY_OWN_BOOL_WITH_SINGLE_QUOTES:true MY_OWN_INT: MY_OWN_INT_WITH_DOUBLE_QUOTES:1 MY_OWN_INT_WITH_SINGLE_QUOTES:1 MY_OWN_STRING:ABC MY_OWN_STRING_WITH_DOUBLE_QUOTES:ABC MY_OWN_STRING_WITH_SINGLE_QUOTES:ABC PATH:/opt/hostedtoolcache/node/14.17.6/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root] [Build site/Build C# code and run tests] ⭐ Run Install .NET Core SDK time="2021-09-18T12:59:54+02:00" level=debug msg="Loading slug from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'" time="2021-09-18T12:59:54+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n" time="2021-09-18T12:59:54+02:00" level=debug msg="Loading revision from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'" time="2021-09-18T12:59:54+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n" time="2021-09-18T12:59:54+02:00" level=debug msg="HEAD points to '412b6b0b711dcfbdaa632e9ab316109885b3af6b'" time="2021-09-18T12:59:54+02:00" level=debug msg="using github ref: refs/heads/Act-does-not-transfer-env-from-workflow-to-docker" time="2021-09-18T12:59:54+02:00" level=info msg=" ☁ git clone 'https://github.com/actions/setup-dotnet' # ref=v1" time="2021-09-18T12:59:54+02:00" level=debug msg=" cloning https://github.com/actions/setup-dotnet to C:\\Users\\Henrik\\.cache\\act/actions-setup-dotnet@v1" time="2021-09-18T12:59:54+02:00" level=debug msg="Cloned https://github.com/actions/setup-dotnet to C:\\Users\\Henrik\\.cache\\act/actions-setup-dotnet@v1" time="2021-09-18T12:59:54+02:00" level=debug msg="Checked out v1" time="2021-09-18T12:59:54+02:00" level=debug msg="Read action &{Setup .NET Core SDK GitHub Used to build and publish .NET source. Set up a specific version of the .NET and authentication to private NuGet repository map[config-file:{Optional NuGet.config location, if your NuGet.config isn't located in the root of the repo. false } dotnet-version:{Optional SDK version to use. If not provided, will install global.json version when available. Examples: 2.2.104, 3.1, 3.1.x false } include-prerelease:{Whether prerelease versions should be matched with non-exact versions (for example 5.0.0-preview.6 being matched by 5, 5.0, 5.x or 5.0.x). Defaults to false if not provided. false } owner:{Optional OWNER for using packages from GitHub Package Registry organizations/users other than the current repository's owner. Only used if a GPR URL is also provided in source-url false } source-url:{Optional package source for which to set up authentication. Will consult any existing NuGet.config in the root of the repo and provide a temporary NuGet.config using the NUGET_AUTH_TOKEN environment variable as a ClearTextPassword false }] map[] {node12 map[] dist/index.js [] [] []} {green play}} from 'Unknown'" time="2021-09-18T12:59:54+02:00" level=debug msg="About to run action &{Setup .NET Core SDK GitHub Used to build and publish .NET source. Set up a specific version of the .NET and authentication to private NuGet repository map[config-file:{Optional NuGet.config location, if your NuGet.config isn't located in the root of the repo. false } dotnet-version:{Optional SDK version to use. If not provided, will install global.json version when available. Examples: 2.2.104, 3.1, 3.1.x false } include-prerelease:{Whether prerelease versions should be matched with non-exact versions (for example 5.0.0-preview.6 being matched by 5, 5.0, 5.x or 5.0.x). Defaults to false if not provided. false } owner:{Optional OWNER for using packages from GitHub Package Registry organizations/users other than the current repository's owner. Only used if a GPR URL is also provided in source-url false } source-url:{Optional package source for which to set up authentication. Will consult any existing NuGet.config in the root of the repo and provide a temporary NuGet.config using the NUGET_AUTH_TOKEN environment variable as a ClearTextPassword false }] map[] {node12 map[] dist/index.js [] [] []} {green play}}" time="2021-09-18T12:59:54+02:00" level=debug msg="type=3 actionDir=C:\\Users\\Henrik\\.cache\\act/actions-setup-dotnet@v1 actionPath= Workdir=E:\\MyGithub\\act-simple-repro-for-issues ActionCacheDir=C:\\Users\\Henrik\\.cache\\act actionName=actions-setup-dotnet@v1 containerActionDir=/var/run/act/actions/actions-setup-dotnet@v1" time="2021-09-18T12:59:54+02:00" level=debug msg="Removing C:\\Users\\Henrik\\.cache\\act/actions-setup-dotnet@v1/.gitignore before docker cp" [Build site/Build C# code and run tests] 🐳 docker cp src=C:\Users\Henrik\.cache\act/actions-setup-dotnet@v1/ dst=/var/run/act/actions/actions-setup-dotnet@v1/ [Build site/Build C# code and run tests] 🐳 docker exec cmd=[mkdir -p /var/run/act/actions/actions-setup-dotnet@v1/] user= [Build site/Build C# code and run tests] Exec command '[mkdir -p /var/run/act/actions/actions-setup-dotnet@v1/]' time="2021-09-18T12:59:54+02:00" level=debug msg="Writing tarball C:\\Users\\Henrik\\AppData\\Local\\Temp\\act120362170 from C:\\Users\\Henrik\\.cache\\act/actions-setup-dotnet@v1/" time="2021-09-18T12:59:54+02:00" level=debug msg="Stripping prefix:C:\\Users\\Henrik\\.cache\\act\\actions-setup-dotnet@v1\\ src:C:\\Users\\Henrik\\.cache\\act/actions-setup-dotnet@v1/" [Build site/Build C# code and run tests] Extracting content from 'C:\Users\Henrik\AppData\Local\Temp\act120362170' to '/var/run/act/actions/actions-setup-dotnet@v1/' time="2021-09-18T12:59:55+02:00" level=debug msg="executing remote job container: [node /var/run/act/actions/actions-setup-dotnet@v1/dist/index.js]" [Build site/Build C# code and run tests] 🐳 docker exec cmd=[node /var/run/act/actions/actions-setup-dotnet@v1/dist/index.js] user= [Build site/Build C# code and run tests] Exec command '[node /var/run/act/actions/actions-setup-dotnet@v1/dist/index.js]' [Build site/Build C# code and run tests] 💬 ::debug::No version found, trying to find version from global.json | [command]/run/act/actions/actions-setup-dotnet@v1/externals/install-dotnet.sh --version 3.1.413 | dotnet-install: Note that the intended use of this script is for Continuous Integration (CI) scenarios, where: | dotnet-install: - The SDK needs to be installed without user interaction and without admin rights. | dotnet-install: - The SDK installation doesn't need to persist across multiple CI runs. | dotnet-install: To set up a development environment or to run apps, use installers rather than this script. Visit https://dotnet.microsoft.com/download to get the installer. | | dotnet-install: Downloading primary link https://dotnetcli.azureedge.net/dotnet/Sdk/3.1.413/dotnet-sdk-3.1.413-linux-x64.tar.gz | dotnet-install: Extracting zip from https://dotnetcli.azureedge.net/dotnet/Sdk/3.1.413/dotnet-sdk-3.1.413-linux-x64.tar.gz | dotnet-install: Adding to current process PATH: `/root/.dotnet`. Note: This change will be visible only when sourcing script. | dotnet-install: Note that the script does not resolve dependencies during installation. | dotnet-install: To check the list of dependencies, go to https://docs.microsoft.com/dotnet/core/install, select your operating system and check the "Dependencies" section. | dotnet-install: Installation finished successfully. | /root/.dotnet:/opt/hostedtoolcache/node/14.17.6/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin [Build site/Build C# code and run tests] ❓ ##[add-matcher]/run/act/actions/actions-setup-dotnet@v1/.github/csc.json time="2021-09-18T13:00:07+02:00" level=debug msg="Loading slug from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'" time="2021-09-18T13:00:07+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n" time="2021-09-18T13:00:07+02:00" level=debug msg="Loading revision from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'" time="2021-09-18T13:00:07+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n" time="2021-09-18T13:00:07+02:00" level=debug msg="HEAD points to '412b6b0b711dcfbdaa632e9ab316109885b3af6b'" time="2021-09-18T13:00:07+02:00" level=debug msg="using github ref: refs/heads/Act-does-not-transfer-env-from-workflow-to-docker" time="2021-09-18T13:00:07+02:00" level=debug msg="context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache DEPLOYMENT_BASEPATH:/opt/runner IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 MY_OWN_BOOL: MY_OWN_BOOL_WITH_DOUBLE_QUOTES:true MY_OWN_BOOL_WITH_SINGLE_QUOTES:true MY_OWN_INT: MY_OWN_INT_WITH_DOUBLE_QUOTES:1 MY_OWN_INT_WITH_SINGLE_QUOTES:1 MY_OWN_STRING:ABC MY_OWN_STRING_WITH_DOUBLE_QUOTES:ABC MY_OWN_STRING_WITH_SINGLE_QUOTES:ABC PATH:/opt/hostedtoolcache/node/14.17.6/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root]" time="2021-09-18T13:00:07+02:00" level=debug msg="context needs => map[]" time="2021-09-18T13:00:07+02:00" level=debug msg="Loading slug from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'" time="2021-09-18T13:00:07+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n" time="2021-09-18T13:00:07+02:00" level=debug msg="Loading revision from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'" time="2021-09-18T13:00:07+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n" time="2021-09-18T13:00:07+02:00" level=debug msg="HEAD points to '412b6b0b711dcfbdaa632e9ab316109885b3af6b'" time="2021-09-18T13:00:07+02:00" level=debug msg="using github ref: refs/heads/Act-does-not-transfer-env-from-workflow-to-docker" time="2021-09-18T13:00:07+02:00" level=debug msg="context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache DEPLOYMENT_BASEPATH:/opt/runner IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 MY_OWN_BOOL: MY_OWN_BOOL_WITH_DOUBLE_QUOTES:true MY_OWN_BOOL_WITH_SINGLE_QUOTES:true MY_OWN_INT: MY_OWN_INT_WITH_DOUBLE_QUOTES:1 MY_OWN_INT_WITH_SINGLE_QUOTES:1 MY_OWN_STRING:ABC MY_OWN_STRING_WITH_DOUBLE_QUOTES:ABC MY_OWN_STRING_WITH_SINGLE_QUOTES:ABC PATH:/opt/hostedtoolcache/node/14.17.6/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root]" time="2021-09-18T13:00:07+02:00" level=debug msg="context needs => map[]" time="2021-09-18T13:00:07+02:00" level=debug msg="Loading slug from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'" time="2021-09-18T13:00:07+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n" time="2021-09-18T13:00:07+02:00" level=debug msg="Loading revision from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'" time="2021-09-18T13:00:07+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n" time="2021-09-18T13:00:07+02:00" level=debug msg="HEAD points to '412b6b0b711dcfbdaa632e9ab316109885b3af6b'" time="2021-09-18T13:00:07+02:00" level=debug msg="using github ref: refs/heads/Act-does-not-transfer-env-from-workflow-to-docker" time="2021-09-18T13:00:07+02:00" level=debug msg="context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache DEPLOYMENT_BASEPATH:/opt/runner IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 MY_OWN_BOOL: MY_OWN_BOOL_WITH_DOUBLE_QUOTES:true MY_OWN_BOOL_WITH_SINGLE_QUOTES:true MY_OWN_INT: MY_OWN_INT_WITH_DOUBLE_QUOTES:1 MY_OWN_INT_WITH_SINGLE_QUOTES:1 MY_OWN_STRING:ABC MY_OWN_STRING_WITH_DOUBLE_QUOTES:ABC MY_OWN_STRING_WITH_SINGLE_QUOTES:ABC PATH:/opt/hostedtoolcache/node/14.17.6/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root]" time="2021-09-18T13:00:07+02:00" level=debug msg="context needs => map[]" time="2021-09-18T13:00:07+02:00" level=debug msg="Loading slug from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'" time="2021-09-18T13:00:07+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n" time="2021-09-18T13:00:07+02:00" level=debug msg="Loading revision from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'" time="2021-09-18T13:00:07+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n" time="2021-09-18T13:00:07+02:00" level=debug msg="HEAD points to '412b6b0b711dcfbdaa632e9ab316109885b3af6b'" time="2021-09-18T13:00:07+02:00" level=debug msg="using github ref: refs/heads/Act-does-not-transfer-env-from-workflow-to-docker" time="2021-09-18T13:00:07+02:00" level=debug msg="context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache DEPLOYMENT_BASEPATH:/opt/runner IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 MY_OWN_BOOL: MY_OWN_BOOL_WITH_DOUBLE_QUOTES:true MY_OWN_BOOL_WITH_SINGLE_QUOTES:true MY_OWN_INT: MY_OWN_INT_WITH_DOUBLE_QUOTES:1 MY_OWN_INT_WITH_SINGLE_QUOTES:1 MY_OWN_STRING:ABC MY_OWN_STRING_WITH_DOUBLE_QUOTES:ABC MY_OWN_STRING_WITH_SINGLE_QUOTES:ABC PATH:/opt/hostedtoolcache/node/14.17.6/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root]" time="2021-09-18T13:00:07+02:00" level=debug msg="context needs => map[]" time="2021-09-18T13:00:07+02:00" level=debug msg="Loading slug from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'" time="2021-09-18T13:00:07+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n" time="2021-09-18T13:00:07+02:00" level=debug msg="Loading revision from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'" time="2021-09-18T13:00:07+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n" time="2021-09-18T13:00:07+02:00" level=debug msg="HEAD points to '412b6b0b711dcfbdaa632e9ab316109885b3af6b'" time="2021-09-18T13:00:07+02:00" level=debug msg="using github ref: refs/heads/Act-does-not-transfer-env-from-workflow-to-docker" time="2021-09-18T13:00:07+02:00" level=debug msg="context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache DEPLOYMENT_BASEPATH:/opt/runner IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 MY_OWN_BOOL: MY_OWN_BOOL_WITH_DOUBLE_QUOTES:true MY_OWN_BOOL_WITH_SINGLE_QUOTES:true MY_OWN_INT: MY_OWN_INT_WITH_DOUBLE_QUOTES:1 MY_OWN_INT_WITH_SINGLE_QUOTES:1 MY_OWN_STRING:ABC MY_OWN_STRING_WITH_DOUBLE_QUOTES:ABC MY_OWN_STRING_WITH_SINGLE_QUOTES:ABC PATH:/opt/hostedtoolcache/node/14.17.6/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root]" time="2021-09-18T13:00:07+02:00" level=debug msg="context needs => map[]" time="2021-09-18T13:00:07+02:00" level=debug msg="Loading slug from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'" time="2021-09-18T13:00:07+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n" time="2021-09-18T13:00:07+02:00" level=debug msg="Loading revision from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'" time="2021-09-18T13:00:07+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n" time="2021-09-18T13:00:07+02:00" level=debug msg="HEAD points to '412b6b0b711dcfbdaa632e9ab316109885b3af6b'" time="2021-09-18T13:00:07+02:00" level=debug msg="using github ref: refs/heads/Act-does-not-transfer-env-from-workflow-to-docker" time="2021-09-18T13:00:07+02:00" level=debug msg="context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache DEPLOYMENT_BASEPATH:/opt/runner IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 MY_OWN_BOOL: MY_OWN_BOOL_WITH_DOUBLE_QUOTES:true MY_OWN_BOOL_WITH_SINGLE_QUOTES:true MY_OWN_INT: MY_OWN_INT_WITH_DOUBLE_QUOTES:1 MY_OWN_INT_WITH_SINGLE_QUOTES:1 MY_OWN_STRING:ABC MY_OWN_STRING_WITH_DOUBLE_QUOTES:ABC MY_OWN_STRING_WITH_SINGLE_QUOTES:ABC PATH:/opt/hostedtoolcache/node/14.17.6/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root]" time="2021-09-18T13:00:07+02:00" level=debug msg="context needs => map[]" time="2021-09-18T13:00:07+02:00" level=debug msg="context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:2 GITHUB_ACTIONS:true GITHUB_ACTION_PATH:/var/run/act/actions/actions-setup-dotnet@v1 GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt 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:Build C# code and run tests GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/Act-does-not-transfer-env-from-workflow-to-docker GITHUB_REPOSITORY:henrikrxn/act-simple-repro-for-issues GITHUB_REPOSITORY_OWNER:henrikrxn GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:412b6b0b711dcfbdaa632e9ab316109885b3af6b GITHUB_TOKEN: GITHUB_WORKFLOW:Build site GITHUB_WORKSPACE:/mnt/e/MyGithub/act-simple-repro-for-issues IMAGE_OS:ubuntu20 INPUT_CONFIG-FILE: INPUT_DOTNET-VERSION: INPUT_INCLUDE-PRERELEASE: INPUT_OWNER: INPUT_SOURCE-URL: ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 MY_OWN_BOOL: MY_OWN_BOOL_WITH_DOUBLE_QUOTES:true MY_OWN_BOOL_WITH_SINGLE_QUOTES:true MY_OWN_INT: MY_OWN_INT_WITH_DOUBLE_QUOTES:1 MY_OWN_INT_WITH_SINGLE_QUOTES:1 MY_OWN_STRING:ABC MY_OWN_STRING_WITH_DOUBLE_QUOTES:ABC MY_OWN_STRING_WITH_SINGLE_QUOTES:ABC PATH:/opt/hostedtoolcache/node/14.17.6/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root]" [Build site/Build C# code and run tests] ✅ Success - Install .NET Core SDK time="2021-09-18T13:00:07+02:00" level=debug msg="Loading slug from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'" time="2021-09-18T13:00:07+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n" time="2021-09-18T13:00:07+02:00" level=debug msg="Loading revision from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'" time="2021-09-18T13:00:07+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n" time="2021-09-18T13:00:07+02:00" level=debug msg="HEAD points to '412b6b0b711dcfbdaa632e9ab316109885b3af6b'" time="2021-09-18T13:00:07+02:00" level=debug msg="using github ref: refs/heads/Act-does-not-transfer-env-from-workflow-to-docker" time="2021-09-18T13:00:07+02:00" level=debug msg="Loading slug from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'" time="2021-09-18T13:00:07+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n" time="2021-09-18T13:00:07+02:00" level=debug msg="Loading revision from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'" time="2021-09-18T13:00:07+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n" time="2021-09-18T13:00:07+02:00" level=debug msg="HEAD points to '412b6b0b711dcfbdaa632e9ab316109885b3af6b'" time="2021-09-18T13:00:07+02:00" level=debug msg="using github ref: refs/heads/Act-does-not-transfer-env-from-workflow-to-docker" time="2021-09-18T13:00:07+02:00" level=debug msg="context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache DEPLOYMENT_BASEPATH:/opt/runner IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 MY_OWN_BOOL: MY_OWN_BOOL_WITH_DOUBLE_QUOTES:true MY_OWN_BOOL_WITH_SINGLE_QUOTES:true MY_OWN_INT: MY_OWN_INT_WITH_DOUBLE_QUOTES:1 MY_OWN_INT_WITH_SINGLE_QUOTES:1 MY_OWN_STRING:ABC MY_OWN_STRING_WITH_DOUBLE_QUOTES:ABC MY_OWN_STRING_WITH_SINGLE_QUOTES:ABC PATH:/opt/hostedtoolcache/node/14.17.6/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root]" time="2021-09-18T13:00:07+02:00" level=debug msg="context needs => map[]" time="2021-09-18T13:00:07+02:00" level=debug msg="context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEPLOYMENT_BASEPATH:/opt/runner DOTNET_ROOT:/root/.dotnet GITHUB_ACTION:3 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt 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:Build C# code and run tests GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/Act-does-not-transfer-env-from-workflow-to-docker GITHUB_REPOSITORY:henrikrxn/act-simple-repro-for-issues GITHUB_REPOSITORY_OWNER:henrikrxn GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:412b6b0b711dcfbdaa632e9ab316109885b3af6b GITHUB_TOKEN: GITHUB_WORKFLOW:Build site GITHUB_WORKSPACE:/mnt/e/MyGithub/act-simple-repro-for-issues IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 MY_OWN_BOOL: MY_OWN_BOOL_WITH_DOUBLE_QUOTES:true MY_OWN_BOOL_WITH_SINGLE_QUOTES:true MY_OWN_INT: MY_OWN_INT_WITH_DOUBLE_QUOTES:1 MY_OWN_INT_WITH_SINGLE_QUOTES:1 MY_OWN_STRING:ABC MY_OWN_STRING_WITH_DOUBLE_QUOTES:ABC MY_OWN_STRING_WITH_SINGLE_QUOTES:ABC PATH:/root/.dotnet:/opt/hostedtoolcache/node/14.17.6/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root]" [Build site/Build C# code and run tests] setupEnv => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEPLOYMENT_BASEPATH:/opt/runner DOTNET_ROOT:/root/.dotnet GITHUB_ACTION:3 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt 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:Build C# code and run tests GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/Act-does-not-transfer-env-from-workflow-to-docker GITHUB_REPOSITORY:henrikrxn/act-simple-repro-for-issues GITHUB_REPOSITORY_OWNER:henrikrxn GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:412b6b0b711dcfbdaa632e9ab316109885b3af6b GITHUB_TOKEN: GITHUB_WORKFLOW:Build site GITHUB_WORKSPACE:/mnt/e/MyGithub/act-simple-repro-for-issues IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 MY_OWN_BOOL: MY_OWN_BOOL_WITH_DOUBLE_QUOTES:true MY_OWN_BOOL_WITH_SINGLE_QUOTES:true MY_OWN_INT: MY_OWN_INT_WITH_DOUBLE_QUOTES:1 MY_OWN_INT_WITH_SINGLE_QUOTES:1 MY_OWN_STRING:ABC MY_OWN_STRING_WITH_DOUBLE_QUOTES:ABC MY_OWN_STRING_WITH_SINGLE_QUOTES:ABC PATH:/root/.dotnet:/opt/hostedtoolcache/node/14.17.6/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root] [Build site/Build C# code and run tests] ⭐ Run Restore NuGet packages time="2021-09-18T13:00:07+02:00" level=debug msg="Wrote command '\ndotnet restore\n' to 'workflow/3'" time="2021-09-18T13:00:07+02:00" level=debug msg="Writing entry to tarball workflow/3 len:14" [Build site/Build C# code and run tests] Extracting content to '/mnt/e/MyGithub/act-simple-repro-for-issues' [Build site/Build C# code and run tests] 🐳 docker exec cmd=[bash --noprofile --norc -e -o pipefail /mnt/e/MyGithub/act-simple-repro-for-issues/workflow/3] user= [Build site/Build C# code and run tests] Exec command '[bash --noprofile --norc -e -o pipefail /mnt/e/MyGithub/act-simple-repro-for-issues/workflow/3]' | | Welcome to .NET Core 3.1! | --------------------- | SDK Version: 3.1.413 | | Telemetry | --------- | The .NET Core tools collect usage data in order to help us improve your experience. It is collected by Microsoft and shared with the community. You can opt-out of telemetry by setting the DOTNET_CLI_TELEMETRY_OPTOUT environment variable to '1' or 'true' using your favorite shell. | | Read more about .NET Core CLI Tools telemetry: https://aka.ms/dotnet-cli-telemetry | | ---------------- | Explore documentation: https://aka.ms/dotnet-docs | Report issues and find source on GitHub: https://github.com/dotnet/core | Find out what's new: https://aka.ms/dotnet-whats-new | Learn about the installed HTTPS developer cert: https://aka.ms/aspnet-core-https | Use 'dotnet --help' to see available commands or visit: https://aka.ms/dotnet-cli-docs | Write your first app: https://aka.ms/first-net-core-app | -------------------------------------------------------------------------------------- | Determining projects to restore... | Restored /mnt/e/MyGithub/act-simple-repro-for-issues/ToHaveWorkflowForAct.csproj (in 138 ms). time="2021-09-18T13:00:09+02:00" level=debug msg="Loading slug from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'" time="2021-09-18T13:00:09+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n" time="2021-09-18T13:00:09+02:00" level=debug msg="Loading revision from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'" time="2021-09-18T13:00:09+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n" time="2021-09-18T13:00:09+02:00" level=debug msg="HEAD points to '412b6b0b711dcfbdaa632e9ab316109885b3af6b'" time="2021-09-18T13:00:09+02:00" level=debug msg="using github ref: refs/heads/Act-does-not-transfer-env-from-workflow-to-docker" time="2021-09-18T13:00:09+02:00" level=debug msg="context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache DEPLOYMENT_BASEPATH:/opt/runner IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 MY_OWN_BOOL: MY_OWN_BOOL_WITH_DOUBLE_QUOTES:true MY_OWN_BOOL_WITH_SINGLE_QUOTES:true MY_OWN_INT: MY_OWN_INT_WITH_DOUBLE_QUOTES:1 MY_OWN_INT_WITH_SINGLE_QUOTES:1 MY_OWN_STRING:ABC MY_OWN_STRING_WITH_DOUBLE_QUOTES:ABC MY_OWN_STRING_WITH_SINGLE_QUOTES:ABC PATH:/opt/hostedtoolcache/node/14.17.6/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root]" time="2021-09-18T13:00:09+02:00" level=debug msg="context needs => map[]" time="2021-09-18T13:00:09+02:00" level=debug msg="context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEPLOYMENT_BASEPATH:/opt/runner DOTNET_ROOT:/root/.dotnet GITHUB_ACTION:3 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt 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:Build C# code and run tests GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/Act-does-not-transfer-env-from-workflow-to-docker GITHUB_REPOSITORY:henrikrxn/act-simple-repro-for-issues GITHUB_REPOSITORY_OWNER:henrikrxn GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:412b6b0b711dcfbdaa632e9ab316109885b3af6b GITHUB_TOKEN: GITHUB_WORKFLOW:Build site GITHUB_WORKSPACE:/mnt/e/MyGithub/act-simple-repro-for-issues IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 MY_OWN_BOOL: MY_OWN_BOOL_WITH_DOUBLE_QUOTES:true MY_OWN_BOOL_WITH_SINGLE_QUOTES:true MY_OWN_INT: MY_OWN_INT_WITH_DOUBLE_QUOTES:1 MY_OWN_INT_WITH_SINGLE_QUOTES:1 MY_OWN_STRING:ABC MY_OWN_STRING_WITH_DOUBLE_QUOTES:ABC MY_OWN_STRING_WITH_SINGLE_QUOTES:ABC PATH:/root/.dotnet:/opt/hostedtoolcache/node/14.17.6/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root]" [Build site/Build C# code and run tests] ✅ Success - Restore NuGet packages time="2021-09-18T13:00:09+02:00" level=debug msg="Loading slug from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'" time="2021-09-18T13:00:09+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n" time="2021-09-18T13:00:09+02:00" level=debug msg="Loading revision from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'" time="2021-09-18T13:00:09+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n" time="2021-09-18T13:00:09+02:00" level=debug msg="HEAD points to '412b6b0b711dcfbdaa632e9ab316109885b3af6b'" time="2021-09-18T13:00:09+02:00" level=debug msg="using github ref: refs/heads/Act-does-not-transfer-env-from-workflow-to-docker" time="2021-09-18T13:00:09+02:00" level=debug msg="Loading slug from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'" time="2021-09-18T13:00:09+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n" time="2021-09-18T13:00:09+02:00" level=debug msg="Loading revision from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'" time="2021-09-18T13:00:09+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n" time="2021-09-18T13:00:09+02:00" level=debug msg="HEAD points to '412b6b0b711dcfbdaa632e9ab316109885b3af6b'" time="2021-09-18T13:00:09+02:00" level=debug msg="using github ref: refs/heads/Act-does-not-transfer-env-from-workflow-to-docker" time="2021-09-18T13:00:09+02:00" level=debug msg="context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache DEPLOYMENT_BASEPATH:/opt/runner IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 MY_OWN_BOOL: MY_OWN_BOOL_WITH_DOUBLE_QUOTES:true MY_OWN_BOOL_WITH_SINGLE_QUOTES:true MY_OWN_INT: MY_OWN_INT_WITH_DOUBLE_QUOTES:1 MY_OWN_INT_WITH_SINGLE_QUOTES:1 MY_OWN_STRING:ABC MY_OWN_STRING_WITH_DOUBLE_QUOTES:ABC MY_OWN_STRING_WITH_SINGLE_QUOTES:ABC PATH:/opt/hostedtoolcache/node/14.17.6/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root]" time="2021-09-18T13:00:09+02:00" level=debug msg="context needs => map[]" time="2021-09-18T13:00:09+02:00" level=debug msg="context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEPLOYMENT_BASEPATH:/opt/runner DOTNET_ROOT:/root/.dotnet GITHUB_ACTION:4 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt 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:Build C# code and run tests GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/Act-does-not-transfer-env-from-workflow-to-docker GITHUB_REPOSITORY:henrikrxn/act-simple-repro-for-issues GITHUB_REPOSITORY_OWNER:henrikrxn GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:412b6b0b711dcfbdaa632e9ab316109885b3af6b GITHUB_TOKEN: GITHUB_WORKFLOW:Build site GITHUB_WORKSPACE:/mnt/e/MyGithub/act-simple-repro-for-issues IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 MY_OWN_BOOL: MY_OWN_BOOL_WITH_DOUBLE_QUOTES:true MY_OWN_BOOL_WITH_SINGLE_QUOTES:true MY_OWN_INT: MY_OWN_INT_WITH_DOUBLE_QUOTES:1 MY_OWN_INT_WITH_SINGLE_QUOTES:1 MY_OWN_STRING:ABC MY_OWN_STRING_WITH_DOUBLE_QUOTES:ABC MY_OWN_STRING_WITH_SINGLE_QUOTES:ABC PATH:/root/.dotnet:/opt/hostedtoolcache/node/14.17.6/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root]" [Build site/Build C# code and run tests] setupEnv => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEPLOYMENT_BASEPATH:/opt/runner DOTNET_ROOT:/root/.dotnet GITHUB_ACTION:4 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt 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:Build C# code and run tests GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/Act-does-not-transfer-env-from-workflow-to-docker GITHUB_REPOSITORY:henrikrxn/act-simple-repro-for-issues GITHUB_REPOSITORY_OWNER:henrikrxn GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:412b6b0b711dcfbdaa632e9ab316109885b3af6b GITHUB_TOKEN: GITHUB_WORKFLOW:Build site GITHUB_WORKSPACE:/mnt/e/MyGithub/act-simple-repro-for-issues IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 MY_OWN_BOOL: MY_OWN_BOOL_WITH_DOUBLE_QUOTES:true MY_OWN_BOOL_WITH_SINGLE_QUOTES:true MY_OWN_INT: MY_OWN_INT_WITH_DOUBLE_QUOTES:1 MY_OWN_INT_WITH_SINGLE_QUOTES:1 MY_OWN_STRING:ABC MY_OWN_STRING_WITH_DOUBLE_QUOTES:ABC MY_OWN_STRING_WITH_SINGLE_QUOTES:ABC PATH:/root/.dotnet:/opt/hostedtoolcache/node/14.17.6/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root] [Build site/Build C# code and run tests] ⭐ Run Build solution time="2021-09-18T13:00:09+02:00" level=debug msg="Wrote command '\ndotnet build --configuration Release --no-restore\n' to 'workflow/4'" time="2021-09-18T13:00:09+02:00" level=debug msg="Writing entry to tarball workflow/4 len:49" [Build site/Build C# code and run tests] Extracting content to '/mnt/e/MyGithub/act-simple-repro-for-issues' [Build site/Build C# code and run tests] 🐳 docker exec cmd=[bash --noprofile --norc -e -o pipefail /mnt/e/MyGithub/act-simple-repro-for-issues/workflow/4] user= [Build site/Build C# code and run tests] Exec command '[bash --noprofile --norc -e -o pipefail /mnt/e/MyGithub/act-simple-repro-for-issues/workflow/4]' | Microsoft (R) Build Engine version 16.7.2+b60ddb6f4 for .NET | Copyright (C) Microsoft Corporation. All rights reserved. | | ToHaveWorkflowForAct -> /mnt/e/MyGithub/act-simple-repro-for-issues/bin/Release/netcoreapp3.1/ToHaveWorkflowForAct.dll | | Build succeeded. | 0 Warning(s) | 0 Error(s) | | Time Elapsed 00:00:01.33 time="2021-09-18T13:00:11+02:00" level=debug msg="Loading slug from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'" time="2021-09-18T13:00:11+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n" time="2021-09-18T13:00:11+02:00" level=debug msg="Loading revision from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'" time="2021-09-18T13:00:11+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n" time="2021-09-18T13:00:11+02:00" level=debug msg="HEAD points to '412b6b0b711dcfbdaa632e9ab316109885b3af6b'" time="2021-09-18T13:00:11+02:00" level=debug msg="using github ref: refs/heads/Act-does-not-transfer-env-from-workflow-to-docker" time="2021-09-18T13:00:11+02:00" level=debug msg="context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache DEPLOYMENT_BASEPATH:/opt/runner IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 MY_OWN_BOOL: MY_OWN_BOOL_WITH_DOUBLE_QUOTES:true MY_OWN_BOOL_WITH_SINGLE_QUOTES:true MY_OWN_INT: MY_OWN_INT_WITH_DOUBLE_QUOTES:1 MY_OWN_INT_WITH_SINGLE_QUOTES:1 MY_OWN_STRING:ABC MY_OWN_STRING_WITH_DOUBLE_QUOTES:ABC MY_OWN_STRING_WITH_SINGLE_QUOTES:ABC PATH:/opt/hostedtoolcache/node/14.17.6/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root]" time="2021-09-18T13:00:11+02:00" level=debug msg="context needs => map[]" time="2021-09-18T13:00:11+02:00" level=debug msg="context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEPLOYMENT_BASEPATH:/opt/runner DOTNET_ROOT:/root/.dotnet GITHUB_ACTION:4 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt 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:Build C# code and run tests GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/Act-does-not-transfer-env-from-workflow-to-docker GITHUB_REPOSITORY:henrikrxn/act-simple-repro-for-issues GITHUB_REPOSITORY_OWNER:henrikrxn GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:412b6b0b711dcfbdaa632e9ab316109885b3af6b GITHUB_TOKEN: GITHUB_WORKFLOW:Build site GITHUB_WORKSPACE:/mnt/e/MyGithub/act-simple-repro-for-issues IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 MY_OWN_BOOL: MY_OWN_BOOL_WITH_DOUBLE_QUOTES:true MY_OWN_BOOL_WITH_SINGLE_QUOTES:true MY_OWN_INT: MY_OWN_INT_WITH_DOUBLE_QUOTES:1 MY_OWN_INT_WITH_SINGLE_QUOTES:1 MY_OWN_STRING:ABC MY_OWN_STRING_WITH_DOUBLE_QUOTES:ABC MY_OWN_STRING_WITH_SINGLE_QUOTES:ABC PATH:/root/.dotnet:/opt/hostedtoolcache/node/14.17.6/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root]" [Build site/Build C# code and run tests] ✅ Success - Build solution time="2021-09-18T13:00:11+02:00" level=debug msg="Loading slug from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'" time="2021-09-18T13:00:11+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n" time="2021-09-18T13:00:11+02:00" level=debug msg="Loading revision from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'" time="2021-09-18T13:00:11+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n" time="2021-09-18T13:00:11+02:00" level=debug msg="HEAD points to '412b6b0b711dcfbdaa632e9ab316109885b3af6b'" time="2021-09-18T13:00:11+02:00" level=debug msg="using github ref: refs/heads/Act-does-not-transfer-env-from-workflow-to-docker" time="2021-09-18T13:00:11+02:00" level=debug msg="Loading slug from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'" time="2021-09-18T13:00:11+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n" time="2021-09-18T13:00:11+02:00" level=debug msg="Loading revision from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'" time="2021-09-18T13:00:11+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n" time="2021-09-18T13:00:11+02:00" level=debug msg="HEAD points to '412b6b0b711dcfbdaa632e9ab316109885b3af6b'" time="2021-09-18T13:00:11+02:00" level=debug msg="using github ref: refs/heads/Act-does-not-transfer-env-from-workflow-to-docker" time="2021-09-18T13:00:11+02:00" level=debug msg="context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache DEPLOYMENT_BASEPATH:/opt/runner IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 MY_OWN_BOOL: MY_OWN_BOOL_WITH_DOUBLE_QUOTES:true MY_OWN_BOOL_WITH_SINGLE_QUOTES:true MY_OWN_INT: MY_OWN_INT_WITH_DOUBLE_QUOTES:1 MY_OWN_INT_WITH_SINGLE_QUOTES:1 MY_OWN_STRING:ABC MY_OWN_STRING_WITH_DOUBLE_QUOTES:ABC MY_OWN_STRING_WITH_SINGLE_QUOTES:ABC PATH:/opt/hostedtoolcache/node/14.17.6/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root]" time="2021-09-18T13:00:11+02:00" level=debug msg="context needs => map[]" time="2021-09-18T13:00:11+02:00" level=debug msg="context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEPLOYMENT_BASEPATH:/opt/runner DOTNET_ROOT:/root/.dotnet GITHUB_ACTION:5 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt 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:Build C# code and run tests GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/Act-does-not-transfer-env-from-workflow-to-docker GITHUB_REPOSITORY:henrikrxn/act-simple-repro-for-issues GITHUB_REPOSITORY_OWNER:henrikrxn GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:412b6b0b711dcfbdaa632e9ab316109885b3af6b GITHUB_TOKEN: GITHUB_WORKFLOW:Build site GITHUB_WORKSPACE:/mnt/e/MyGithub/act-simple-repro-for-issues IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 MY_OWN_BOOL: MY_OWN_BOOL_WITH_DOUBLE_QUOTES:true MY_OWN_BOOL_WITH_SINGLE_QUOTES:true MY_OWN_INT: MY_OWN_INT_WITH_DOUBLE_QUOTES:1 MY_OWN_INT_WITH_SINGLE_QUOTES:1 MY_OWN_STRING:ABC MY_OWN_STRING_WITH_DOUBLE_QUOTES:ABC MY_OWN_STRING_WITH_SINGLE_QUOTES:ABC PATH:/root/.dotnet:/opt/hostedtoolcache/node/14.17.6/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root]" [Build site/Build C# code and run tests] setupEnv => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEPLOYMENT_BASEPATH:/opt/runner DOTNET_ROOT:/root/.dotnet GITHUB_ACTION:5 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt 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:Build C# code and run tests GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/Act-does-not-transfer-env-from-workflow-to-docker GITHUB_REPOSITORY:henrikrxn/act-simple-repro-for-issues GITHUB_REPOSITORY_OWNER:henrikrxn GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:412b6b0b711dcfbdaa632e9ab316109885b3af6b GITHUB_TOKEN: GITHUB_WORKFLOW:Build site GITHUB_WORKSPACE:/mnt/e/MyGithub/act-simple-repro-for-issues IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 MY_OWN_BOOL: MY_OWN_BOOL_WITH_DOUBLE_QUOTES:true MY_OWN_BOOL_WITH_SINGLE_QUOTES:true MY_OWN_INT: MY_OWN_INT_WITH_DOUBLE_QUOTES:1 MY_OWN_INT_WITH_SINGLE_QUOTES:1 MY_OWN_STRING:ABC MY_OWN_STRING_WITH_DOUBLE_QUOTES:ABC MY_OWN_STRING_WITH_SINGLE_QUOTES:ABC PATH:/root/.dotnet:/opt/hostedtoolcache/node/14.17.6/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root] [Build site/Build C# code and run tests] ⭐ Run Run tests from solution time="2021-09-18T13:00:11+02:00" level=debug msg="Wrote command '\ndotnet test --no-restore --no-build\n' to 'workflow/5'" time="2021-09-18T13:00:11+02:00" level=debug msg="Writing entry to tarball workflow/5 len:35" [Build site/Build C# code and run tests] Extracting content to '/mnt/e/MyGithub/act-simple-repro-for-issues' [Build site/Build C# code and run tests] 🐳 docker exec cmd=[bash --noprofile --norc -e -o pipefail /mnt/e/MyGithub/act-simple-repro-for-issues/workflow/5] user= [Build site/Build C# code and run tests] Exec command '[bash --noprofile --norc -e -o pipefail /mnt/e/MyGithub/act-simple-repro-for-issues/workflow/5]' time="2021-09-18T13:00:12+02:00" level=debug msg="Loading slug from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'" time="2021-09-18T13:00:12+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n" time="2021-09-18T13:00:12+02:00" level=debug msg="Loading revision from git directory 'E:\\MyGithub\\act-simple-repro-for-issues\\.git'" time="2021-09-18T13:00:12+02:00" level=debug msg="Found revision: 412b6b0b711dcfbdaa632e9ab316109885b3af6b\n" time="2021-09-18T13:00:12+02:00" level=debug msg="HEAD points to '412b6b0b711dcfbdaa632e9ab316109885b3af6b'" time="2021-09-18T13:00:12+02:00" level=debug msg="using github ref: refs/heads/Act-does-not-transfer-env-from-workflow-to-docker" time="2021-09-18T13:00:12+02:00" level=debug msg="context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache DEPLOYMENT_BASEPATH:/opt/runner IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 MY_OWN_BOOL: MY_OWN_BOOL_WITH_DOUBLE_QUOTES:true MY_OWN_BOOL_WITH_SINGLE_QUOTES:true MY_OWN_INT: MY_OWN_INT_WITH_DOUBLE_QUOTES:1 MY_OWN_INT_WITH_SINGLE_QUOTES:1 MY_OWN_STRING:ABC MY_OWN_STRING_WITH_DOUBLE_QUOTES:ABC MY_OWN_STRING_WITH_SINGLE_QUOTES:ABC PATH:/opt/hostedtoolcache/node/14.17.6/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root]" time="2021-09-18T13:00:12+02:00" level=debug msg="context needs => map[]" time="2021-09-18T13:00:12+02:00" level=debug msg="context env => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEPLOYMENT_BASEPATH:/opt/runner DOTNET_ROOT:/root/.dotnet GITHUB_ACTION:5 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt 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:Build C# code and run tests GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/Act-does-not-transfer-env-from-workflow-to-docker GITHUB_REPOSITORY:henrikrxn/act-simple-repro-for-issues GITHUB_REPOSITORY_OWNER:henrikrxn GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:412b6b0b711dcfbdaa632e9ab316109885b3af6b GITHUB_TOKEN: GITHUB_WORKFLOW:Build site GITHUB_WORKSPACE:/mnt/e/MyGithub/act-simple-repro-for-issues IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 MY_OWN_BOOL: MY_OWN_BOOL_WITH_DOUBLE_QUOTES:true MY_OWN_BOOL_WITH_SINGLE_QUOTES:true MY_OWN_INT: MY_OWN_INT_WITH_DOUBLE_QUOTES:1 MY_OWN_INT_WITH_SINGLE_QUOTES:1 MY_OWN_STRING:ABC MY_OWN_STRING_WITH_DOUBLE_QUOTES:ABC MY_OWN_STRING_WITH_SINGLE_QUOTES:ABC PATH:/root/.dotnet:/opt/hostedtoolcache/node/14.17.6/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root]" [Build site/Build C# code and run tests] ✅ Success - Run tests from solution [Build site/Build C# code and run tests] Removed container: 4e03e7bcad06887721b2b7be1634368e402a4d472d9f5a2102c89108d49f4cb6 [Build site/Build C# code and run tests] 🐳 docker volume rm act-Build-site-Build-C-code-and-run-tests ``` </details>
kerem 2026-03-01 21:43:59 +03:00
Author
Owner

@henrikrxn commented on GitHub (Sep 18, 2021):

The workaround is simple: Just add quotes around the value

<!-- gh-comment-id:922325873 --> @henrikrxn commented on GitHub (Sep 18, 2021): The workaround is simple: Just add quotes around the value
Author
Owner

@github-actions[bot] commented on GitHub (Oct 29, 2021):

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

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

@henrikrxn commented on GitHub (Oct 29, 2021):

Not stale

<!-- gh-comment-id:954477963 --> @henrikrxn commented on GitHub (Oct 29, 2021): Not stale
Author
Owner

@github-actions[bot] commented on GitHub (Nov 29, 2021):

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

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

@henrikrxn commented on GitHub (Nov 29, 2021):

@catthehacker

Checked against release 0.2.25 and it looks like the issue has been fixed by some of the changes in the release.

<!-- gh-comment-id:981642200 --> @henrikrxn commented on GitHub (Nov 29, 2021): @catthehacker Checked against release 0.2.25 and it looks like the issue has been fixed by some of the changes in the release.
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#504
No description provided.