[GH-ISSUE #1231] Step environment is not accounted when evaluating input for composite actions #677

Closed
opened 2026-03-01 21:45:27 +03:00 by kerem · 1 comment
Owner

Originally created by @grigorye on GitHub (Jun 24, 2022).
Original GitHub issue: https://github.com/nektos/act/issues/1231

Bug report info

act version:            0.2.28
GOOS:                   darwin
GOARCH:                 arm64
NumCPU:                 10
Docker host:            DOCKER_HOST environment variable is unset/empty.
Sockets found:
	/var/run/docker.sock
Config files:
	/Users/grigorii.entin/.actrc:
		-P ubuntu-latest=ghcr.io/catthehacker/ubuntu:act-latest
		-P ubuntu-22.04=ghcr.io/catthehacker/ubuntu:act-22.04
		-P ubuntu-20.04=ghcr.io/catthehacker/ubuntu:act-20.04
		-P ubuntu-18.04=ghcr.io/catthehacker/ubuntu:act-18.04
Build info:
	Go version:            go1.18.3
	Module path:           command-line-arguments
	Main version:
	Main path:
	Main checksum:
	Build settings:
		-compiler:            gc
		-ldflags:             -X main.version=0.2.28
		CGO_ENABLED:          1
		CGO_CFLAGS:
		CGO_CPPFLAGS:
		CGO_CXXFLAGS:
		CGO_LDFLAGS:
		GOARCH:               arm64
		GOOS:                 darwin
Docker Engine:
	Engine version:        20.10.16
	Engine runtime:        runc
	Cgroup version:        2
	Cgroup driver:         cgroupfs
	Storage driver:        overlay2
	Registry URI:          https://index.docker.io/v1/
	OS:                    Docker Desktop
	OS type:               linux
	OS version:
	OS arch:               aarch64
	OS kernel:             5.10.104-linuxkit
	OS CPU:                4
	OS memory:             7936 MB
	Security options:
		name=seccomp,profile=default
		name=cgroupns

Command used with act

$ act -W .github/workflows/composite.yml

Describe issue

When an input for a composite action involves ${{ env.XXX }}, in case XXX is either set in previous steps via populating GITHUB_ENV or set in step specific env: for the aciton, XXX value is not accounted.

Compare the output for the sample workflow, from act and native GitHub runner (inputs.z1 and inputs.z2 are set through GITHUB_ENV and via step specific env respectively):

GitHub:

Screen Shot 2022-06-24 at 13 45 26

Act:

Screen Shot 2022-06-24 at 13 42 45

https://github.com/grigorye/act-composite-step-inputs-env-demo

Workflow content

on:
  push: {}
  workflow_dispatch: {}

jobs:
  interp:
    runs-on: ubuntu-latest

    env:
      V1: VALUE1

    steps:
      - name: Checkout
        uses: actions/checkout@v3

      - name: Populate environment via GITHUB_ENV
        run: |
          echo "Z1=VALUE1" >> $GITHUB_ENV

      - name: XXX
        uses: ./.github/actions/composite-action
        env:
          Z2: VALUE2
        with:
          v1: ${{ env.V1 }}
          z1: ${{ env.Z1 }}
          z2: ${{ env.Z2 }}

Relevant log output

$ act -W .github/workflows/composite.yml -v
DEBU[0000] Loading environment from /Users/grigorii.entin/Workbench/act-github-env-demo/.env
DEBU[0000] Loading secrets from /Users/grigorii.entin/Workbench/act-github-env-demo/.secrets
DEBU[0000] Loading workflow '/Users/grigorii.entin/Workbench/act-github-env-demo/.github/workflows/composite.yml'
DEBU[0000] Reading workflow '/Users/grigorii.entin/Workbench/act-github-env-demo/.github/workflows/composite.yml'
DEBU[0000] Planning event: push
DEBU[0000] Loading slug from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git'
DEBU[0000] Loading revision from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git'
DEBU[0000] Found revision: e2f641775e16549a9d364333b1289d052eab7524
DEBU[0000] HEAD points to 'e2f641775e16549a9d364333b1289d052eab7524'
DEBU[0000] using github ref: refs/heads/master
DEBU[0000] Found revision: e2f641775e16549a9d364333b1289d052eab7524
DEBU[0000] evaluating expression 'VALUE1'
DEBU[0000] expression 'VALUE1' evaluated to '%!t(<nil>)'
DEBU[0000] evaluating expression 'true'
DEBU[0000] expression 'true' evaluated to 'true'
[composite.yml/interp] [DEBUG] evaluating expression 'success()'
[composite.yml/interp] [DEBUG] expression 'success()' evaluated to 'true'
[composite.yml/interp] 🚀  Start image=ghcr.io/catthehacker/ubuntu:act-latest
[composite.yml/interp]   🐳  docker pull image=ghcr.io/catthehacker/ubuntu:act-latest platform= username= forcePull=false
[composite.yml/interp] [DEBUG]   🐳  docker pull ghcr.io/catthehacker/ubuntu:act-latest
[composite.yml/interp] [DEBUG] Image exists? true
[composite.yml/interp]   🐳  docker create image=ghcr.io/catthehacker/ubuntu:act-latest platform= entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[composite.yml/interp] [DEBUG] Created container name=act-composite-yml-interp id=de5f7479c7b79da45bf856a0c6a4f4f6e51013701cacc2ac32fb2edb4ea38403 from image ghcr.io/catthehacker/ubuntu:act-latest (platform: )
[composite.yml/interp] [DEBUG] ENV ==> [RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUNNER_OS=Linux RUNNER_TEMP=/tmp]
[composite.yml/interp]   🐳  docker run image=ghcr.io/catthehacker/ubuntu:act-latest platform= entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[composite.yml/interp] [DEBUG] Starting container: de5f7479c7b79da45bf856a0c6a4f4f6e51013701cacc2ac32fb2edb4ea38403
[composite.yml/interp] [DEBUG] Started container: de5f7479c7b79da45bf856a0c6a4f4f6e51013701cacc2ac32fb2edb4ea38403
[composite.yml/interp]   🐳  docker exec cmd=[chown -R 0:0 /Users/grigorii.entin/Workbench/act-github-env-demo] user=0 workdir=
[composite.yml/interp] [DEBUG] Exec command '[chown -R 0:0 /Users/grigorii.entin/Workbench/act-github-env-demo]'
[composite.yml/interp] [DEBUG] Working directory '/Users/grigorii.entin/Workbench/act-github-env-demo'
[composite.yml/interp] [DEBUG] Writing entry to tarball workflow/event.json len:2
[composite.yml/interp] [DEBUG] Writing entry to tarball workflow/envs.txt len:0
[composite.yml/interp] [DEBUG] Writing entry to tarball workflow/paths.txt len:0
[composite.yml/interp] [DEBUG] Extracting content to '/var/run/act/'
[composite.yml/interp] [DEBUG] Loading slug from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git'
[composite.yml/interp] [DEBUG] Loading revision from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git'
[composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524
[composite.yml/interp] [DEBUG] HEAD points to 'e2f641775e16549a9d364333b1289d052eab7524'
[composite.yml/interp] [DEBUG] using github ref: refs/heads/master
[composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524
[composite.yml/interp] [DEBUG] Skipping local actions/checkout because workdir was already copied
[composite.yml/interp] [DEBUG] skip pre step for 'Checkout': no action model available
[composite.yml/interp] [DEBUG] Loading slug from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git'
[composite.yml/interp] [DEBUG] Loading revision from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git'
[composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524
[composite.yml/interp] [DEBUG] HEAD points to 'e2f641775e16549a9d364333b1289d052eab7524'
[composite.yml/interp] [DEBUG] using github ref: refs/heads/master
[composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524
[composite.yml/interp] [DEBUG] Skipping local actions/checkout because workdir was already copied
[composite.yml/interp] [DEBUG] Loading slug from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git'
[composite.yml/interp] [DEBUG] Loading revision from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git'
[composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524
[composite.yml/interp] [DEBUG] HEAD points to 'e2f641775e16549a9d364333b1289d052eab7524'
[composite.yml/interp] [DEBUG] using github ref: refs/heads/master
[composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524
[composite.yml/interp] [DEBUG] Loading slug from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git'
[composite.yml/interp] [DEBUG] Loading revision from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git'
[composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524
[composite.yml/interp] [DEBUG] HEAD points to 'e2f641775e16549a9d364333b1289d052eab7524'
[composite.yml/interp] [DEBUG] using github ref: refs/heads/master
[composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524
[composite.yml/interp] [DEBUG] setupEnv => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEBIAN_FRONTEND:noninteractive DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_PATH: GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_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:interp GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/master GITHUB_REF_NAME:master GITHUB_REF_TYPE:branch GITHUB_REPOSITORY:grigorye/act-github-env-demo GITHUB_REPOSITORY_OWNER:grigorye GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:e2f641775e16549a9d364333b1289d052eab7524 GITHUB_TOKEN: GITHUB_WORKFLOW:composite.yml GITHUB_WORKSPACE:/Users/grigorii.entin/Workbench/act-github-env-demo IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/16.15.0/arm64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root V1:VALUE1]
[composite.yml/interp] [DEBUG] Loading slug from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git'
[composite.yml/interp] [DEBUG] Loading revision from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git'
[composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524
[composite.yml/interp] [DEBUG] HEAD points to 'e2f641775e16549a9d364333b1289d052eab7524'
[composite.yml/interp] [DEBUG] using github ref: refs/heads/master
[composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524
[composite.yml/interp] [DEBUG] evaluating expression ''
[composite.yml/interp] [DEBUG] expression '' evaluated to 'true'
[composite.yml/interp] ⭐ Run Main Checkout
[composite.yml/interp] [DEBUG] Loading slug from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git'
[composite.yml/interp] [DEBUG] Loading revision from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git'
[composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524
[composite.yml/interp] [DEBUG] HEAD points to 'e2f641775e16549a9d364333b1289d052eab7524'
[composite.yml/interp] [DEBUG] using github ref: refs/heads/master
[composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524
[composite.yml/interp] [DEBUG] Loading slug from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git'
[composite.yml/interp] [DEBUG] Loading revision from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git'
[composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524
[composite.yml/interp] [DEBUG] HEAD points to 'e2f641775e16549a9d364333b1289d052eab7524'
[composite.yml/interp] [DEBUG] using github ref: refs/heads/master
[composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524
[composite.yml/interp]   🐳  docker cp src=/Users/grigorii.entin/Workbench/act-github-env-demo/. dst=/Users/grigorii.entin/Workbench/act-github-env-demo
[composite.yml/interp] [DEBUG] Writing tarball /var/folders/46/t8ph0gt50vx9_v5ydd53rlsc0000gp/T/act861369833 from /Users/grigorii.entin/Workbench/act-github-env-demo/.
[composite.yml/interp] [DEBUG] Stripping prefix:/Users/grigorii.entin/Workbench/act-github-env-demo/ src:/Users/grigorii.entin/Workbench/act-github-env-demo/.
[composite.yml/interp] [DEBUG] Extracting content from '/var/folders/46/t8ph0gt50vx9_v5ydd53rlsc0000gp/T/act861369833' to '/Users/grigorii.entin/Workbench/act-github-env-demo'
[composite.yml/interp] close /var/folders/46/t8ph0gt50vx9_v5ydd53rlsc0000gp/T/act861369833: file already closed
[composite.yml/interp]   🐳  docker exec cmd=[chown -R 0:0 /Users/grigorii.entin/Workbench/act-github-env-demo] user=0 workdir=
[composite.yml/interp] [DEBUG] Exec command '[chown -R 0:0 /Users/grigorii.entin/Workbench/act-github-env-demo]'
[composite.yml/interp] [DEBUG] Working directory '/Users/grigorii.entin/Workbench/act-github-env-demo'
[composite.yml/interp]   ✅  Success - Main Checkout
[composite.yml/interp] [DEBUG] Loading slug from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git'
[composite.yml/interp] [DEBUG] Loading revision from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git'
[composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524
[composite.yml/interp] [DEBUG] HEAD points to 'e2f641775e16549a9d364333b1289d052eab7524'
[composite.yml/interp] [DEBUG] using github ref: refs/heads/master
[composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524
[composite.yml/interp] [DEBUG] Loading slug from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git'
[composite.yml/interp] [DEBUG] Loading revision from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git'
[composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524
[composite.yml/interp] [DEBUG] HEAD points to 'e2f641775e16549a9d364333b1289d052eab7524'
[composite.yml/interp] [DEBUG] using github ref: refs/heads/master
[composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524
[composite.yml/interp] [DEBUG] setupEnv => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEBIAN_FRONTEND:noninteractive DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:1 GITHUB_ACTIONS:true GITHUB_ACTION_PATH: GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_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:interp GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/master GITHUB_REF_NAME:master GITHUB_REF_TYPE:branch GITHUB_REPOSITORY:grigorye/act-github-env-demo GITHUB_REPOSITORY_OWNER:grigorye GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:e2f641775e16549a9d364333b1289d052eab7524 GITHUB_TOKEN: GITHUB_WORKFLOW:composite.yml GITHUB_WORKSPACE:/Users/grigorii.entin/Workbench/act-github-env-demo IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/16.15.0/arm64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root V1:VALUE1]
[composite.yml/interp] [DEBUG] Loading slug from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git'
[composite.yml/interp] [DEBUG] Loading revision from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git'
[composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524
[composite.yml/interp] [DEBUG] HEAD points to 'e2f641775e16549a9d364333b1289d052eab7524'
[composite.yml/interp] [DEBUG] using github ref: refs/heads/master
[composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524
[composite.yml/interp] [DEBUG] evaluating expression ''
[composite.yml/interp] [DEBUG] expression '' evaluated to 'true'
[composite.yml/interp] ⭐ Run Main Populate environment via GITHUB_ENV
[composite.yml/interp] [DEBUG] Loading slug from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git'
[composite.yml/interp] [DEBUG] Loading revision from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git'
[composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524
[composite.yml/interp] [DEBUG] HEAD points to 'e2f641775e16549a9d364333b1289d052eab7524'
[composite.yml/interp] [DEBUG] using github ref: refs/heads/master
[composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524
[composite.yml/interp] [DEBUG] Loading slug from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git'
[composite.yml/interp] [DEBUG] Loading revision from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git'
[composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524
[composite.yml/interp] [DEBUG] HEAD points to 'e2f641775e16549a9d364333b1289d052eab7524'
[composite.yml/interp] [DEBUG] using github ref: refs/heads/master
[composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524
[composite.yml/interp] [DEBUG] Loading slug from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git'
[composite.yml/interp] [DEBUG] Loading revision from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git'
[composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524
[composite.yml/interp] [DEBUG] HEAD points to 'e2f641775e16549a9d364333b1289d052eab7524'
[composite.yml/interp] [DEBUG] using github ref: refs/heads/master
[composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524
[composite.yml/interp] [DEBUG] Wrote command

echo "Z1=VALUE1" >> $GITHUB_ENV


 to 'workflow/1'
[composite.yml/interp] [DEBUG] Writing entry to tarball workflow/1 len:34
[composite.yml/interp] [DEBUG] Extracting content to '/var/run/act'
[composite.yml/interp]   🐳  docker exec cmd=[bash --noprofile --norc -e -o pipefail /var/run/act/workflow/1] user= workdir=
[composite.yml/interp] [DEBUG] Exec command '[bash --noprofile --norc -e -o pipefail /var/run/act/workflow/1]'
[composite.yml/interp] [DEBUG] Working directory '/Users/grigorii.entin/Workbench/act-github-env-demo'
[composite.yml/interp]   ✅  Success - Main Populate environment via GITHUB_ENV
[composite.yml/interp] [DEBUG] Loading slug from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git'
[composite.yml/interp] [DEBUG] Loading revision from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git'
[composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524
[composite.yml/interp] [DEBUG] HEAD points to 'e2f641775e16549a9d364333b1289d052eab7524'
[composite.yml/interp] [DEBUG] using github ref: refs/heads/master
[composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524
[composite.yml/interp] [DEBUG] Loading slug from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git'
[composite.yml/interp] [DEBUG] Loading revision from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git'
[composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524
[composite.yml/interp] [DEBUG] HEAD points to 'e2f641775e16549a9d364333b1289d052eab7524'
[composite.yml/interp] [DEBUG] using github ref: refs/heads/master
[composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524
[composite.yml/interp] [DEBUG] expression '${{ env.Z1 }}' rewritten to 'format('{0}', env.Z1)'
[composite.yml/interp] [DEBUG] evaluating expression 'format('{0}', env.Z1)'
[composite.yml/interp] [DEBUG] expression 'format('{0}', env.Z1)' evaluated to '%!t(string=VALUE1)'
[composite.yml/interp] [DEBUG] expression '${{ env.Z2 }}' rewritten to 'format('{0}', env.Z2)'
[composite.yml/interp] [DEBUG] evaluating expression 'format('{0}', env.Z2)'
[composite.yml/interp] [DEBUG] expression 'format('{0}', env.Z2)' evaluated to '%!t(string=VALUE2)'
[composite.yml/interp] [DEBUG] expression '${{ env.V1 }}' rewritten to 'format('{0}', env.V1)'
[composite.yml/interp] [DEBUG] evaluating expression 'format('{0}', env.V1)'
[composite.yml/interp] [DEBUG] expression 'format('{0}', env.V1)' evaluated to '%!t(string=VALUE1)'
[composite.yml/interp] [DEBUG] setupEnv => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEBIAN_FRONTEND:noninteractive DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:2 GITHUB_ACTIONS:true GITHUB_ACTION_PATH: GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_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:interp GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/master GITHUB_REF_NAME:master GITHUB_REF_TYPE:branch GITHUB_REPOSITORY:grigorye/act-github-env-demo GITHUB_REPOSITORY_OWNER:grigorye GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:e2f641775e16549a9d364333b1289d052eab7524 GITHUB_TOKEN: GITHUB_WORKFLOW:composite.yml GITHUB_WORKSPACE:/Users/grigorii.entin/Workbench/act-github-env-demo IMAGE_OS:ubuntu20 INPUT_V1:VALUE1 INPUT_Z1:VALUE1 INPUT_Z2:VALUE2 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/16.15.0/arm64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root V1:VALUE1 Z1:VALUE1 Z2:VALUE2]
[composite.yml/interp] [DEBUG] Loading slug from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git'
[composite.yml/interp] [DEBUG] Loading revision from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git'
[composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524
[composite.yml/interp] [DEBUG] HEAD points to 'e2f641775e16549a9d364333b1289d052eab7524'
[composite.yml/interp] [DEBUG] using github ref: refs/heads/master
[composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524
[composite.yml/interp] [DEBUG] evaluating expression ''
[composite.yml/interp] [DEBUG] expression '' evaluated to 'true'
[composite.yml/interp] ⭐ Run Main XXX
[composite.yml/interp] [DEBUG] Read action &{X  Y map[v1:{. true } z1:{. true }] map[] {composite map[]   always()  always()   [] [{ {0 0    <nil> []    0 0} YYY  echo "inputs.v1: ${{ inputs.v1 }}"
echo "inputs.z1: ${{ inputs.z1 }}"
echo "inputs.z2: ${{ inputs.z2 }}"
  bash {0 0    <nil> []    0 0} map[] false }]} { }} from 'Unknown'
[composite.yml/interp] [DEBUG] About to run action &{X  Y map[v1:{. true } z1:{. true }] map[] {composite map[]   always()  always()   [] [{ {0 0    <nil> []    0 0} YYY  echo "inputs.v1: ${{ inputs.v1 }}"
echo "inputs.z1: ${{ inputs.z1 }}"
echo "inputs.z2: ${{ inputs.z2 }}"
  bash {0 0    <nil> []    0 0} map[] false }]} { }}
[composite.yml/interp] [DEBUG] Loading slug from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git'
[composite.yml/interp] [DEBUG] Loading revision from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git'
[composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524
[composite.yml/interp] [DEBUG] HEAD points to 'e2f641775e16549a9d364333b1289d052eab7524'
[composite.yml/interp] [DEBUG] using github ref: refs/heads/master
[composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524
[composite.yml/interp] [DEBUG] Loading slug from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git'
[composite.yml/interp] [DEBUG] Loading revision from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git'
[composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524
[composite.yml/interp] [DEBUG] HEAD points to 'e2f641775e16549a9d364333b1289d052eab7524'
[composite.yml/interp] [DEBUG] using github ref: refs/heads/master
[composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524
[composite.yml/interp] [DEBUG] type=2 actionDir=/Users/grigorii.entin/Workbench/act-github-env-demo/.github/actions/composite-action actionPath= workdir=/Users/grigorii.entin/Workbench/act-github-env-demo actionCacheDir=/Users/grigorii.entin/.cache/act actionName=./.github/actions/composite-action containerActionDir=/Users/grigorii.entin/Workbench/act-github-env-demo/.github/actions/composite-action
[composite.yml/interp] [DEBUG] Loading slug from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git'
[composite.yml/interp] [DEBUG] Loading revision from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git'
[composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524
[composite.yml/interp] [DEBUG] HEAD points to 'e2f641775e16549a9d364333b1289d052eab7524'
[composite.yml/interp] [DEBUG] using github ref: refs/heads/master
[composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524
[composite.yml/interp] [DEBUG] expression '${{ env.V1 }}' rewritten to 'format('{0}', env.V1)'
[composite.yml/interp] [DEBUG] evaluating expression 'format('{0}', env.V1)'
[composite.yml/interp] [DEBUG] expression 'format('{0}', env.V1)' evaluated to '%!t(string=VALUE1)'
[composite.yml/interp] [DEBUG] expression '${{ env.Z1 }}' rewritten to 'format('{0}', env.Z1)'
[composite.yml/interp] [DEBUG] evaluating expression 'format('{0}', env.Z1)'
[composite.yml/interp] [DEBUG] expression 'format('{0}', env.Z1)' evaluated to '%!t(string=)'
[composite.yml/interp] [DEBUG] expression '${{ env.Z2 }}' rewritten to 'format('{0}', env.Z2)'
[composite.yml/interp] [DEBUG] evaluating expression 'format('{0}', env.Z2)'
[composite.yml/interp] [DEBUG] expression 'format('{0}', env.Z2)' evaluated to '%!t(string=)'
[composite.yml/interp] [DEBUG] Loading slug from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git'
[composite.yml/interp] [DEBUG] Loading revision from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git'
[composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524
[composite.yml/interp] [DEBUG] HEAD points to 'e2f641775e16549a9d364333b1289d052eab7524'
[composite.yml/interp] [DEBUG] using github ref: refs/heads/master
[composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524
[composite.yml/interp] [DEBUG] expression '${{ env.V1 }}' rewritten to 'format('{0}', env.V1)'
[composite.yml/interp] [DEBUG] evaluating expression 'format('{0}', env.V1)'
[composite.yml/interp] [DEBUG] expression 'format('{0}', env.V1)' evaluated to '%!t(string=VALUE1)'
[composite.yml/interp] [DEBUG] expression '${{ env.Z1 }}' rewritten to 'format('{0}', env.Z1)'
[composite.yml/interp] [DEBUG] evaluating expression 'format('{0}', env.Z1)'
[composite.yml/interp] [DEBUG] expression 'format('{0}', env.Z1)' evaluated to '%!t(string=)'
[composite.yml/interp] [DEBUG] expression '${{ env.Z2 }}' rewritten to 'format('{0}', env.Z2)'
[composite.yml/interp] [DEBUG] evaluating expression 'format('{0}', env.Z2)'
[composite.yml/interp] [DEBUG] expression 'format('{0}', env.Z2)' evaluated to '%!t(string=)'
[composite.yml/interp] [DEBUG] Loading slug from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git'
[composite.yml/interp] [DEBUG] Loading revision from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git'
[composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524
[composite.yml/interp] [DEBUG] HEAD points to 'e2f641775e16549a9d364333b1289d052eab7524'
[composite.yml/interp] [DEBUG] using github ref: refs/heads/master
[composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524
[composite.yml/interp] [DEBUG] Loading slug from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git'
[composite.yml/interp] [DEBUG] Loading revision from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git'
[composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524
[composite.yml/interp] [DEBUG] HEAD points to 'e2f641775e16549a9d364333b1289d052eab7524'
[composite.yml/interp] [DEBUG] using github ref: refs/heads/master
[composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524
[composite.yml/interp] [DEBUG] setupEnv => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEBIAN_FRONTEND:noninteractive DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_PATH:/Users/grigorii.entin/Workbench/act-github-env-demo/.github/actions/composite-action 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:interp GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/master GITHUB_REF_NAME:master GITHUB_REF_TYPE:branch GITHUB_REPOSITORY:grigorye/act-github-env-demo GITHUB_REPOSITORY_OWNER:grigorye GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:e2f641775e16549a9d364333b1289d052eab7524 GITHUB_TOKEN: GITHUB_WORKFLOW:composite.yml GITHUB_WORKSPACE:/Users/grigorii.entin/Workbench/act-github-env-demo IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/16.15.0/arm64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root V1:VALUE1 Z1:VALUE1 Z2:VALUE2]
[composite.yml/interp] [DEBUG] Loading slug from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git'
[composite.yml/interp] [DEBUG] Loading revision from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git'
[composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524
[composite.yml/interp] [DEBUG] HEAD points to 'e2f641775e16549a9d364333b1289d052eab7524'
[composite.yml/interp] [DEBUG] using github ref: refs/heads/master
[composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524
[composite.yml/interp] [DEBUG] evaluating expression ''
[composite.yml/interp] [DEBUG] expression '' evaluated to 'true'
[composite.yml/interp] ⭐ Run Main YYY
[composite.yml/interp] [DEBUG] Loading slug from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git'
[composite.yml/interp] [DEBUG] Loading revision from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git'
[composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524
[composite.yml/interp] [DEBUG] HEAD points to 'e2f641775e16549a9d364333b1289d052eab7524'
[composite.yml/interp] [DEBUG] using github ref: refs/heads/master
[composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524
[composite.yml/interp] [DEBUG] Loading slug from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git'
[composite.yml/interp] [DEBUG] Loading revision from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git'
[composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524
[composite.yml/interp] [DEBUG] HEAD points to 'e2f641775e16549a9d364333b1289d052eab7524'
[composite.yml/interp] [DEBUG] using github ref: refs/heads/master
[composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524
[composite.yml/interp] [DEBUG] Loading slug from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git'
[composite.yml/interp] [DEBUG] Loading revision from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git'
[composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524
[composite.yml/interp] [DEBUG] HEAD points to 'e2f641775e16549a9d364333b1289d052eab7524'
[composite.yml/interp] [DEBUG] using github ref: refs/heads/master
[composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524
[composite.yml/interp] [DEBUG] expression 'echo "inputs.v1: ${{ inputs.v1 }}"
echo "inputs.z1: ${{ inputs.z1 }}"
echo "inputs.z2: ${{ inputs.z2 }}"
' rewritten to 'format('echo "inputs.v1: {0}"
echo "inputs.z1: {1}"
echo "inputs.z2: {2}"
', inputs.v1, inputs.z1, inputs.z2)'
[composite.yml/interp] [DEBUG] evaluating expression 'format('echo "inputs.v1: {0}"
echo "inputs.z1: {1}"
echo "inputs.z2: {2}"
', inputs.v1, inputs.z1, inputs.z2)'
[composite.yml/interp] [DEBUG] expression 'format('echo "inputs.v1: {0}"
echo "inputs.z1: {1}"
echo "inputs.z2: {2}"
', inputs.v1, inputs.z1, inputs.z2)' evaluated to '%!t(string=echo "inputs.v1: VALUE1"
echo "inputs.z1: "
echo "inputs.z2: "
)'
[composite.yml/interp] [DEBUG] Wrote command

echo "inputs.v1: VALUE1"
echo "inputs.z1: "
echo "inputs.z2: "


 to 'workflow/0.sh'
[composite.yml/interp] [DEBUG] Writing entry to tarball workflow/0.sh len:65
[composite.yml/interp] [DEBUG] Extracting content to '/var/run/act'
[composite.yml/interp]   🐳  docker exec cmd=[bash --noprofile --norc -e -o pipefail /var/run/act/workflow/0.sh] user= workdir=
[composite.yml/interp] [DEBUG] Exec command '[bash --noprofile --norc -e -o pipefail /var/run/act/workflow/0.sh]'
[composite.yml/interp] [DEBUG] Working directory '/Users/grigorii.entin/Workbench/act-github-env-demo'
| inputs.v1: VALUE1
| inputs.z1:
| inputs.z2:
[composite.yml/interp]   ✅  Success - Main YYY
[composite.yml/interp] [DEBUG] Loading slug from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git'
[composite.yml/interp] [DEBUG] Loading revision from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git'
[composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524
[composite.yml/interp] [DEBUG] HEAD points to 'e2f641775e16549a9d364333b1289d052eab7524'
[composite.yml/interp] [DEBUG] using github ref: refs/heads/master
[composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524
[composite.yml/interp]   ✅  Success - Main XXX
[composite.yml/interp] [DEBUG] Loading slug from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git'
[composite.yml/interp] [DEBUG] Loading revision from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git'
[composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524
[composite.yml/interp] [DEBUG] HEAD points to 'e2f641775e16549a9d364333b1289d052eab7524'
[composite.yml/interp] [DEBUG] using github ref: refs/heads/master
[composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524
[composite.yml/interp] [DEBUG] Loading slug from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git'
[composite.yml/interp] [DEBUG] Loading revision from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git'
[composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524
[composite.yml/interp] [DEBUG] HEAD points to 'e2f641775e16549a9d364333b1289d052eab7524'
[composite.yml/interp] [DEBUG] using github ref: refs/heads/master
[composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524
[composite.yml/interp] [DEBUG] expression '${{ env.V1 }}' rewritten to 'format('{0}', env.V1)'
[composite.yml/interp] [DEBUG] evaluating expression 'format('{0}', env.V1)'
[composite.yml/interp] [DEBUG] expression 'format('{0}', env.V1)' evaluated to '%!t(string=VALUE1)'
[composite.yml/interp] [DEBUG] expression '${{ env.Z1 }}' rewritten to 'format('{0}', env.Z1)'
[composite.yml/interp] [DEBUG] evaluating expression 'format('{0}', env.Z1)'
[composite.yml/interp] [DEBUG] expression 'format('{0}', env.Z1)' evaluated to '%!t(string=VALUE1)'
[composite.yml/interp] [DEBUG] expression '${{ env.Z2 }}' rewritten to 'format('{0}', env.Z2)'
[composite.yml/interp] [DEBUG] evaluating expression 'format('{0}', env.Z2)'
[composite.yml/interp] [DEBUG] expression 'format('{0}', env.Z2)' evaluated to '%!t(string=VALUE2)'
[composite.yml/interp] [DEBUG] setupEnv => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEBIAN_FRONTEND:noninteractive DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:post-2 GITHUB_ACTIONS:true GITHUB_ACTION_PATH: GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_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:interp GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/master GITHUB_REF_NAME:master GITHUB_REF_TYPE:branch GITHUB_REPOSITORY:grigorye/act-github-env-demo GITHUB_REPOSITORY_OWNER:grigorye GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:e2f641775e16549a9d364333b1289d052eab7524 GITHUB_TOKEN: GITHUB_WORKFLOW:composite.yml GITHUB_WORKSPACE:/Users/grigorii.entin/Workbench/act-github-env-demo IMAGE_OS:ubuntu20 INPUT_V1:VALUE1 INPUT_Z1:VALUE1 INPUT_Z2:VALUE2 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/16.15.0/arm64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root V1:VALUE1 Z1:VALUE1 Z2:VALUE2]
[composite.yml/interp] [DEBUG] Loading slug from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git'
[composite.yml/interp] [DEBUG] Loading revision from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git'
[composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524
[composite.yml/interp] [DEBUG] HEAD points to 'e2f641775e16549a9d364333b1289d052eab7524'
[composite.yml/interp] [DEBUG] using github ref: refs/heads/master
[composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524
[composite.yml/interp] [DEBUG] evaluating expression 'always()'
[composite.yml/interp] [DEBUG] expression 'always()' evaluated to 'true'
[composite.yml/interp] ⭐ Run Post XXX
[composite.yml/interp] [DEBUG] run post step for 'XXX'
[composite.yml/interp] [DEBUG] Loading slug from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git'
[composite.yml/interp] [DEBUG] Loading revision from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git'
[composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524
[composite.yml/interp] [DEBUG] HEAD points to 'e2f641775e16549a9d364333b1289d052eab7524'
[composite.yml/interp] [DEBUG] using github ref: refs/heads/master
[composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524
[composite.yml/interp] [DEBUG] expression '${{ env.V1 }}' rewritten to 'format('{0}', env.V1)'
[composite.yml/interp] [DEBUG] evaluating expression 'format('{0}', env.V1)'
[composite.yml/interp] [DEBUG] expression 'format('{0}', env.V1)' evaluated to '%!t(string=VALUE1)'
[composite.yml/interp] [DEBUG] expression '${{ env.Z1 }}' rewritten to 'format('{0}', env.Z1)'
[composite.yml/interp] [DEBUG] evaluating expression 'format('{0}', env.Z1)'
[composite.yml/interp] [DEBUG] expression 'format('{0}', env.Z1)' evaluated to '%!t(string=)'
[composite.yml/interp] [DEBUG] expression '${{ env.Z2 }}' rewritten to 'format('{0}', env.Z2)'
[composite.yml/interp] [DEBUG] evaluating expression 'format('{0}', env.Z2)'
[composite.yml/interp] [DEBUG] expression 'format('{0}', env.Z2)' evaluated to '%!t(string=)'
[composite.yml/interp]   ✅  Success - Post XXX
[composite.yml/interp] [DEBUG] skipping post step for 'Checkout': no action model available
[composite.yml/interp] [DEBUG] Removed container: de5f7479c7b79da45bf856a0c6a4f4f6e51013701cacc2ac32fb2edb4ea38403
[composite.yml/interp] [DEBUG]   🐳  docker volume rm act-composite-yml-interp
[composite.yml/interp] [DEBUG]   🐳  docker volume rm act-composite-yml-interp-env
[composite.yml/interp] 🏁  Job succeeded
[composite.yml/interp] [DEBUG] Loading slug from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git'
[composite.yml/interp] [DEBUG] Loading revision from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git'
[composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524
[composite.yml/interp] [DEBUG] HEAD points to 'e2f641775e16549a9d364333b1289d052eab7524'
[composite.yml/interp] [DEBUG] using github ref: refs/heads/master
[composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524

Additional information

It's potentially fixed in https://github.com/nektos/act/pull/1230

Originally created by @grigorye on GitHub (Jun 24, 2022). Original GitHub issue: https://github.com/nektos/act/issues/1231 ### Bug report info ```plain text act version: 0.2.28 GOOS: darwin GOARCH: arm64 NumCPU: 10 Docker host: DOCKER_HOST environment variable is unset/empty. Sockets found: /var/run/docker.sock Config files: /Users/grigorii.entin/.actrc: -P ubuntu-latest=ghcr.io/catthehacker/ubuntu:act-latest -P ubuntu-22.04=ghcr.io/catthehacker/ubuntu:act-22.04 -P ubuntu-20.04=ghcr.io/catthehacker/ubuntu:act-20.04 -P ubuntu-18.04=ghcr.io/catthehacker/ubuntu:act-18.04 Build info: Go version: go1.18.3 Module path: command-line-arguments Main version: Main path: Main checksum: Build settings: -compiler: gc -ldflags: -X main.version=0.2.28 CGO_ENABLED: 1 CGO_CFLAGS: CGO_CPPFLAGS: CGO_CXXFLAGS: CGO_LDFLAGS: GOARCH: arm64 GOOS: darwin Docker Engine: Engine version: 20.10.16 Engine runtime: runc Cgroup version: 2 Cgroup driver: cgroupfs Storage driver: overlay2 Registry URI: https://index.docker.io/v1/ OS: Docker Desktop OS type: linux OS version: OS arch: aarch64 OS kernel: 5.10.104-linuxkit OS CPU: 4 OS memory: 7936 MB Security options: name=seccomp,profile=default name=cgroupns ``` ### Command used with act ```sh $ act -W .github/workflows/composite.yml ``` ### Describe issue When an input for a composite action involves `${{ env.XXX }}`, in case `XXX` is either set in previous steps via populating GITHUB_ENV or set in step specific `env:` for the aciton, `XXX` value is not accounted. Compare the output for the sample workflow, from act and native GitHub runner (inputs.z1 and inputs.z2 are set through GITHUB_ENV and via step specific env respectively): GitHub: <img width="619" alt="Screen Shot 2022-06-24 at 13 45 26" src="https://user-images.githubusercontent.com/803905/175528212-b003b0f4-c0bb-4bf4-911d-ea87baff91cb.png"> Act: <img width="1043" alt="Screen Shot 2022-06-24 at 13 42 45" src="https://user-images.githubusercontent.com/803905/175528700-0ed66cd8-9a3e-4a03-adca-827af3e41bc7.png"> ### Link to GitHub repository https://github.com/grigorye/act-composite-step-inputs-env-demo ### Workflow content ```yml on: push: {} workflow_dispatch: {} jobs: interp: runs-on: ubuntu-latest env: V1: VALUE1 steps: - name: Checkout uses: actions/checkout@v3 - name: Populate environment via GITHUB_ENV run: | echo "Z1=VALUE1" >> $GITHUB_ENV - name: XXX uses: ./.github/actions/composite-action env: Z2: VALUE2 with: v1: ${{ env.V1 }} z1: ${{ env.Z1 }} z2: ${{ env.Z2 }} ``` ### Relevant log output ```sh $ act -W .github/workflows/composite.yml -v DEBU[0000] Loading environment from /Users/grigorii.entin/Workbench/act-github-env-demo/.env DEBU[0000] Loading secrets from /Users/grigorii.entin/Workbench/act-github-env-demo/.secrets DEBU[0000] Loading workflow '/Users/grigorii.entin/Workbench/act-github-env-demo/.github/workflows/composite.yml' DEBU[0000] Reading workflow '/Users/grigorii.entin/Workbench/act-github-env-demo/.github/workflows/composite.yml' DEBU[0000] Planning event: push DEBU[0000] Loading slug from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git' DEBU[0000] Loading revision from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git' DEBU[0000] Found revision: e2f641775e16549a9d364333b1289d052eab7524 DEBU[0000] HEAD points to 'e2f641775e16549a9d364333b1289d052eab7524' DEBU[0000] using github ref: refs/heads/master DEBU[0000] Found revision: e2f641775e16549a9d364333b1289d052eab7524 DEBU[0000] evaluating expression 'VALUE1' DEBU[0000] expression 'VALUE1' evaluated to '%!t(<nil>)' DEBU[0000] evaluating expression 'true' DEBU[0000] expression 'true' evaluated to 'true' [composite.yml/interp] [DEBUG] evaluating expression 'success()' [composite.yml/interp] [DEBUG] expression 'success()' evaluated to 'true' [composite.yml/interp] 🚀 Start image=ghcr.io/catthehacker/ubuntu:act-latest [composite.yml/interp] 🐳 docker pull image=ghcr.io/catthehacker/ubuntu:act-latest platform= username= forcePull=false [composite.yml/interp] [DEBUG] 🐳 docker pull ghcr.io/catthehacker/ubuntu:act-latest [composite.yml/interp] [DEBUG] Image exists? true [composite.yml/interp] 🐳 docker create image=ghcr.io/catthehacker/ubuntu:act-latest platform= entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[] [composite.yml/interp] [DEBUG] Created container name=act-composite-yml-interp id=de5f7479c7b79da45bf856a0c6a4f4f6e51013701cacc2ac32fb2edb4ea38403 from image ghcr.io/catthehacker/ubuntu:act-latest (platform: ) [composite.yml/interp] [DEBUG] ENV ==> [RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUNNER_OS=Linux RUNNER_TEMP=/tmp] [composite.yml/interp] 🐳 docker run image=ghcr.io/catthehacker/ubuntu:act-latest platform= entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[] [composite.yml/interp] [DEBUG] Starting container: de5f7479c7b79da45bf856a0c6a4f4f6e51013701cacc2ac32fb2edb4ea38403 [composite.yml/interp] [DEBUG] Started container: de5f7479c7b79da45bf856a0c6a4f4f6e51013701cacc2ac32fb2edb4ea38403 [composite.yml/interp] 🐳 docker exec cmd=[chown -R 0:0 /Users/grigorii.entin/Workbench/act-github-env-demo] user=0 workdir= [composite.yml/interp] [DEBUG] Exec command '[chown -R 0:0 /Users/grigorii.entin/Workbench/act-github-env-demo]' [composite.yml/interp] [DEBUG] Working directory '/Users/grigorii.entin/Workbench/act-github-env-demo' [composite.yml/interp] [DEBUG] Writing entry to tarball workflow/event.json len:2 [composite.yml/interp] [DEBUG] Writing entry to tarball workflow/envs.txt len:0 [composite.yml/interp] [DEBUG] Writing entry to tarball workflow/paths.txt len:0 [composite.yml/interp] [DEBUG] Extracting content to '/var/run/act/' [composite.yml/interp] [DEBUG] Loading slug from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git' [composite.yml/interp] [DEBUG] Loading revision from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git' [composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524 [composite.yml/interp] [DEBUG] HEAD points to 'e2f641775e16549a9d364333b1289d052eab7524' [composite.yml/interp] [DEBUG] using github ref: refs/heads/master [composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524 [composite.yml/interp] [DEBUG] Skipping local actions/checkout because workdir was already copied [composite.yml/interp] [DEBUG] skip pre step for 'Checkout': no action model available [composite.yml/interp] [DEBUG] Loading slug from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git' [composite.yml/interp] [DEBUG] Loading revision from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git' [composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524 [composite.yml/interp] [DEBUG] HEAD points to 'e2f641775e16549a9d364333b1289d052eab7524' [composite.yml/interp] [DEBUG] using github ref: refs/heads/master [composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524 [composite.yml/interp] [DEBUG] Skipping local actions/checkout because workdir was already copied [composite.yml/interp] [DEBUG] Loading slug from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git' [composite.yml/interp] [DEBUG] Loading revision from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git' [composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524 [composite.yml/interp] [DEBUG] HEAD points to 'e2f641775e16549a9d364333b1289d052eab7524' [composite.yml/interp] [DEBUG] using github ref: refs/heads/master [composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524 [composite.yml/interp] [DEBUG] Loading slug from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git' [composite.yml/interp] [DEBUG] Loading revision from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git' [composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524 [composite.yml/interp] [DEBUG] HEAD points to 'e2f641775e16549a9d364333b1289d052eab7524' [composite.yml/interp] [DEBUG] using github ref: refs/heads/master [composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524 [composite.yml/interp] [DEBUG] setupEnv => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEBIAN_FRONTEND:noninteractive DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_PATH: GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_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:interp GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/master GITHUB_REF_NAME:master GITHUB_REF_TYPE:branch GITHUB_REPOSITORY:grigorye/act-github-env-demo GITHUB_REPOSITORY_OWNER:grigorye GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:e2f641775e16549a9d364333b1289d052eab7524 GITHUB_TOKEN: GITHUB_WORKFLOW:composite.yml GITHUB_WORKSPACE:/Users/grigorii.entin/Workbench/act-github-env-demo IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/16.15.0/arm64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root V1:VALUE1] [composite.yml/interp] [DEBUG] Loading slug from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git' [composite.yml/interp] [DEBUG] Loading revision from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git' [composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524 [composite.yml/interp] [DEBUG] HEAD points to 'e2f641775e16549a9d364333b1289d052eab7524' [composite.yml/interp] [DEBUG] using github ref: refs/heads/master [composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524 [composite.yml/interp] [DEBUG] evaluating expression '' [composite.yml/interp] [DEBUG] expression '' evaluated to 'true' [composite.yml/interp] ⭐ Run Main Checkout [composite.yml/interp] [DEBUG] Loading slug from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git' [composite.yml/interp] [DEBUG] Loading revision from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git' [composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524 [composite.yml/interp] [DEBUG] HEAD points to 'e2f641775e16549a9d364333b1289d052eab7524' [composite.yml/interp] [DEBUG] using github ref: refs/heads/master [composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524 [composite.yml/interp] [DEBUG] Loading slug from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git' [composite.yml/interp] [DEBUG] Loading revision from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git' [composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524 [composite.yml/interp] [DEBUG] HEAD points to 'e2f641775e16549a9d364333b1289d052eab7524' [composite.yml/interp] [DEBUG] using github ref: refs/heads/master [composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524 [composite.yml/interp] 🐳 docker cp src=/Users/grigorii.entin/Workbench/act-github-env-demo/. dst=/Users/grigorii.entin/Workbench/act-github-env-demo [composite.yml/interp] [DEBUG] Writing tarball /var/folders/46/t8ph0gt50vx9_v5ydd53rlsc0000gp/T/act861369833 from /Users/grigorii.entin/Workbench/act-github-env-demo/. [composite.yml/interp] [DEBUG] Stripping prefix:/Users/grigorii.entin/Workbench/act-github-env-demo/ src:/Users/grigorii.entin/Workbench/act-github-env-demo/. [composite.yml/interp] [DEBUG] Extracting content from '/var/folders/46/t8ph0gt50vx9_v5ydd53rlsc0000gp/T/act861369833' to '/Users/grigorii.entin/Workbench/act-github-env-demo' [composite.yml/interp] close /var/folders/46/t8ph0gt50vx9_v5ydd53rlsc0000gp/T/act861369833: file already closed [composite.yml/interp] 🐳 docker exec cmd=[chown -R 0:0 /Users/grigorii.entin/Workbench/act-github-env-demo] user=0 workdir= [composite.yml/interp] [DEBUG] Exec command '[chown -R 0:0 /Users/grigorii.entin/Workbench/act-github-env-demo]' [composite.yml/interp] [DEBUG] Working directory '/Users/grigorii.entin/Workbench/act-github-env-demo' [composite.yml/interp] ✅ Success - Main Checkout [composite.yml/interp] [DEBUG] Loading slug from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git' [composite.yml/interp] [DEBUG] Loading revision from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git' [composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524 [composite.yml/interp] [DEBUG] HEAD points to 'e2f641775e16549a9d364333b1289d052eab7524' [composite.yml/interp] [DEBUG] using github ref: refs/heads/master [composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524 [composite.yml/interp] [DEBUG] Loading slug from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git' [composite.yml/interp] [DEBUG] Loading revision from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git' [composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524 [composite.yml/interp] [DEBUG] HEAD points to 'e2f641775e16549a9d364333b1289d052eab7524' [composite.yml/interp] [DEBUG] using github ref: refs/heads/master [composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524 [composite.yml/interp] [DEBUG] setupEnv => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEBIAN_FRONTEND:noninteractive DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:1 GITHUB_ACTIONS:true GITHUB_ACTION_PATH: GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_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:interp GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/master GITHUB_REF_NAME:master GITHUB_REF_TYPE:branch GITHUB_REPOSITORY:grigorye/act-github-env-demo GITHUB_REPOSITORY_OWNER:grigorye GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:e2f641775e16549a9d364333b1289d052eab7524 GITHUB_TOKEN: GITHUB_WORKFLOW:composite.yml GITHUB_WORKSPACE:/Users/grigorii.entin/Workbench/act-github-env-demo IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/16.15.0/arm64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root V1:VALUE1] [composite.yml/interp] [DEBUG] Loading slug from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git' [composite.yml/interp] [DEBUG] Loading revision from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git' [composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524 [composite.yml/interp] [DEBUG] HEAD points to 'e2f641775e16549a9d364333b1289d052eab7524' [composite.yml/interp] [DEBUG] using github ref: refs/heads/master [composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524 [composite.yml/interp] [DEBUG] evaluating expression '' [composite.yml/interp] [DEBUG] expression '' evaluated to 'true' [composite.yml/interp] ⭐ Run Main Populate environment via GITHUB_ENV [composite.yml/interp] [DEBUG] Loading slug from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git' [composite.yml/interp] [DEBUG] Loading revision from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git' [composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524 [composite.yml/interp] [DEBUG] HEAD points to 'e2f641775e16549a9d364333b1289d052eab7524' [composite.yml/interp] [DEBUG] using github ref: refs/heads/master [composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524 [composite.yml/interp] [DEBUG] Loading slug from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git' [composite.yml/interp] [DEBUG] Loading revision from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git' [composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524 [composite.yml/interp] [DEBUG] HEAD points to 'e2f641775e16549a9d364333b1289d052eab7524' [composite.yml/interp] [DEBUG] using github ref: refs/heads/master [composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524 [composite.yml/interp] [DEBUG] Loading slug from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git' [composite.yml/interp] [DEBUG] Loading revision from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git' [composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524 [composite.yml/interp] [DEBUG] HEAD points to 'e2f641775e16549a9d364333b1289d052eab7524' [composite.yml/interp] [DEBUG] using github ref: refs/heads/master [composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524 [composite.yml/interp] [DEBUG] Wrote command echo "Z1=VALUE1" >> $GITHUB_ENV to 'workflow/1' [composite.yml/interp] [DEBUG] Writing entry to tarball workflow/1 len:34 [composite.yml/interp] [DEBUG] Extracting content to '/var/run/act' [composite.yml/interp] 🐳 docker exec cmd=[bash --noprofile --norc -e -o pipefail /var/run/act/workflow/1] user= workdir= [composite.yml/interp] [DEBUG] Exec command '[bash --noprofile --norc -e -o pipefail /var/run/act/workflow/1]' [composite.yml/interp] [DEBUG] Working directory '/Users/grigorii.entin/Workbench/act-github-env-demo' [composite.yml/interp] ✅ Success - Main Populate environment via GITHUB_ENV [composite.yml/interp] [DEBUG] Loading slug from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git' [composite.yml/interp] [DEBUG] Loading revision from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git' [composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524 [composite.yml/interp] [DEBUG] HEAD points to 'e2f641775e16549a9d364333b1289d052eab7524' [composite.yml/interp] [DEBUG] using github ref: refs/heads/master [composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524 [composite.yml/interp] [DEBUG] Loading slug from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git' [composite.yml/interp] [DEBUG] Loading revision from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git' [composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524 [composite.yml/interp] [DEBUG] HEAD points to 'e2f641775e16549a9d364333b1289d052eab7524' [composite.yml/interp] [DEBUG] using github ref: refs/heads/master [composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524 [composite.yml/interp] [DEBUG] expression '${{ env.Z1 }}' rewritten to 'format('{0}', env.Z1)' [composite.yml/interp] [DEBUG] evaluating expression 'format('{0}', env.Z1)' [composite.yml/interp] [DEBUG] expression 'format('{0}', env.Z1)' evaluated to '%!t(string=VALUE1)' [composite.yml/interp] [DEBUG] expression '${{ env.Z2 }}' rewritten to 'format('{0}', env.Z2)' [composite.yml/interp] [DEBUG] evaluating expression 'format('{0}', env.Z2)' [composite.yml/interp] [DEBUG] expression 'format('{0}', env.Z2)' evaluated to '%!t(string=VALUE2)' [composite.yml/interp] [DEBUG] expression '${{ env.V1 }}' rewritten to 'format('{0}', env.V1)' [composite.yml/interp] [DEBUG] evaluating expression 'format('{0}', env.V1)' [composite.yml/interp] [DEBUG] expression 'format('{0}', env.V1)' evaluated to '%!t(string=VALUE1)' [composite.yml/interp] [DEBUG] setupEnv => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEBIAN_FRONTEND:noninteractive DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:2 GITHUB_ACTIONS:true GITHUB_ACTION_PATH: GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_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:interp GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/master GITHUB_REF_NAME:master GITHUB_REF_TYPE:branch GITHUB_REPOSITORY:grigorye/act-github-env-demo GITHUB_REPOSITORY_OWNER:grigorye GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:e2f641775e16549a9d364333b1289d052eab7524 GITHUB_TOKEN: GITHUB_WORKFLOW:composite.yml GITHUB_WORKSPACE:/Users/grigorii.entin/Workbench/act-github-env-demo IMAGE_OS:ubuntu20 INPUT_V1:VALUE1 INPUT_Z1:VALUE1 INPUT_Z2:VALUE2 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/16.15.0/arm64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root V1:VALUE1 Z1:VALUE1 Z2:VALUE2] [composite.yml/interp] [DEBUG] Loading slug from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git' [composite.yml/interp] [DEBUG] Loading revision from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git' [composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524 [composite.yml/interp] [DEBUG] HEAD points to 'e2f641775e16549a9d364333b1289d052eab7524' [composite.yml/interp] [DEBUG] using github ref: refs/heads/master [composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524 [composite.yml/interp] [DEBUG] evaluating expression '' [composite.yml/interp] [DEBUG] expression '' evaluated to 'true' [composite.yml/interp] ⭐ Run Main XXX [composite.yml/interp] [DEBUG] Read action &{X Y map[v1:{. true } z1:{. true }] map[] {composite map[] always() always() [] [{ {0 0 <nil> [] 0 0} YYY echo "inputs.v1: ${{ inputs.v1 }}" echo "inputs.z1: ${{ inputs.z1 }}" echo "inputs.z2: ${{ inputs.z2 }}" bash {0 0 <nil> [] 0 0} map[] false }]} { }} from 'Unknown' [composite.yml/interp] [DEBUG] About to run action &{X Y map[v1:{. true } z1:{. true }] map[] {composite map[] always() always() [] [{ {0 0 <nil> [] 0 0} YYY echo "inputs.v1: ${{ inputs.v1 }}" echo "inputs.z1: ${{ inputs.z1 }}" echo "inputs.z2: ${{ inputs.z2 }}" bash {0 0 <nil> [] 0 0} map[] false }]} { }} [composite.yml/interp] [DEBUG] Loading slug from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git' [composite.yml/interp] [DEBUG] Loading revision from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git' [composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524 [composite.yml/interp] [DEBUG] HEAD points to 'e2f641775e16549a9d364333b1289d052eab7524' [composite.yml/interp] [DEBUG] using github ref: refs/heads/master [composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524 [composite.yml/interp] [DEBUG] Loading slug from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git' [composite.yml/interp] [DEBUG] Loading revision from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git' [composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524 [composite.yml/interp] [DEBUG] HEAD points to 'e2f641775e16549a9d364333b1289d052eab7524' [composite.yml/interp] [DEBUG] using github ref: refs/heads/master [composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524 [composite.yml/interp] [DEBUG] type=2 actionDir=/Users/grigorii.entin/Workbench/act-github-env-demo/.github/actions/composite-action actionPath= workdir=/Users/grigorii.entin/Workbench/act-github-env-demo actionCacheDir=/Users/grigorii.entin/.cache/act actionName=./.github/actions/composite-action containerActionDir=/Users/grigorii.entin/Workbench/act-github-env-demo/.github/actions/composite-action [composite.yml/interp] [DEBUG] Loading slug from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git' [composite.yml/interp] [DEBUG] Loading revision from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git' [composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524 [composite.yml/interp] [DEBUG] HEAD points to 'e2f641775e16549a9d364333b1289d052eab7524' [composite.yml/interp] [DEBUG] using github ref: refs/heads/master [composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524 [composite.yml/interp] [DEBUG] expression '${{ env.V1 }}' rewritten to 'format('{0}', env.V1)' [composite.yml/interp] [DEBUG] evaluating expression 'format('{0}', env.V1)' [composite.yml/interp] [DEBUG] expression 'format('{0}', env.V1)' evaluated to '%!t(string=VALUE1)' [composite.yml/interp] [DEBUG] expression '${{ env.Z1 }}' rewritten to 'format('{0}', env.Z1)' [composite.yml/interp] [DEBUG] evaluating expression 'format('{0}', env.Z1)' [composite.yml/interp] [DEBUG] expression 'format('{0}', env.Z1)' evaluated to '%!t(string=)' [composite.yml/interp] [DEBUG] expression '${{ env.Z2 }}' rewritten to 'format('{0}', env.Z2)' [composite.yml/interp] [DEBUG] evaluating expression 'format('{0}', env.Z2)' [composite.yml/interp] [DEBUG] expression 'format('{0}', env.Z2)' evaluated to '%!t(string=)' [composite.yml/interp] [DEBUG] Loading slug from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git' [composite.yml/interp] [DEBUG] Loading revision from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git' [composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524 [composite.yml/interp] [DEBUG] HEAD points to 'e2f641775e16549a9d364333b1289d052eab7524' [composite.yml/interp] [DEBUG] using github ref: refs/heads/master [composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524 [composite.yml/interp] [DEBUG] expression '${{ env.V1 }}' rewritten to 'format('{0}', env.V1)' [composite.yml/interp] [DEBUG] evaluating expression 'format('{0}', env.V1)' [composite.yml/interp] [DEBUG] expression 'format('{0}', env.V1)' evaluated to '%!t(string=VALUE1)' [composite.yml/interp] [DEBUG] expression '${{ env.Z1 }}' rewritten to 'format('{0}', env.Z1)' [composite.yml/interp] [DEBUG] evaluating expression 'format('{0}', env.Z1)' [composite.yml/interp] [DEBUG] expression 'format('{0}', env.Z1)' evaluated to '%!t(string=)' [composite.yml/interp] [DEBUG] expression '${{ env.Z2 }}' rewritten to 'format('{0}', env.Z2)' [composite.yml/interp] [DEBUG] evaluating expression 'format('{0}', env.Z2)' [composite.yml/interp] [DEBUG] expression 'format('{0}', env.Z2)' evaluated to '%!t(string=)' [composite.yml/interp] [DEBUG] Loading slug from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git' [composite.yml/interp] [DEBUG] Loading revision from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git' [composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524 [composite.yml/interp] [DEBUG] HEAD points to 'e2f641775e16549a9d364333b1289d052eab7524' [composite.yml/interp] [DEBUG] using github ref: refs/heads/master [composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524 [composite.yml/interp] [DEBUG] Loading slug from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git' [composite.yml/interp] [DEBUG] Loading revision from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git' [composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524 [composite.yml/interp] [DEBUG] HEAD points to 'e2f641775e16549a9d364333b1289d052eab7524' [composite.yml/interp] [DEBUG] using github ref: refs/heads/master [composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524 [composite.yml/interp] [DEBUG] setupEnv => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEBIAN_FRONTEND:noninteractive DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_PATH:/Users/grigorii.entin/Workbench/act-github-env-demo/.github/actions/composite-action 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:interp GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/master GITHUB_REF_NAME:master GITHUB_REF_TYPE:branch GITHUB_REPOSITORY:grigorye/act-github-env-demo GITHUB_REPOSITORY_OWNER:grigorye GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:e2f641775e16549a9d364333b1289d052eab7524 GITHUB_TOKEN: GITHUB_WORKFLOW:composite.yml GITHUB_WORKSPACE:/Users/grigorii.entin/Workbench/act-github-env-demo IMAGE_OS:ubuntu20 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/16.15.0/arm64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root V1:VALUE1 Z1:VALUE1 Z2:VALUE2] [composite.yml/interp] [DEBUG] Loading slug from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git' [composite.yml/interp] [DEBUG] Loading revision from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git' [composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524 [composite.yml/interp] [DEBUG] HEAD points to 'e2f641775e16549a9d364333b1289d052eab7524' [composite.yml/interp] [DEBUG] using github ref: refs/heads/master [composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524 [composite.yml/interp] [DEBUG] evaluating expression '' [composite.yml/interp] [DEBUG] expression '' evaluated to 'true' [composite.yml/interp] ⭐ Run Main YYY [composite.yml/interp] [DEBUG] Loading slug from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git' [composite.yml/interp] [DEBUG] Loading revision from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git' [composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524 [composite.yml/interp] [DEBUG] HEAD points to 'e2f641775e16549a9d364333b1289d052eab7524' [composite.yml/interp] [DEBUG] using github ref: refs/heads/master [composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524 [composite.yml/interp] [DEBUG] Loading slug from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git' [composite.yml/interp] [DEBUG] Loading revision from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git' [composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524 [composite.yml/interp] [DEBUG] HEAD points to 'e2f641775e16549a9d364333b1289d052eab7524' [composite.yml/interp] [DEBUG] using github ref: refs/heads/master [composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524 [composite.yml/interp] [DEBUG] Loading slug from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git' [composite.yml/interp] [DEBUG] Loading revision from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git' [composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524 [composite.yml/interp] [DEBUG] HEAD points to 'e2f641775e16549a9d364333b1289d052eab7524' [composite.yml/interp] [DEBUG] using github ref: refs/heads/master [composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524 [composite.yml/interp] [DEBUG] expression 'echo "inputs.v1: ${{ inputs.v1 }}" echo "inputs.z1: ${{ inputs.z1 }}" echo "inputs.z2: ${{ inputs.z2 }}" ' rewritten to 'format('echo "inputs.v1: {0}" echo "inputs.z1: {1}" echo "inputs.z2: {2}" ', inputs.v1, inputs.z1, inputs.z2)' [composite.yml/interp] [DEBUG] evaluating expression 'format('echo "inputs.v1: {0}" echo "inputs.z1: {1}" echo "inputs.z2: {2}" ', inputs.v1, inputs.z1, inputs.z2)' [composite.yml/interp] [DEBUG] expression 'format('echo "inputs.v1: {0}" echo "inputs.z1: {1}" echo "inputs.z2: {2}" ', inputs.v1, inputs.z1, inputs.z2)' evaluated to '%!t(string=echo "inputs.v1: VALUE1" echo "inputs.z1: " echo "inputs.z2: " )' [composite.yml/interp] [DEBUG] Wrote command echo "inputs.v1: VALUE1" echo "inputs.z1: " echo "inputs.z2: " to 'workflow/0.sh' [composite.yml/interp] [DEBUG] Writing entry to tarball workflow/0.sh len:65 [composite.yml/interp] [DEBUG] Extracting content to '/var/run/act' [composite.yml/interp] 🐳 docker exec cmd=[bash --noprofile --norc -e -o pipefail /var/run/act/workflow/0.sh] user= workdir= [composite.yml/interp] [DEBUG] Exec command '[bash --noprofile --norc -e -o pipefail /var/run/act/workflow/0.sh]' [composite.yml/interp] [DEBUG] Working directory '/Users/grigorii.entin/Workbench/act-github-env-demo' | inputs.v1: VALUE1 | inputs.z1: | inputs.z2: [composite.yml/interp] ✅ Success - Main YYY [composite.yml/interp] [DEBUG] Loading slug from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git' [composite.yml/interp] [DEBUG] Loading revision from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git' [composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524 [composite.yml/interp] [DEBUG] HEAD points to 'e2f641775e16549a9d364333b1289d052eab7524' [composite.yml/interp] [DEBUG] using github ref: refs/heads/master [composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524 [composite.yml/interp] ✅ Success - Main XXX [composite.yml/interp] [DEBUG] Loading slug from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git' [composite.yml/interp] [DEBUG] Loading revision from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git' [composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524 [composite.yml/interp] [DEBUG] HEAD points to 'e2f641775e16549a9d364333b1289d052eab7524' [composite.yml/interp] [DEBUG] using github ref: refs/heads/master [composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524 [composite.yml/interp] [DEBUG] Loading slug from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git' [composite.yml/interp] [DEBUG] Loading revision from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git' [composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524 [composite.yml/interp] [DEBUG] HEAD points to 'e2f641775e16549a9d364333b1289d052eab7524' [composite.yml/interp] [DEBUG] using github ref: refs/heads/master [composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524 [composite.yml/interp] [DEBUG] expression '${{ env.V1 }}' rewritten to 'format('{0}', env.V1)' [composite.yml/interp] [DEBUG] evaluating expression 'format('{0}', env.V1)' [composite.yml/interp] [DEBUG] expression 'format('{0}', env.V1)' evaluated to '%!t(string=VALUE1)' [composite.yml/interp] [DEBUG] expression '${{ env.Z1 }}' rewritten to 'format('{0}', env.Z1)' [composite.yml/interp] [DEBUG] evaluating expression 'format('{0}', env.Z1)' [composite.yml/interp] [DEBUG] expression 'format('{0}', env.Z1)' evaluated to '%!t(string=VALUE1)' [composite.yml/interp] [DEBUG] expression '${{ env.Z2 }}' rewritten to 'format('{0}', env.Z2)' [composite.yml/interp] [DEBUG] evaluating expression 'format('{0}', env.Z2)' [composite.yml/interp] [DEBUG] expression 'format('{0}', env.Z2)' evaluated to '%!t(string=VALUE2)' [composite.yml/interp] [DEBUG] setupEnv => map[ACT:true AGENT_TOOLSDIRECTORY:/opt/hostedtoolcache CI:true DEBIAN_FRONTEND:noninteractive DEPLOYMENT_BASEPATH:/opt/runner GITHUB_ACTION:post-2 GITHUB_ACTIONS:true GITHUB_ACTION_PATH: GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_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:interp GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/master GITHUB_REF_NAME:master GITHUB_REF_TYPE:branch GITHUB_REPOSITORY:grigorye/act-github-env-demo GITHUB_REPOSITORY_OWNER:grigorye GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:e2f641775e16549a9d364333b1289d052eab7524 GITHUB_TOKEN: GITHUB_WORKFLOW:composite.yml GITHUB_WORKSPACE:/Users/grigorii.entin/Workbench/act-github-env-demo IMAGE_OS:ubuntu20 INPUT_V1:VALUE1 INPUT_Z1:VALUE1 INPUT_Z2:VALUE2 ImageOS:ubuntu20 LSB_OS_VERSION:2004 LSB_RELEASE:20.04 PATH:/opt/hostedtoolcache/node/16.15.0/arm64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: RUNNER_USER:root RUN_TOOL_CACHE:/opt/hostedtoolcache USER:root V1:VALUE1 Z1:VALUE1 Z2:VALUE2] [composite.yml/interp] [DEBUG] Loading slug from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git' [composite.yml/interp] [DEBUG] Loading revision from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git' [composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524 [composite.yml/interp] [DEBUG] HEAD points to 'e2f641775e16549a9d364333b1289d052eab7524' [composite.yml/interp] [DEBUG] using github ref: refs/heads/master [composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524 [composite.yml/interp] [DEBUG] evaluating expression 'always()' [composite.yml/interp] [DEBUG] expression 'always()' evaluated to 'true' [composite.yml/interp] ⭐ Run Post XXX [composite.yml/interp] [DEBUG] run post step for 'XXX' [composite.yml/interp] [DEBUG] Loading slug from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git' [composite.yml/interp] [DEBUG] Loading revision from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git' [composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524 [composite.yml/interp] [DEBUG] HEAD points to 'e2f641775e16549a9d364333b1289d052eab7524' [composite.yml/interp] [DEBUG] using github ref: refs/heads/master [composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524 [composite.yml/interp] [DEBUG] expression '${{ env.V1 }}' rewritten to 'format('{0}', env.V1)' [composite.yml/interp] [DEBUG] evaluating expression 'format('{0}', env.V1)' [composite.yml/interp] [DEBUG] expression 'format('{0}', env.V1)' evaluated to '%!t(string=VALUE1)' [composite.yml/interp] [DEBUG] expression '${{ env.Z1 }}' rewritten to 'format('{0}', env.Z1)' [composite.yml/interp] [DEBUG] evaluating expression 'format('{0}', env.Z1)' [composite.yml/interp] [DEBUG] expression 'format('{0}', env.Z1)' evaluated to '%!t(string=)' [composite.yml/interp] [DEBUG] expression '${{ env.Z2 }}' rewritten to 'format('{0}', env.Z2)' [composite.yml/interp] [DEBUG] evaluating expression 'format('{0}', env.Z2)' [composite.yml/interp] [DEBUG] expression 'format('{0}', env.Z2)' evaluated to '%!t(string=)' [composite.yml/interp] ✅ Success - Post XXX [composite.yml/interp] [DEBUG] skipping post step for 'Checkout': no action model available [composite.yml/interp] [DEBUG] Removed container: de5f7479c7b79da45bf856a0c6a4f4f6e51013701cacc2ac32fb2edb4ea38403 [composite.yml/interp] [DEBUG] 🐳 docker volume rm act-composite-yml-interp [composite.yml/interp] [DEBUG] 🐳 docker volume rm act-composite-yml-interp-env [composite.yml/interp] 🏁 Job succeeded [composite.yml/interp] [DEBUG] Loading slug from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git' [composite.yml/interp] [DEBUG] Loading revision from git directory '/Users/grigorii.entin/Workbench/act-github-env-demo/.git' [composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524 [composite.yml/interp] [DEBUG] HEAD points to 'e2f641775e16549a9d364333b1289d052eab7524' [composite.yml/interp] [DEBUG] using github ref: refs/heads/master [composite.yml/interp] [DEBUG] Found revision: e2f641775e16549a9d364333b1289d052eab7524 ``` ### Additional information It's potentially fixed in https://github.com/nektos/act/pull/1230
kerem 2026-03-01 21:45:27 +03:00
Author
Owner

@github-actions[bot] commented on GitHub (Jul 25, 2022):

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

<!-- gh-comment-id:1193425508 --> @github-actions[bot] commented on GitHub (Jul 25, 2022): Issue is stale and will be closed in 14 days unless there is new activity
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/act#677
No description provided.