[GH-ISSUE #607] Issue: composite actions don't work #401

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

Originally created by @jsoref on GitHub (Apr 4, 2021).
Original GitHub issue: https://github.com/nektos/act/issues/607

Act version

act version 7e1ba1

47e1ba1b55 (#606 will fix)

Expected behaviour

it should cd into the action directoryand then exit successfully

(/actions/jsoref-gha-debug@2b69872723fa2d51dcc8baa4ebc1c4987d07dd15/ )

time="2021-04-04T13:08:37-04:00" level=debug msg="Loading environment from /Users/jsoref/code/nektos/issues/composite-action/.env"
time="2021-04-04T13:08:37-04:00" level=debug msg="Loading secrets from /Users/jsoref/code/nektos/issues/composite-action/.secrets"
time="2021-04-04T13:08:37-04:00" level=debug msg="Loading workflows from '/Users/jsoref/code/nektos/issues/composite-action/.github/workflows'"
time="2021-04-04T13:08:37-04:00" level=debug msg="Reading workflow '/Users/jsoref/code/nektos/issues/composite-action/.github/workflows/workflow.yml'"
time="2021-04-04T13:08:37-04:00" level=debug msg="Planning event: push"
time="2021-04-04T13:08:37-04:00" level=debug msg="Loading slug from git directory '/Users/jsoref/code/nektos/issues/composite-action/.git'"
time="2021-04-04T13:08:37-04:00" level=debug msg="Found revision: 605b3cfe7dd44913836ce437f4778d36bb1dc335\n"
time="2021-04-04T13:08:37-04:00" level=debug msg="Loading revision from git directory '/Users/jsoref/code/nektos/issues/composite-action/.git'"
time="2021-04-04T13:08:37-04:00" level=debug msg="Found revision: 605b3cfe7dd44913836ce437f4778d36bb1dc335\n"
time="2021-04-04T13:08:37-04:00" level=debug msg="HEAD points to '605b3cfe7dd44913836ce437f4778d36bb1dc335'"
time="2021-04-04T13:08:37-04:00" level=debug msg="HEAD matches refs/heads/main"
time="2021-04-04T13:08:37-04:00" level=debug msg="using github ref: refs/heads/main"
time="2021-04-04T13:08:37-04:00" level=debug msg="context env => map[ACT:true]"
[workflow.yml/local-action] 🚀  Start image=node:12.20.1-buster-slim
time="2021-04-04T13:08:37-04:00" level=debug msg="Loading slug from git directory '/Users/jsoref/code/nektos/issues/composite-action/.git'"
time="2021-04-04T13:08:37-04:00" level=debug msg="Found revision: 605b3cfe7dd44913836ce437f4778d36bb1dc335\n"
time="2021-04-04T13:08:37-04:00" level=debug msg="Loading revision from git directory '/Users/jsoref/code/nektos/issues/composite-action/.git'"
time="2021-04-04T13:08:37-04:00" level=debug msg="Found revision: 605b3cfe7dd44913836ce437f4778d36bb1dc335\n"
time="2021-04-04T13:08:37-04:00" level=debug msg="HEAD points to '605b3cfe7dd44913836ce437f4778d36bb1dc335'"
time="2021-04-04T13:08:37-04:00" level=debug msg="HEAD matches refs/heads/main"
time="2021-04-04T13:08:37-04:00" level=debug msg="using github ref: refs/heads/main"
[workflow.yml/local-action]   🐳  docker pull node:12.20.1-buster-slim
time="2021-04-04T13:08:38-04:00" level=debug msg="Image exists? true"
[workflow.yml/local-action]   🐳  docker create image=node:12.20.1-buster-slim platform=linux/amd64 entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[workflow.yml/local-action] Created container name=act-workflow-yml-local-action id=7b401b6429cd05ba78dff9ee7296eef2eb09ec4364f0c1f6b2a1fa66dcfb3c83 from image node:12.20.1-buster-slim (platform: linux/amd64)
[workflow.yml/local-action] ENV ==> [RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUNNER_OS=Linux RUNNER_TEMP=/tmp]
[workflow.yml/local-action]   🐳  docker run image=node:12.20.1-buster-slim platform=linux/amd64 entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[workflow.yml/local-action] Starting container: 7b401b6429cd05ba78dff9ee7296eef2eb09ec4364f0c1f6b2a1fa66dcfb3c83
[workflow.yml/local-action] Started container: 7b401b6429cd05ba78dff9ee7296eef2eb09ec4364f0c1f6b2a1fa66dcfb3c83
time="2021-04-04T13:08:38-04:00" level=debug msg="Writing entry to tarball workflow/event.json len:2"
time="2021-04-04T13:08:38-04:00" level=debug msg="Writing entry to tarball workflow/envs.txt len:0"
time="2021-04-04T13:08:38-04:00" level=debug msg="Writing entry to tarball home/.act len:0"
[workflow.yml/local-action] Extracting content to '/Users/jsoref/code/nektos/issues'
time="2021-04-04T13:08:38-04:00" level=debug msg="Loading slug from git directory '/Users/jsoref/code/nektos/issues/composite-action/.git'"
time="2021-04-04T13:08:38-04:00" level=debug msg="Found revision: 605b3cfe7dd44913836ce437f4778d36bb1dc335\n"
time="2021-04-04T13:08:38-04:00" level=debug msg="Loading revision from git directory '/Users/jsoref/code/nektos/issues/composite-action/.git'"
time="2021-04-04T13:08:38-04:00" level=debug msg="Found revision: 605b3cfe7dd44913836ce437f4778d36bb1dc335\n"
time="2021-04-04T13:08:38-04:00" level=debug msg="HEAD points to '605b3cfe7dd44913836ce437f4778d36bb1dc335'"
time="2021-04-04T13:08:38-04:00" level=debug msg="HEAD matches refs/heads/main"
time="2021-04-04T13:08:38-04:00" level=debug msg="using github ref: refs/heads/main"
time="2021-04-04T13:08:38-04:00" level=debug msg="Loading slug from git directory '/Users/jsoref/code/nektos/issues/composite-action/.git'"
time="2021-04-04T13:08:38-04:00" level=debug msg="Found revision: 605b3cfe7dd44913836ce437f4778d36bb1dc335\n"
time="2021-04-04T13:08:38-04:00" level=debug msg="Loading revision from git directory '/Users/jsoref/code/nektos/issues/composite-action/.git'"
time="2021-04-04T13:08:38-04:00" level=debug msg="Found revision: 605b3cfe7dd44913836ce437f4778d36bb1dc335\n"
time="2021-04-04T13:08:38-04:00" level=debug msg="HEAD points to '605b3cfe7dd44913836ce437f4778d36bb1dc335'"
time="2021-04-04T13:08:38-04:00" level=debug msg="HEAD matches refs/heads/main"
time="2021-04-04T13:08:38-04:00" level=debug msg="using github ref: refs/heads/main"
time="2021-04-04T13:08:38-04:00" level=debug msg="context env => map[ACT:true]"
time="2021-04-04T13:08:38-04:00" level=debug msg="context env => map[ACT:true CI:true GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_ENV:/Users/jsoref/code/nektos/issues/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/Users/jsoref/code/nektos/issues/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_REF:refs/heads/main GITHUB_REPOSITORY:jsoref/nektos-issues-composite-action GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:605b3cfe7dd44913836ce437f4778d36bb1dc335 GITHUB_TOKEN: GITHUB_WORKFLOW:workflow.yml GITHUB_WORKSPACE:/Users/jsoref/code/nektos/issues/composite-action ImageOS:ubuntu20]"
[workflow.yml/local-action] setupEnv => map[ACT:true CI:true GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_ENV:/Users/jsoref/code/nektos/issues/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/Users/jsoref/code/nektos/issues/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_REF:refs/heads/main GITHUB_REPOSITORY:jsoref/nektos-issues-composite-action GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:605b3cfe7dd44913836ce437f4778d36bb1dc335 GITHUB_TOKEN: GITHUB_WORKFLOW:workflow.yml GITHUB_WORKSPACE:/Users/jsoref/code/nektos/issues/composite-action ImageOS:ubuntu20]
[workflow.yml/local-action] ⭐  Run jsoref/gha-debug@2b69872723fa2d51dcc8baa4ebc1c4987d07dd15
[workflow.yml/local-action]   ☁  git clone 'https://github.com/jsoref/gha-debug' # ref=2b69872723fa2d51dcc8baa4ebc1c4987d07dd15
[workflow.yml/local-action]   cloning https://github.com/jsoref/gha-debug to /Users/jsoref/.cache/act/jsoref-gha-debug@2b69872723fa2d51dcc8baa4ebc1c4987d07dd15
[workflow.yml/local-action] Cloned https://github.com/jsoref/gha-debug to /Users/jsoref/.cache/act/jsoref-gha-debug@2b69872723fa2d51dcc8baa4ebc1c4987d07dd15
[workflow.yml/local-action] Checked out 2b69872723fa2d51dcc8baa4ebc1c4987d07dd15
time="2021-04-04T13:08:38-04:00" level=debug msg="Read action &{GHA Debug jsoref Debug github actions map[] map[] {composite map[]   [] [] [{  Env  env  bash map[] map[] false 0} {  Look  find $GITHUB_ACTION_PATH || echo 'wah!'  bash map[] map[] false 0} {  Go  echo \"go to '$GITHUB_ACTION_PATH' or '${{ github.action_path }}'\"; (cd \"${{ github.action_path }}\" && echo \"am in $(pwd) via github.action_path\") || (cd $GITHUB_ACTION_PATH && echo \"am in $(pwd) via GITHUB_ACTION_PATH\") || echo \"oops could not go to '$GITHUB_ACTION_PATH' nor '${{ github.action_path }}'\"  bash map[] map[] false 0}]} {orange activity}} from '/Users/jsoref/.cache/act/jsoref-gha-debug@2b69872723fa2d51dcc8baa4ebc1c4987d07dd15/action.yaml'"
time="2021-04-04T13:08:38-04:00" level=debug msg="About to run action &{GHA Debug jsoref Debug github actions map[] map[] {composite map[]   [] [] [{  Env  env  bash map[] map[] false 0} {  Look  find $GITHUB_ACTION_PATH || echo 'wah!'  bash map[] map[] false 0} {  Go  echo \"go to '$GITHUB_ACTION_PATH' or '${{ github.action_path }}'\"; (cd \"${{ github.action_path }}\" && echo \"am in $(pwd) via github.action_path\") || (cd $GITHUB_ACTION_PATH && echo \"am in $(pwd) via GITHUB_ACTION_PATH\") || echo \"oops could not go to '$GITHUB_ACTION_PATH' nor '${{ github.action_path }}'\"  bash map[] map[] false 0}]} {orange activity}}"
time="2021-04-04T13:08:38-04:00" level=debug msg="type=3 actionDir=/Users/jsoref/.cache/act/jsoref-gha-debug@2b69872723fa2d51dcc8baa4ebc1c4987d07dd15 actionPath= Workdir=/Users/jsoref/code/nektos/issues/composite-action ActionCacheDir=/Users/jsoref/.cache/act actionName=jsoref-gha-debug@2b69872723fa2d51dcc8baa4ebc1c4987d07dd15 containerActionDir=/actions"
[workflow.yml/local-action]   🐳  docker cp src=/Users/jsoref/.cache/act/jsoref-gha-debug@2b69872723fa2d51dcc8baa4ebc1c4987d07dd15 dst=/actions/
[workflow.yml/local-action] Exec command '[mkdir -p /actions/]'
time="2021-04-04T13:08:39-04:00" level=debug msg="Writing tarball /var/folders/r3/n29fz25x72x191fdv6mhhr3m0000gp/T/act862832319 from /Users/jsoref/.cache/act/jsoref-gha-debug@2b69872723fa2d51dcc8baa4ebc1c4987d07dd15"
time="2021-04-04T13:08:39-04:00" level=debug msg="Stripping prefix:/Users/jsoref/.cache/act/ src:/Users/jsoref/.cache/act/jsoref-gha-debug@2b69872723fa2d51dcc8baa4ebc1c4987d07dd15"
[workflow.yml/local-action] Extracting content from '/var/folders/r3/n29fz25x72x191fdv6mhhr3m0000gp/T/act862832319' to '/actions/'
time="2021-04-04T13:08:39-04:00" level=debug msg="Loading slug from git directory '/Users/jsoref/code/nektos/issues/composite-action/.git'"
time="2021-04-04T13:08:39-04:00" level=debug msg="Found revision: 605b3cfe7dd44913836ce437f4778d36bb1dc335\n"
time="2021-04-04T13:08:39-04:00" level=debug msg="Loading revision from git directory '/Users/jsoref/code/nektos/issues/composite-action/.git'"
time="2021-04-04T13:08:39-04:00" level=debug msg="Found revision: 605b3cfe7dd44913836ce437f4778d36bb1dc335\n"
time="2021-04-04T13:08:39-04:00" level=debug msg="HEAD points to '605b3cfe7dd44913836ce437f4778d36bb1dc335'"
time="2021-04-04T13:08:39-04:00" level=debug msg="HEAD matches refs/heads/main"
time="2021-04-04T13:08:39-04:00" level=debug msg="using github ref: refs/heads/main"
time="2021-04-04T13:08:39-04:00" level=debug msg="context env => map[ACT:true]"
time="2021-04-04T13:08:39-04:00" level=debug msg="context env => map[ACT:true CI:true GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_ENV:/Users/jsoref/code/nektos/issues/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/Users/jsoref/code/nektos/issues/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_REF:refs/heads/main GITHUB_REPOSITORY:jsoref/nektos-issues-composite-action GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:605b3cfe7dd44913836ce437f4778d36bb1dc335 GITHUB_TOKEN: GITHUB_WORKFLOW:workflow.yml GITHUB_WORKSPACE:/Users/jsoref/code/nektos/issues/composite-action ImageOS:ubuntu20]"
time="2021-04-04T13:08:39-04:00" level=debug msg="Loading slug from git directory '/Users/jsoref/code/nektos/issues/composite-action/.git'"
time="2021-04-04T13:08:39-04:00" level=debug msg="Found revision: 605b3cfe7dd44913836ce437f4778d36bb1dc335\n"
time="2021-04-04T13:08:39-04:00" level=debug msg="Loading revision from git directory '/Users/jsoref/code/nektos/issues/composite-action/.git'"
time="2021-04-04T13:08:39-04:00" level=debug msg="Found revision: 605b3cfe7dd44913836ce437f4778d36bb1dc335\n"
time="2021-04-04T13:08:39-04:00" level=debug msg="HEAD points to '605b3cfe7dd44913836ce437f4778d36bb1dc335'"
time="2021-04-04T13:08:39-04:00" level=debug msg="HEAD matches refs/heads/main"
time="2021-04-04T13:08:39-04:00" level=debug msg="using github ref: refs/heads/main"
time="2021-04-04T13:08:39-04:00" level=debug msg="context env => map[ACT:true]"
time="2021-04-04T13:08:39-04:00" level=debug msg="context env => map[ACT:true CI:true GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_ENV:/Users/jsoref/code/nektos/issues/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/Users/jsoref/code/nektos/issues/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_REF:refs/heads/main GITHUB_REPOSITORY:jsoref/nektos-issues-composite-action GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:605b3cfe7dd44913836ce437f4778d36bb1dc335 GITHUB_TOKEN: GITHUB_WORKFLOW:workflow.yml GITHUB_WORKSPACE:/Users/jsoref/code/nektos/issues/composite-action ImageOS:ubuntu20]"
time="2021-04-04T13:08:39-04:00" level=debug msg="Loading slug from git directory '/Users/jsoref/code/nektos/issues/composite-action/.git'"
time="2021-04-04T13:08:39-04:00" level=debug msg="Found revision: 605b3cfe7dd44913836ce437f4778d36bb1dc335\n"
time="2021-04-04T13:08:39-04:00" level=debug msg="Loading revision from git directory '/Users/jsoref/code/nektos/issues/composite-action/.git'"
time="2021-04-04T13:08:39-04:00" level=debug msg="Found revision: 605b3cfe7dd44913836ce437f4778d36bb1dc335\n"
time="2021-04-04T13:08:39-04:00" level=debug msg="HEAD points to '605b3cfe7dd44913836ce437f4778d36bb1dc335'"
time="2021-04-04T13:08:39-04:00" level=debug msg="HEAD matches refs/heads/main"
time="2021-04-04T13:08:39-04:00" level=debug msg="using github ref: refs/heads/main"
time="2021-04-04T13:08:39-04:00" level=debug msg="context env => map[ACT:true]"
time="2021-04-04T13:08:39-04:00" level=debug msg="context env => map[ACT:true CI:true GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_ENV:/Users/jsoref/code/nektos/issues/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/Users/jsoref/code/nektos/issues/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_REF:refs/heads/main GITHUB_REPOSITORY:jsoref/nektos-issues-composite-action GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:605b3cfe7dd44913836ce437f4778d36bb1dc335 GITHUB_TOKEN: GITHUB_WORKFLOW:workflow.yml GITHUB_WORKSPACE:/Users/jsoref/code/nektos/issues/composite-action ImageOS:ubuntu20]"
time="2021-04-04T13:08:39-04:00" level=debug msg="Wrote command '\nenv\n' to 'workflow/composite-0.sh'"
time="2021-04-04T13:08:39-04:00" level=debug msg="Writing entry to tarball workflow/composite-0.sh len:3"
[workflow.yml/local-action] Extracting content to '/Users/jsoref/code/nektos/issues/'
[workflow.yml/local-action] Exec command '[bash --login --noprofile --norc -e -o pipefail /Users/jsoref/code/nektos/issues/workflow/composite-0.sh]'
[workflow.yml/local-action]   | GITHUB_WORKSPACE=/Users/jsoref/code/nektos/issues/composite-action
[workflow.yml/local-action]   | HOSTNAME=docker-desktop
[workflow.yml/local-action]   | GITHUB_ACTION=0
[workflow.yml/local-action]   | GITHUB_RUN_NUMBER=1
[workflow.yml/local-action]   | YARN_VERSION=1.22.5
[workflow.yml/local-action]   | PWD=/Users/jsoref/code/nektos/issues/composite-action
[workflow.yml/local-action]   | GITHUB_ACTIONS=true
[workflow.yml/local-action]   | GITHUB_SHA=605b3cfe7dd44913836ce437f4778d36bb1dc335
[workflow.yml/local-action]   | GITHUB_REF=refs/heads/main
[workflow.yml/local-action]   | ACT=true
[workflow.yml/local-action]   | RUNNER_OS=Linux
[workflow.yml/local-action]   | HOME=/root
[workflow.yml/local-action]   | GITHUB_API_URL=https://api.github.com
[workflow.yml/local-action]   | GITHUB_TOKEN=
[workflow.yml/local-action]   | RUNNER_TEMP=/tmp
[workflow.yml/local-action]   | GITHUB_ENV=/Users/jsoref/code/nektos/issues/workflow/envs.txt
[workflow.yml/local-action]   | GITHUB_EVENT_PATH=/Users/jsoref/code/nektos/issues/workflow/event.json
[workflow.yml/local-action]   | GITHUB_EVENT_NAME=push
[workflow.yml/local-action]   | GITHUB_RUN_ID=1
[workflow.yml/local-action]   | GITHUB_ACTOR=nektos/act
[workflow.yml/local-action]   | GITHUB_GRAPHQL_URL=https://api.github.com/graphql
[workflow.yml/local-action]   | GITHUB_SERVER_URL=https://github.com
[workflow.yml/local-action]   | SHLVL=1
[workflow.yml/local-action]   | RUNNER_TOOL_CACHE=/opt/hostedtoolcache
[workflow.yml/local-action]   | GITHUB_REPOSITORY=jsoref/nektos-issues-composite-action
[workflow.yml/local-action]   | PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[workflow.yml/local-action]   | CI=true
[workflow.yml/local-action]   | ImageOS=ubuntu20
[workflow.yml/local-action]   | NODE_VERSION=12.20.1
[workflow.yml/local-action]   | GITHUB_WORKFLOW=workflow.yml
[workflow.yml/local-action]   | _=/usr/bin/env
time="2021-04-04T13:08:39-04:00" level=debug msg="Wrote command '\nfind $GITHUB_ACTION_PATH || echo 'wah!'\n' to 'workflow/composite-1.sh'"
time="2021-04-04T13:08:39-04:00" level=debug msg="Writing entry to tarball workflow/composite-1.sh len:39"
[workflow.yml/local-action] Extracting content to '/Users/jsoref/code/nektos/issues/'
[workflow.yml/local-action] Exec command '[bash --login --noprofile --norc -e -o pipefail /Users/jsoref/code/nektos/issues/workflow/composite-1.sh]'
[workflow.yml/local-action]   | .
time="2021-04-04T13:08:39-04:00" level=debug msg="Wrote command '\necho \"go to '$GITHUB_ACTION_PATH' or '/actions/jsoref-gha-debug@2b69872723fa2d51dcc8baa4ebc1c4987d07dd15'\"; (cd \"/actions/jsoref-gha-debug@2b69872723fa2d51dcc8baa4ebc1c4987d07dd15\" && echo \"am in $(pwd) via github.action_path\") || (cd $GITHUB_ACTION_PATH && echo \"am in $(pwd) via GITHUB_ACTION_PATH\") || echo \"oops could not go to '$GITHUB_ACTION_PATH' nor '/actions/jsoref-gha-debug@2b69872723fa2d51dcc8baa4ebc1c4987d07dd15'\"\n' to 'workflow/composite-2.sh'"
time="2021-04-04T13:08:39-04:00" level=debug msg="Writing entry to tarball workflow/composite-2.sh len:427"
[workflow.yml/local-action] Extracting content to '/Users/jsoref/code/nektos/issues/'
[workflow.yml/local-action] Exec command '[bash --login --noprofile --norc -e -o pipefail /Users/jsoref/code/nektos/issues/workflow/composite-2.sh]'
[workflow.yml/local-action]   | go to '' or '/actions/jsoref-gha-debug@2b69872723fa2d51dcc8baa4ebc1c4987d07dd15'
[workflow.yml/local-action]   | am in /actions/jsoref-gha-debug@2b69872723fa2d51dcc8baa4ebc1c4987d07dd15 via github.action_path
[workflow.yml/local-action]   ✅  Success - jsoref/gha-debug@2b69872723fa2d51dcc8baa4ebc1c4987d07dd15
[workflow.yml/local-action] Removed container: 7b401b6429cd05ba78dff9ee7296eef2eb09ec4364f0c1f6b2a1fa66dcfb3c83
[workflow.yml/local-action]   🐳  docker volume rm act-workflow-yml-local-action

Actual behaviour

The action isn't copied into /actions and thus the composite workflow fails

Workflow and/or repository

action

github.com/jsoref/gha-debug@2b69872723/action.yaml:

name: 'GHA Debug'
description: 'Debug github actions'
author: 'jsoref'
branding:
  icon: 'activity'
  color: 'orange'
runs:
  using: 'composite'
  steps:
    - name: Env
      shell: bash
      run: env
    - name: Look
      shell: bash
      run: find $GITHUB_ACTION_PATH || echo 'wah!'
    - name: Go
      shell: bash
      run: echo "go to '$GITHUB_ACTION_PATH' or '${{ github.action_path }}'"; (cd "${{ github.action_path }}" && echo "am in $(pwd) via github.action_path") || (cd $GITHUB_ACTION_PATH && echo "am in $(pwd) via GITHUB_ACTION_PATH") || echo "oops could not go to '$GITHUB_ACTION_PATH' nor '${{ github.action_path }}'"
workflow
on:
  workflow_dispatch:
  push:

jobs:
  local-action:
    runs-on: ubuntu-latest
    steps:
      - uses: jsoref/gha-debug@2b69872723fa2d51dcc8baa4ebc1c4987d07dd15

Steps to reproduce

act output

Log
time="2021-04-04T13:07:51-04:00" level=debug msg="Loading environment from /Users/jsoref/code/nektos/issues/composite-action/.env"
time="2021-04-04T13:07:51-04:00" level=debug msg="Loading secrets from /Users/jsoref/code/nektos/issues/composite-action/.secrets"
time="2021-04-04T13:07:51-04:00" level=debug msg="Loading workflows from '/Users/jsoref/code/nektos/issues/composite-action/.github/workflows'"
time="2021-04-04T13:07:51-04:00" level=debug msg="Reading workflow '/Users/jsoref/code/nektos/issues/composite-action/.github/workflows/workflow.yml'"
time="2021-04-04T13:07:51-04:00" level=debug msg="Planning event: push"
time="2021-04-04T13:07:51-04:00" level=debug msg="Loading slug from git directory '/Users/jsoref/code/nektos/issues/composite-action/.git'"
time="2021-04-04T13:07:51-04:00" level=debug msg="Found revision: 605b3cfe7dd44913836ce437f4778d36bb1dc335\n"
time="2021-04-04T13:07:51-04:00" level=debug msg="Loading revision from git directory '/Users/jsoref/code/nektos/issues/composite-action/.git'"
time="2021-04-04T13:07:51-04:00" level=debug msg="Found revision: 605b3cfe7dd44913836ce437f4778d36bb1dc335\n"
time="2021-04-04T13:07:51-04:00" level=debug msg="HEAD points to '605b3cfe7dd44913836ce437f4778d36bb1dc335'"
time="2021-04-04T13:07:51-04:00" level=debug msg="HEAD matches refs/heads/main"
time="2021-04-04T13:07:51-04:00" level=debug msg="using github ref: refs/heads/main"
time="2021-04-04T13:07:51-04:00" level=debug msg="context env => map[ACT:true]"
[workflow.yml/local-action] 🚀  Start image=node:12.20.1-buster-slim
time="2021-04-04T13:07:51-04:00" level=debug msg="Loading slug from git directory '/Users/jsoref/code/nektos/issues/composite-action/.git'"
time="2021-04-04T13:07:51-04:00" level=debug msg="Found revision: 605b3cfe7dd44913836ce437f4778d36bb1dc335\n"
time="2021-04-04T13:07:51-04:00" level=debug msg="Loading revision from git directory '/Users/jsoref/code/nektos/issues/composite-action/.git'"
time="2021-04-04T13:07:51-04:00" level=debug msg="Found revision: 605b3cfe7dd44913836ce437f4778d36bb1dc335\n"
time="2021-04-04T13:07:51-04:00" level=debug msg="HEAD points to '605b3cfe7dd44913836ce437f4778d36bb1dc335'"
time="2021-04-04T13:07:51-04:00" level=debug msg="HEAD matches refs/heads/main"
time="2021-04-04T13:07:51-04:00" level=debug msg="using github ref: refs/heads/main"
[workflow.yml/local-action]   🐳  docker pull node:12.20.1-buster-slim
time="2021-04-04T13:07:51-04:00" level=debug msg="Image exists? true"
[workflow.yml/local-action]   🐳  docker create image=node:12.20.1-buster-slim platform=linux/amd64 entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[workflow.yml/local-action] Created container name=act-workflow-yml-local-action id=a59d227c1ed7ec5a40fd279198afae86d992cbd166bf42e9929be1adf12b8dba from image node:12.20.1-buster-slim (platform: linux/amd64)
[workflow.yml/local-action] ENV ==> [RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUNNER_OS=Linux RUNNER_TEMP=/tmp]
[workflow.yml/local-action]   🐳  docker run image=node:12.20.1-buster-slim platform=linux/amd64 entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[workflow.yml/local-action] Starting container: a59d227c1ed7ec5a40fd279198afae86d992cbd166bf42e9929be1adf12b8dba
[workflow.yml/local-action] Started container: a59d227c1ed7ec5a40fd279198afae86d992cbd166bf42e9929be1adf12b8dba
time="2021-04-04T13:07:51-04:00" level=debug msg="Writing entry to tarball workflow/event.json len:2"
time="2021-04-04T13:07:51-04:00" level=debug msg="Writing entry to tarball workflow/envs.txt len:0"
time="2021-04-04T13:07:51-04:00" level=debug msg="Writing entry to tarball home/.act len:0"
[workflow.yml/local-action] Extracting content to '/Users/jsoref/code/nektos/issues'
time="2021-04-04T13:07:51-04:00" level=debug msg="Loading slug from git directory '/Users/jsoref/code/nektos/issues/composite-action/.git'"
time="2021-04-04T13:07:51-04:00" level=debug msg="Found revision: 605b3cfe7dd44913836ce437f4778d36bb1dc335\n"
time="2021-04-04T13:07:51-04:00" level=debug msg="Loading revision from git directory '/Users/jsoref/code/nektos/issues/composite-action/.git'"
time="2021-04-04T13:07:51-04:00" level=debug msg="Found revision: 605b3cfe7dd44913836ce437f4778d36bb1dc335\n"
time="2021-04-04T13:07:51-04:00" level=debug msg="HEAD points to '605b3cfe7dd44913836ce437f4778d36bb1dc335'"
time="2021-04-04T13:07:51-04:00" level=debug msg="HEAD matches refs/heads/main"
time="2021-04-04T13:07:51-04:00" level=debug msg="using github ref: refs/heads/main"
time="2021-04-04T13:07:51-04:00" level=debug msg="Loading slug from git directory '/Users/jsoref/code/nektos/issues/composite-action/.git'"
time="2021-04-04T13:07:51-04:00" level=debug msg="Found revision: 605b3cfe7dd44913836ce437f4778d36bb1dc335\n"
time="2021-04-04T13:07:51-04:00" level=debug msg="Loading revision from git directory '/Users/jsoref/code/nektos/issues/composite-action/.git'"
time="2021-04-04T13:07:51-04:00" level=debug msg="Found revision: 605b3cfe7dd44913836ce437f4778d36bb1dc335\n"
time="2021-04-04T13:07:51-04:00" level=debug msg="HEAD points to '605b3cfe7dd44913836ce437f4778d36bb1dc335'"
time="2021-04-04T13:07:51-04:00" level=debug msg="HEAD matches refs/heads/main"
time="2021-04-04T13:07:51-04:00" level=debug msg="using github ref: refs/heads/main"
time="2021-04-04T13:07:51-04:00" level=debug msg="context env => map[ACT:true]"
time="2021-04-04T13:07:51-04:00" level=debug msg="context env => map[ACT:true CI:true GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_ENV:/Users/jsoref/code/nektos/issues/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/Users/jsoref/code/nektos/issues/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_REF:refs/heads/main GITHUB_REPOSITORY:jsoref/nektos-issues-composite-action GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:605b3cfe7dd44913836ce437f4778d36bb1dc335 GITHUB_TOKEN: GITHUB_WORKFLOW:workflow.yml GITHUB_WORKSPACE:/Users/jsoref/code/nektos/issues/composite-action ImageOS:ubuntu20]"
[workflow.yml/local-action] setupEnv => map[ACT:true CI:true GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_ENV:/Users/jsoref/code/nektos/issues/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/Users/jsoref/code/nektos/issues/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_REF:refs/heads/main GITHUB_REPOSITORY:jsoref/nektos-issues-composite-action GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:605b3cfe7dd44913836ce437f4778d36bb1dc335 GITHUB_TOKEN: GITHUB_WORKFLOW:workflow.yml GITHUB_WORKSPACE:/Users/jsoref/code/nektos/issues/composite-action ImageOS:ubuntu20]
[workflow.yml/local-action] ⭐  Run jsoref/gha-debug@2b69872723fa2d51dcc8baa4ebc1c4987d07dd15
[workflow.yml/local-action]   ☁  git clone 'https://github.com/jsoref/gha-debug' # ref=2b69872723fa2d51dcc8baa4ebc1c4987d07dd15
[workflow.yml/local-action]   cloning https://github.com/jsoref/gha-debug to /Users/jsoref/.cache/act/jsoref-gha-debug@2b69872723fa2d51dcc8baa4ebc1c4987d07dd15
[workflow.yml/local-action] Cloned https://github.com/jsoref/gha-debug to /Users/jsoref/.cache/act/jsoref-gha-debug@2b69872723fa2d51dcc8baa4ebc1c4987d07dd15
[workflow.yml/local-action] Checked out 2b69872723fa2d51dcc8baa4ebc1c4987d07dd15
time="2021-04-04T13:07:52-04:00" level=debug msg="Read action &{GHA Debug jsoref Debug github actions map[] map[] {composite map[]   [] [] [{  Env  env  bash map[] map[] false 0} {  Look  find $GITHUB_ACTION_PATH || echo 'wah!'  bash map[] map[] false 0} {  Go  echo \"go to '$GITHUB_ACTION_PATH' or '${{ github.action_path }}'\"; (cd \"${{ github.action_path }}\" && echo \"am in $(pwd) via github.action_path\") || (cd $GITHUB_ACTION_PATH && echo \"am in $(pwd) via GITHUB_ACTION_PATH\") || echo \"oops could not go to '$GITHUB_ACTION_PATH' nor '${{ github.action_path }}'\"  bash map[] map[] false 0}]} {orange activity}} from '/Users/jsoref/.cache/act/jsoref-gha-debug@2b69872723fa2d51dcc8baa4ebc1c4987d07dd15/action.yaml'"
time="2021-04-04T13:07:52-04:00" level=debug msg="About to run action &{GHA Debug jsoref Debug github actions map[] map[] {composite map[]   [] [] [{  Env  env  bash map[] map[] false 0} {  Look  find $GITHUB_ACTION_PATH || echo 'wah!'  bash map[] map[] false 0} {  Go  echo \"go to '$GITHUB_ACTION_PATH' or '${{ github.action_path }}'\"; (cd \"${{ github.action_path }}\" && echo \"am in $(pwd) via github.action_path\") || (cd $GITHUB_ACTION_PATH && echo \"am in $(pwd) via GITHUB_ACTION_PATH\") || echo \"oops could not go to '$GITHUB_ACTION_PATH' nor '${{ github.action_path }}'\"  bash map[] map[] false 0}]} {orange activity}}"
time="2021-04-04T13:07:52-04:00" level=debug msg="type=3 actionDir=/Users/jsoref/.cache/act/jsoref-gha-debug@2b69872723fa2d51dcc8baa4ebc1c4987d07dd15 actionPath= Workdir=/Users/jsoref/code/nektos/issues/composite-action ActionCacheDir=/Users/jsoref/.cache/act actionName=jsoref-gha-debug@2b69872723fa2d51dcc8baa4ebc1c4987d07dd15 containerActionDir=/actions"
time="2021-04-04T13:07:52-04:00" level=debug msg="Loading slug from git directory '/Users/jsoref/code/nektos/issues/composite-action/.git'"
time="2021-04-04T13:07:52-04:00" level=debug msg="Found revision: 605b3cfe7dd44913836ce437f4778d36bb1dc335\n"
time="2021-04-04T13:07:52-04:00" level=debug msg="Loading revision from git directory '/Users/jsoref/code/nektos/issues/composite-action/.git'"
time="2021-04-04T13:07:52-04:00" level=debug msg="Found revision: 605b3cfe7dd44913836ce437f4778d36bb1dc335\n"
time="2021-04-04T13:07:52-04:00" level=debug msg="HEAD points to '605b3cfe7dd44913836ce437f4778d36bb1dc335'"
time="2021-04-04T13:07:52-04:00" level=debug msg="HEAD matches refs/heads/main"
time="2021-04-04T13:07:52-04:00" level=debug msg="using github ref: refs/heads/main"
time="2021-04-04T13:07:52-04:00" level=debug msg="context env => map[ACT:true]"
time="2021-04-04T13:07:52-04:00" level=debug msg="context env => map[ACT:true CI:true GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_ENV:/Users/jsoref/code/nektos/issues/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/Users/jsoref/code/nektos/issues/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_REF:refs/heads/main GITHUB_REPOSITORY:jsoref/nektos-issues-composite-action GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:605b3cfe7dd44913836ce437f4778d36bb1dc335 GITHUB_TOKEN: GITHUB_WORKFLOW:workflow.yml GITHUB_WORKSPACE:/Users/jsoref/code/nektos/issues/composite-action ImageOS:ubuntu20]"
time="2021-04-04T13:07:52-04:00" level=debug msg="Loading slug from git directory '/Users/jsoref/code/nektos/issues/composite-action/.git'"
time="2021-04-04T13:07:52-04:00" level=debug msg="Found revision: 605b3cfe7dd44913836ce437f4778d36bb1dc335\n"
time="2021-04-04T13:07:52-04:00" level=debug msg="Loading revision from git directory '/Users/jsoref/code/nektos/issues/composite-action/.git'"
time="2021-04-04T13:07:52-04:00" level=debug msg="Found revision: 605b3cfe7dd44913836ce437f4778d36bb1dc335\n"
time="2021-04-04T13:07:52-04:00" level=debug msg="HEAD points to '605b3cfe7dd44913836ce437f4778d36bb1dc335'"
time="2021-04-04T13:07:52-04:00" level=debug msg="HEAD matches refs/heads/main"
time="2021-04-04T13:07:52-04:00" level=debug msg="using github ref: refs/heads/main"
time="2021-04-04T13:07:52-04:00" level=debug msg="context env => map[ACT:true]"
time="2021-04-04T13:07:52-04:00" level=debug msg="context env => map[ACT:true CI:true GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_ENV:/Users/jsoref/code/nektos/issues/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/Users/jsoref/code/nektos/issues/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_REF:refs/heads/main GITHUB_REPOSITORY:jsoref/nektos-issues-composite-action GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:605b3cfe7dd44913836ce437f4778d36bb1dc335 GITHUB_TOKEN: GITHUB_WORKFLOW:workflow.yml GITHUB_WORKSPACE:/Users/jsoref/code/nektos/issues/composite-action ImageOS:ubuntu20]"
time="2021-04-04T13:07:52-04:00" level=debug msg="Loading slug from git directory '/Users/jsoref/code/nektos/issues/composite-action/.git'"
time="2021-04-04T13:07:52-04:00" level=debug msg="Found revision: 605b3cfe7dd44913836ce437f4778d36bb1dc335\n"
time="2021-04-04T13:07:52-04:00" level=debug msg="Loading revision from git directory '/Users/jsoref/code/nektos/issues/composite-action/.git'"
time="2021-04-04T13:07:52-04:00" level=debug msg="Found revision: 605b3cfe7dd44913836ce437f4778d36bb1dc335\n"
time="2021-04-04T13:07:52-04:00" level=debug msg="HEAD points to '605b3cfe7dd44913836ce437f4778d36bb1dc335'"
time="2021-04-04T13:07:52-04:00" level=debug msg="HEAD matches refs/heads/main"
time="2021-04-04T13:07:52-04:00" level=debug msg="using github ref: refs/heads/main"
time="2021-04-04T13:07:52-04:00" level=debug msg="context env => map[ACT:true]"
time="2021-04-04T13:07:52-04:00" level=debug msg="context env => map[ACT:true CI:true GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_ENV:/Users/jsoref/code/nektos/issues/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/Users/jsoref/code/nektos/issues/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_REF:refs/heads/main GITHUB_REPOSITORY:jsoref/nektos-issues-composite-action GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:605b3cfe7dd44913836ce437f4778d36bb1dc335 GITHUB_TOKEN: GITHUB_WORKFLOW:workflow.yml GITHUB_WORKSPACE:/Users/jsoref/code/nektos/issues/composite-action ImageOS:ubuntu20]"
time="2021-04-04T13:07:52-04:00" level=debug msg="Wrote command '\nenv\n' to 'workflow/composite-0.sh'"
time="2021-04-04T13:07:52-04:00" level=debug msg="Writing entry to tarball workflow/composite-0.sh len:3"
[workflow.yml/local-action] Extracting content to '/Users/jsoref/code/nektos/issues/'
[workflow.yml/local-action] Exec command '[bash --login --noprofile --norc -e -o pipefail /Users/jsoref/code/nektos/issues/workflow/composite-0.sh]'
[workflow.yml/local-action]   | GITHUB_WORKSPACE=/Users/jsoref/code/nektos/issues/composite-action
[workflow.yml/local-action]   | HOSTNAME=docker-desktop
[workflow.yml/local-action]   | GITHUB_ACTION=0
[workflow.yml/local-action]   | GITHUB_RUN_NUMBER=1
[workflow.yml/local-action]   | YARN_VERSION=1.22.5
[workflow.yml/local-action]   | PWD=/Users/jsoref/code/nektos/issues/composite-action
[workflow.yml/local-action]   | GITHUB_ACTIONS=true
[workflow.yml/local-action]   | GITHUB_SHA=605b3cfe7dd44913836ce437f4778d36bb1dc335
[workflow.yml/local-action]   | GITHUB_REF=refs/heads/main
[workflow.yml/local-action]   | ACT=true
[workflow.yml/local-action]   | RUNNER_OS=Linux
[workflow.yml/local-action]   | HOME=/root
[workflow.yml/local-action]   | GITHUB_API_URL=https://api.github.com
[workflow.yml/local-action]   | GITHUB_TOKEN=
[workflow.yml/local-action]   | RUNNER_TEMP=/tmp
[workflow.yml/local-action]   | GITHUB_ENV=/Users/jsoref/code/nektos/issues/workflow/envs.txt
[workflow.yml/local-action]   | GITHUB_EVENT_PATH=/Users/jsoref/code/nektos/issues/workflow/event.json
[workflow.yml/local-action]   | GITHUB_EVENT_NAME=push
[workflow.yml/local-action]   | GITHUB_RUN_ID=1
[workflow.yml/local-action]   | GITHUB_ACTOR=nektos/act
[workflow.yml/local-action]   | GITHUB_GRAPHQL_URL=https://api.github.com/graphql
[workflow.yml/local-action]   | GITHUB_SERVER_URL=https://github.com
[workflow.yml/local-action]   | SHLVL=1
[workflow.yml/local-action]   | RUNNER_TOOL_CACHE=/opt/hostedtoolcache
[workflow.yml/local-action]   | GITHUB_REPOSITORY=jsoref/nektos-issues-composite-action
[workflow.yml/local-action]   | PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[workflow.yml/local-action]   | CI=true
[workflow.yml/local-action]   | ImageOS=ubuntu20
[workflow.yml/local-action]   | NODE_VERSION=12.20.1
[workflow.yml/local-action]   | GITHUB_WORKFLOW=workflow.yml
[workflow.yml/local-action]   | _=/usr/bin/env
time="2021-04-04T13:07:52-04:00" level=debug msg="Wrote command '\nfind $GITHUB_ACTION_PATH || echo 'wah!'\n' to 'workflow/composite-1.sh'"
time="2021-04-04T13:07:52-04:00" level=debug msg="Writing entry to tarball workflow/composite-1.sh len:39"
[workflow.yml/local-action] Extracting content to '/Users/jsoref/code/nektos/issues/'
[workflow.yml/local-action] Exec command '[bash --login --noprofile --norc -e -o pipefail /Users/jsoref/code/nektos/issues/workflow/composite-1.sh]'
[workflow.yml/local-action]   | .
time="2021-04-04T13:07:52-04:00" level=debug msg="Wrote command '\necho \"go to '$GITHUB_ACTION_PATH' or '/actions/jsoref-gha-debug@2b69872723fa2d51dcc8baa4ebc1c4987d07dd15'\"; (cd \"/actions/jsoref-gha-debug@2b69872723fa2d51dcc8baa4ebc1c4987d07dd15\" && echo \"am in $(pwd) via github.action_path\") || (cd $GITHUB_ACTION_PATH && echo \"am in $(pwd) via GITHUB_ACTION_PATH\") || echo \"oops could not go to '$GITHUB_ACTION_PATH' nor '/actions/jsoref-gha-debug@2b69872723fa2d51dcc8baa4ebc1c4987d07dd15'\"\n' to 'workflow/composite-2.sh'"
time="2021-04-04T13:07:52-04:00" level=debug msg="Writing entry to tarball workflow/composite-2.sh len:427"
[workflow.yml/local-action] Extracting content to '/Users/jsoref/code/nektos/issues/'
[workflow.yml/local-action] Exec command '[bash --login --noprofile --norc -e -o pipefail /Users/jsoref/code/nektos/issues/workflow/composite-2.sh]'
[workflow.yml/local-action]   | go to '' or '/actions/jsoref-gha-debug@2b69872723fa2d51dcc8baa4ebc1c4987d07dd15'
[workflow.yml/local-action]   | /Users/jsoref/code/nektos/issues/workflow/composite-2.sh: line 1: cd: /actions/jsoref-gha-debug@2b69872723fa2d51dcc8baa4ebc1c4987d07dd15: No such file or directory
[workflow.yml/local-action]   | am in /root via GITHUB_ACTION_PATH
[workflow.yml/local-action]   ✅  Success - jsoref/gha-debug@2b69872723fa2d51dcc8baa4ebc1c4987d07dd15
[workflow.yml/local-action] Removed container: a59d227c1ed7ec5a40fd279198afae86d992cbd166bf42e9929be1adf12b8dba
[workflow.yml/local-action]   🐳  docker volume rm act-workflow-yml-local-action
Originally created by @jsoref on GitHub (Apr 4, 2021). Original GitHub issue: https://github.com/nektos/act/issues/607 <!-- - Make sure you are able to reproduce it on the [latest version](https://github.com/nektos/act/releases) - Search the existing issues. - Refer to [README](https://github.com/nektos/act/blob/master/README.md). --> ## Act version <!-- Paste output of `act --version` --> ```none act version 7e1ba1 ``` 47e1ba1b55340999a31905e7c9821ccbeccdeef7 (#606 will fix) ## Expected behaviour <details> <summary>it should cd into the action directoryand then exit successfully </summary> (`/actions/jsoref-gha-debug@2b69872723fa2d51dcc8baa4ebc1c4987d07dd15/` ) ``` time="2021-04-04T13:08:37-04:00" level=debug msg="Loading environment from /Users/jsoref/code/nektos/issues/composite-action/.env" time="2021-04-04T13:08:37-04:00" level=debug msg="Loading secrets from /Users/jsoref/code/nektos/issues/composite-action/.secrets" time="2021-04-04T13:08:37-04:00" level=debug msg="Loading workflows from '/Users/jsoref/code/nektos/issues/composite-action/.github/workflows'" time="2021-04-04T13:08:37-04:00" level=debug msg="Reading workflow '/Users/jsoref/code/nektos/issues/composite-action/.github/workflows/workflow.yml'" time="2021-04-04T13:08:37-04:00" level=debug msg="Planning event: push" time="2021-04-04T13:08:37-04:00" level=debug msg="Loading slug from git directory '/Users/jsoref/code/nektos/issues/composite-action/.git'" time="2021-04-04T13:08:37-04:00" level=debug msg="Found revision: 605b3cfe7dd44913836ce437f4778d36bb1dc335\n" time="2021-04-04T13:08:37-04:00" level=debug msg="Loading revision from git directory '/Users/jsoref/code/nektos/issues/composite-action/.git'" time="2021-04-04T13:08:37-04:00" level=debug msg="Found revision: 605b3cfe7dd44913836ce437f4778d36bb1dc335\n" time="2021-04-04T13:08:37-04:00" level=debug msg="HEAD points to '605b3cfe7dd44913836ce437f4778d36bb1dc335'" time="2021-04-04T13:08:37-04:00" level=debug msg="HEAD matches refs/heads/main" time="2021-04-04T13:08:37-04:00" level=debug msg="using github ref: refs/heads/main" time="2021-04-04T13:08:37-04:00" level=debug msg="context env => map[ACT:true]" [workflow.yml/local-action] 🚀 Start image=node:12.20.1-buster-slim time="2021-04-04T13:08:37-04:00" level=debug msg="Loading slug from git directory '/Users/jsoref/code/nektos/issues/composite-action/.git'" time="2021-04-04T13:08:37-04:00" level=debug msg="Found revision: 605b3cfe7dd44913836ce437f4778d36bb1dc335\n" time="2021-04-04T13:08:37-04:00" level=debug msg="Loading revision from git directory '/Users/jsoref/code/nektos/issues/composite-action/.git'" time="2021-04-04T13:08:37-04:00" level=debug msg="Found revision: 605b3cfe7dd44913836ce437f4778d36bb1dc335\n" time="2021-04-04T13:08:37-04:00" level=debug msg="HEAD points to '605b3cfe7dd44913836ce437f4778d36bb1dc335'" time="2021-04-04T13:08:37-04:00" level=debug msg="HEAD matches refs/heads/main" time="2021-04-04T13:08:37-04:00" level=debug msg="using github ref: refs/heads/main" [workflow.yml/local-action] 🐳 docker pull node:12.20.1-buster-slim time="2021-04-04T13:08:38-04:00" level=debug msg="Image exists? true" [workflow.yml/local-action] 🐳 docker create image=node:12.20.1-buster-slim platform=linux/amd64 entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[] [workflow.yml/local-action] Created container name=act-workflow-yml-local-action id=7b401b6429cd05ba78dff9ee7296eef2eb09ec4364f0c1f6b2a1fa66dcfb3c83 from image node:12.20.1-buster-slim (platform: linux/amd64) [workflow.yml/local-action] ENV ==> [RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUNNER_OS=Linux RUNNER_TEMP=/tmp] [workflow.yml/local-action] 🐳 docker run image=node:12.20.1-buster-slim platform=linux/amd64 entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[] [workflow.yml/local-action] Starting container: 7b401b6429cd05ba78dff9ee7296eef2eb09ec4364f0c1f6b2a1fa66dcfb3c83 [workflow.yml/local-action] Started container: 7b401b6429cd05ba78dff9ee7296eef2eb09ec4364f0c1f6b2a1fa66dcfb3c83 time="2021-04-04T13:08:38-04:00" level=debug msg="Writing entry to tarball workflow/event.json len:2" time="2021-04-04T13:08:38-04:00" level=debug msg="Writing entry to tarball workflow/envs.txt len:0" time="2021-04-04T13:08:38-04:00" level=debug msg="Writing entry to tarball home/.act len:0" [workflow.yml/local-action] Extracting content to '/Users/jsoref/code/nektos/issues' time="2021-04-04T13:08:38-04:00" level=debug msg="Loading slug from git directory '/Users/jsoref/code/nektos/issues/composite-action/.git'" time="2021-04-04T13:08:38-04:00" level=debug msg="Found revision: 605b3cfe7dd44913836ce437f4778d36bb1dc335\n" time="2021-04-04T13:08:38-04:00" level=debug msg="Loading revision from git directory '/Users/jsoref/code/nektos/issues/composite-action/.git'" time="2021-04-04T13:08:38-04:00" level=debug msg="Found revision: 605b3cfe7dd44913836ce437f4778d36bb1dc335\n" time="2021-04-04T13:08:38-04:00" level=debug msg="HEAD points to '605b3cfe7dd44913836ce437f4778d36bb1dc335'" time="2021-04-04T13:08:38-04:00" level=debug msg="HEAD matches refs/heads/main" time="2021-04-04T13:08:38-04:00" level=debug msg="using github ref: refs/heads/main" time="2021-04-04T13:08:38-04:00" level=debug msg="Loading slug from git directory '/Users/jsoref/code/nektos/issues/composite-action/.git'" time="2021-04-04T13:08:38-04:00" level=debug msg="Found revision: 605b3cfe7dd44913836ce437f4778d36bb1dc335\n" time="2021-04-04T13:08:38-04:00" level=debug msg="Loading revision from git directory '/Users/jsoref/code/nektos/issues/composite-action/.git'" time="2021-04-04T13:08:38-04:00" level=debug msg="Found revision: 605b3cfe7dd44913836ce437f4778d36bb1dc335\n" time="2021-04-04T13:08:38-04:00" level=debug msg="HEAD points to '605b3cfe7dd44913836ce437f4778d36bb1dc335'" time="2021-04-04T13:08:38-04:00" level=debug msg="HEAD matches refs/heads/main" time="2021-04-04T13:08:38-04:00" level=debug msg="using github ref: refs/heads/main" time="2021-04-04T13:08:38-04:00" level=debug msg="context env => map[ACT:true]" time="2021-04-04T13:08:38-04:00" level=debug msg="context env => map[ACT:true CI:true GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_ENV:/Users/jsoref/code/nektos/issues/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/Users/jsoref/code/nektos/issues/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_REF:refs/heads/main GITHUB_REPOSITORY:jsoref/nektos-issues-composite-action GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:605b3cfe7dd44913836ce437f4778d36bb1dc335 GITHUB_TOKEN: GITHUB_WORKFLOW:workflow.yml GITHUB_WORKSPACE:/Users/jsoref/code/nektos/issues/composite-action ImageOS:ubuntu20]" [workflow.yml/local-action] setupEnv => map[ACT:true CI:true GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_ENV:/Users/jsoref/code/nektos/issues/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/Users/jsoref/code/nektos/issues/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_REF:refs/heads/main GITHUB_REPOSITORY:jsoref/nektos-issues-composite-action GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:605b3cfe7dd44913836ce437f4778d36bb1dc335 GITHUB_TOKEN: GITHUB_WORKFLOW:workflow.yml GITHUB_WORKSPACE:/Users/jsoref/code/nektos/issues/composite-action ImageOS:ubuntu20] [workflow.yml/local-action] ⭐ Run jsoref/gha-debug@2b69872723fa2d51dcc8baa4ebc1c4987d07dd15 [workflow.yml/local-action] ☁ git clone 'https://github.com/jsoref/gha-debug' # ref=2b69872723fa2d51dcc8baa4ebc1c4987d07dd15 [workflow.yml/local-action] cloning https://github.com/jsoref/gha-debug to /Users/jsoref/.cache/act/jsoref-gha-debug@2b69872723fa2d51dcc8baa4ebc1c4987d07dd15 [workflow.yml/local-action] Cloned https://github.com/jsoref/gha-debug to /Users/jsoref/.cache/act/jsoref-gha-debug@2b69872723fa2d51dcc8baa4ebc1c4987d07dd15 [workflow.yml/local-action] Checked out 2b69872723fa2d51dcc8baa4ebc1c4987d07dd15 time="2021-04-04T13:08:38-04:00" level=debug msg="Read action &{GHA Debug jsoref Debug github actions map[] map[] {composite map[] [] [] [{ Env env bash map[] map[] false 0} { Look find $GITHUB_ACTION_PATH || echo 'wah!' bash map[] map[] false 0} { Go echo \"go to '$GITHUB_ACTION_PATH' or '${{ github.action_path }}'\"; (cd \"${{ github.action_path }}\" && echo \"am in $(pwd) via github.action_path\") || (cd $GITHUB_ACTION_PATH && echo \"am in $(pwd) via GITHUB_ACTION_PATH\") || echo \"oops could not go to '$GITHUB_ACTION_PATH' nor '${{ github.action_path }}'\" bash map[] map[] false 0}]} {orange activity}} from '/Users/jsoref/.cache/act/jsoref-gha-debug@2b69872723fa2d51dcc8baa4ebc1c4987d07dd15/action.yaml'" time="2021-04-04T13:08:38-04:00" level=debug msg="About to run action &{GHA Debug jsoref Debug github actions map[] map[] {composite map[] [] [] [{ Env env bash map[] map[] false 0} { Look find $GITHUB_ACTION_PATH || echo 'wah!' bash map[] map[] false 0} { Go echo \"go to '$GITHUB_ACTION_PATH' or '${{ github.action_path }}'\"; (cd \"${{ github.action_path }}\" && echo \"am in $(pwd) via github.action_path\") || (cd $GITHUB_ACTION_PATH && echo \"am in $(pwd) via GITHUB_ACTION_PATH\") || echo \"oops could not go to '$GITHUB_ACTION_PATH' nor '${{ github.action_path }}'\" bash map[] map[] false 0}]} {orange activity}}" time="2021-04-04T13:08:38-04:00" level=debug msg="type=3 actionDir=/Users/jsoref/.cache/act/jsoref-gha-debug@2b69872723fa2d51dcc8baa4ebc1c4987d07dd15 actionPath= Workdir=/Users/jsoref/code/nektos/issues/composite-action ActionCacheDir=/Users/jsoref/.cache/act actionName=jsoref-gha-debug@2b69872723fa2d51dcc8baa4ebc1c4987d07dd15 containerActionDir=/actions" [workflow.yml/local-action] 🐳 docker cp src=/Users/jsoref/.cache/act/jsoref-gha-debug@2b69872723fa2d51dcc8baa4ebc1c4987d07dd15 dst=/actions/ [workflow.yml/local-action] Exec command '[mkdir -p /actions/]' time="2021-04-04T13:08:39-04:00" level=debug msg="Writing tarball /var/folders/r3/n29fz25x72x191fdv6mhhr3m0000gp/T/act862832319 from /Users/jsoref/.cache/act/jsoref-gha-debug@2b69872723fa2d51dcc8baa4ebc1c4987d07dd15" time="2021-04-04T13:08:39-04:00" level=debug msg="Stripping prefix:/Users/jsoref/.cache/act/ src:/Users/jsoref/.cache/act/jsoref-gha-debug@2b69872723fa2d51dcc8baa4ebc1c4987d07dd15" [workflow.yml/local-action] Extracting content from '/var/folders/r3/n29fz25x72x191fdv6mhhr3m0000gp/T/act862832319' to '/actions/' time="2021-04-04T13:08:39-04:00" level=debug msg="Loading slug from git directory '/Users/jsoref/code/nektos/issues/composite-action/.git'" time="2021-04-04T13:08:39-04:00" level=debug msg="Found revision: 605b3cfe7dd44913836ce437f4778d36bb1dc335\n" time="2021-04-04T13:08:39-04:00" level=debug msg="Loading revision from git directory '/Users/jsoref/code/nektos/issues/composite-action/.git'" time="2021-04-04T13:08:39-04:00" level=debug msg="Found revision: 605b3cfe7dd44913836ce437f4778d36bb1dc335\n" time="2021-04-04T13:08:39-04:00" level=debug msg="HEAD points to '605b3cfe7dd44913836ce437f4778d36bb1dc335'" time="2021-04-04T13:08:39-04:00" level=debug msg="HEAD matches refs/heads/main" time="2021-04-04T13:08:39-04:00" level=debug msg="using github ref: refs/heads/main" time="2021-04-04T13:08:39-04:00" level=debug msg="context env => map[ACT:true]" time="2021-04-04T13:08:39-04:00" level=debug msg="context env => map[ACT:true CI:true GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_ENV:/Users/jsoref/code/nektos/issues/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/Users/jsoref/code/nektos/issues/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_REF:refs/heads/main GITHUB_REPOSITORY:jsoref/nektos-issues-composite-action GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:605b3cfe7dd44913836ce437f4778d36bb1dc335 GITHUB_TOKEN: GITHUB_WORKFLOW:workflow.yml GITHUB_WORKSPACE:/Users/jsoref/code/nektos/issues/composite-action ImageOS:ubuntu20]" time="2021-04-04T13:08:39-04:00" level=debug msg="Loading slug from git directory '/Users/jsoref/code/nektos/issues/composite-action/.git'" time="2021-04-04T13:08:39-04:00" level=debug msg="Found revision: 605b3cfe7dd44913836ce437f4778d36bb1dc335\n" time="2021-04-04T13:08:39-04:00" level=debug msg="Loading revision from git directory '/Users/jsoref/code/nektos/issues/composite-action/.git'" time="2021-04-04T13:08:39-04:00" level=debug msg="Found revision: 605b3cfe7dd44913836ce437f4778d36bb1dc335\n" time="2021-04-04T13:08:39-04:00" level=debug msg="HEAD points to '605b3cfe7dd44913836ce437f4778d36bb1dc335'" time="2021-04-04T13:08:39-04:00" level=debug msg="HEAD matches refs/heads/main" time="2021-04-04T13:08:39-04:00" level=debug msg="using github ref: refs/heads/main" time="2021-04-04T13:08:39-04:00" level=debug msg="context env => map[ACT:true]" time="2021-04-04T13:08:39-04:00" level=debug msg="context env => map[ACT:true CI:true GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_ENV:/Users/jsoref/code/nektos/issues/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/Users/jsoref/code/nektos/issues/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_REF:refs/heads/main GITHUB_REPOSITORY:jsoref/nektos-issues-composite-action GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:605b3cfe7dd44913836ce437f4778d36bb1dc335 GITHUB_TOKEN: GITHUB_WORKFLOW:workflow.yml GITHUB_WORKSPACE:/Users/jsoref/code/nektos/issues/composite-action ImageOS:ubuntu20]" time="2021-04-04T13:08:39-04:00" level=debug msg="Loading slug from git directory '/Users/jsoref/code/nektos/issues/composite-action/.git'" time="2021-04-04T13:08:39-04:00" level=debug msg="Found revision: 605b3cfe7dd44913836ce437f4778d36bb1dc335\n" time="2021-04-04T13:08:39-04:00" level=debug msg="Loading revision from git directory '/Users/jsoref/code/nektos/issues/composite-action/.git'" time="2021-04-04T13:08:39-04:00" level=debug msg="Found revision: 605b3cfe7dd44913836ce437f4778d36bb1dc335\n" time="2021-04-04T13:08:39-04:00" level=debug msg="HEAD points to '605b3cfe7dd44913836ce437f4778d36bb1dc335'" time="2021-04-04T13:08:39-04:00" level=debug msg="HEAD matches refs/heads/main" time="2021-04-04T13:08:39-04:00" level=debug msg="using github ref: refs/heads/main" time="2021-04-04T13:08:39-04:00" level=debug msg="context env => map[ACT:true]" time="2021-04-04T13:08:39-04:00" level=debug msg="context env => map[ACT:true CI:true GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_ENV:/Users/jsoref/code/nektos/issues/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/Users/jsoref/code/nektos/issues/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_REF:refs/heads/main GITHUB_REPOSITORY:jsoref/nektos-issues-composite-action GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:605b3cfe7dd44913836ce437f4778d36bb1dc335 GITHUB_TOKEN: GITHUB_WORKFLOW:workflow.yml GITHUB_WORKSPACE:/Users/jsoref/code/nektos/issues/composite-action ImageOS:ubuntu20]" time="2021-04-04T13:08:39-04:00" level=debug msg="Wrote command '\nenv\n' to 'workflow/composite-0.sh'" time="2021-04-04T13:08:39-04:00" level=debug msg="Writing entry to tarball workflow/composite-0.sh len:3" [workflow.yml/local-action] Extracting content to '/Users/jsoref/code/nektos/issues/' [workflow.yml/local-action] Exec command '[bash --login --noprofile --norc -e -o pipefail /Users/jsoref/code/nektos/issues/workflow/composite-0.sh]' [workflow.yml/local-action] | GITHUB_WORKSPACE=/Users/jsoref/code/nektos/issues/composite-action [workflow.yml/local-action] | HOSTNAME=docker-desktop [workflow.yml/local-action] | GITHUB_ACTION=0 [workflow.yml/local-action] | GITHUB_RUN_NUMBER=1 [workflow.yml/local-action] | YARN_VERSION=1.22.5 [workflow.yml/local-action] | PWD=/Users/jsoref/code/nektos/issues/composite-action [workflow.yml/local-action] | GITHUB_ACTIONS=true [workflow.yml/local-action] | GITHUB_SHA=605b3cfe7dd44913836ce437f4778d36bb1dc335 [workflow.yml/local-action] | GITHUB_REF=refs/heads/main [workflow.yml/local-action] | ACT=true [workflow.yml/local-action] | RUNNER_OS=Linux [workflow.yml/local-action] | HOME=/root [workflow.yml/local-action] | GITHUB_API_URL=https://api.github.com [workflow.yml/local-action] | GITHUB_TOKEN= [workflow.yml/local-action] | RUNNER_TEMP=/tmp [workflow.yml/local-action] | GITHUB_ENV=/Users/jsoref/code/nektos/issues/workflow/envs.txt [workflow.yml/local-action] | GITHUB_EVENT_PATH=/Users/jsoref/code/nektos/issues/workflow/event.json [workflow.yml/local-action] | GITHUB_EVENT_NAME=push [workflow.yml/local-action] | GITHUB_RUN_ID=1 [workflow.yml/local-action] | GITHUB_ACTOR=nektos/act [workflow.yml/local-action] | GITHUB_GRAPHQL_URL=https://api.github.com/graphql [workflow.yml/local-action] | GITHUB_SERVER_URL=https://github.com [workflow.yml/local-action] | SHLVL=1 [workflow.yml/local-action] | RUNNER_TOOL_CACHE=/opt/hostedtoolcache [workflow.yml/local-action] | GITHUB_REPOSITORY=jsoref/nektos-issues-composite-action [workflow.yml/local-action] | PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin [workflow.yml/local-action] | CI=true [workflow.yml/local-action] | ImageOS=ubuntu20 [workflow.yml/local-action] | NODE_VERSION=12.20.1 [workflow.yml/local-action] | GITHUB_WORKFLOW=workflow.yml [workflow.yml/local-action] | _=/usr/bin/env time="2021-04-04T13:08:39-04:00" level=debug msg="Wrote command '\nfind $GITHUB_ACTION_PATH || echo 'wah!'\n' to 'workflow/composite-1.sh'" time="2021-04-04T13:08:39-04:00" level=debug msg="Writing entry to tarball workflow/composite-1.sh len:39" [workflow.yml/local-action] Extracting content to '/Users/jsoref/code/nektos/issues/' [workflow.yml/local-action] Exec command '[bash --login --noprofile --norc -e -o pipefail /Users/jsoref/code/nektos/issues/workflow/composite-1.sh]' [workflow.yml/local-action] | . time="2021-04-04T13:08:39-04:00" level=debug msg="Wrote command '\necho \"go to '$GITHUB_ACTION_PATH' or '/actions/jsoref-gha-debug@2b69872723fa2d51dcc8baa4ebc1c4987d07dd15'\"; (cd \"/actions/jsoref-gha-debug@2b69872723fa2d51dcc8baa4ebc1c4987d07dd15\" && echo \"am in $(pwd) via github.action_path\") || (cd $GITHUB_ACTION_PATH && echo \"am in $(pwd) via GITHUB_ACTION_PATH\") || echo \"oops could not go to '$GITHUB_ACTION_PATH' nor '/actions/jsoref-gha-debug@2b69872723fa2d51dcc8baa4ebc1c4987d07dd15'\"\n' to 'workflow/composite-2.sh'" time="2021-04-04T13:08:39-04:00" level=debug msg="Writing entry to tarball workflow/composite-2.sh len:427" [workflow.yml/local-action] Extracting content to '/Users/jsoref/code/nektos/issues/' [workflow.yml/local-action] Exec command '[bash --login --noprofile --norc -e -o pipefail /Users/jsoref/code/nektos/issues/workflow/composite-2.sh]' [workflow.yml/local-action] | go to '' or '/actions/jsoref-gha-debug@2b69872723fa2d51dcc8baa4ebc1c4987d07dd15' [workflow.yml/local-action] | am in /actions/jsoref-gha-debug@2b69872723fa2d51dcc8baa4ebc1c4987d07dd15 via github.action_path [workflow.yml/local-action] ✅ Success - jsoref/gha-debug@2b69872723fa2d51dcc8baa4ebc1c4987d07dd15 [workflow.yml/local-action] Removed container: 7b401b6429cd05ba78dff9ee7296eef2eb09ec4364f0c1f6b2a1fa66dcfb3c83 [workflow.yml/local-action] 🐳 docker volume rm act-workflow-yml-local-action ``` </details> ## Actual behaviour <!-- Describe what happened --> The action isn't copied into `/actions` and thus the composite workflow fails ## Workflow and/or repository <details> <summary>action</summary> https://github.com/jsoref/gha-debug/blob/2b69872723fa2d51dcc8baa4ebc1c4987d07dd15/action.yaml: ```yaml name: 'GHA Debug' description: 'Debug github actions' author: 'jsoref' branding: icon: 'activity' color: 'orange' runs: using: 'composite' steps: - name: Env shell: bash run: env - name: Look shell: bash run: find $GITHUB_ACTION_PATH || echo 'wah!' - name: Go shell: bash run: echo "go to '$GITHUB_ACTION_PATH' or '${{ github.action_path }}'"; (cd "${{ github.action_path }}" && echo "am in $(pwd) via github.action_path") || (cd $GITHUB_ACTION_PATH && echo "am in $(pwd) via GITHUB_ACTION_PATH") || echo "oops could not go to '$GITHUB_ACTION_PATH' nor '${{ github.action_path }}'" ``` </details> <details> <summary>workflow</summary> ```none on: workflow_dispatch: push: jobs: local-action: runs-on: ubuntu-latest steps: - uses: jsoref/gha-debug@2b69872723fa2d51dcc8baa4ebc1c4987d07dd15 ``` </details> ## Steps to reproduce <!-- Make sure to include command you used to run `act` e.g.: 1. Clone example repo (https://github.com/cplee/github-actions-demo) 2. Enter cloned repo directory 3. Run `act -s SUPER_SECRET=im-a-value` --> ## `act` output <!-- Paste output from your terminal, use `-v` or `--verbose` for richer output --> <details> <summary>Log</summary> ```none time="2021-04-04T13:07:51-04:00" level=debug msg="Loading environment from /Users/jsoref/code/nektos/issues/composite-action/.env" time="2021-04-04T13:07:51-04:00" level=debug msg="Loading secrets from /Users/jsoref/code/nektos/issues/composite-action/.secrets" time="2021-04-04T13:07:51-04:00" level=debug msg="Loading workflows from '/Users/jsoref/code/nektos/issues/composite-action/.github/workflows'" time="2021-04-04T13:07:51-04:00" level=debug msg="Reading workflow '/Users/jsoref/code/nektos/issues/composite-action/.github/workflows/workflow.yml'" time="2021-04-04T13:07:51-04:00" level=debug msg="Planning event: push" time="2021-04-04T13:07:51-04:00" level=debug msg="Loading slug from git directory '/Users/jsoref/code/nektos/issues/composite-action/.git'" time="2021-04-04T13:07:51-04:00" level=debug msg="Found revision: 605b3cfe7dd44913836ce437f4778d36bb1dc335\n" time="2021-04-04T13:07:51-04:00" level=debug msg="Loading revision from git directory '/Users/jsoref/code/nektos/issues/composite-action/.git'" time="2021-04-04T13:07:51-04:00" level=debug msg="Found revision: 605b3cfe7dd44913836ce437f4778d36bb1dc335\n" time="2021-04-04T13:07:51-04:00" level=debug msg="HEAD points to '605b3cfe7dd44913836ce437f4778d36bb1dc335'" time="2021-04-04T13:07:51-04:00" level=debug msg="HEAD matches refs/heads/main" time="2021-04-04T13:07:51-04:00" level=debug msg="using github ref: refs/heads/main" time="2021-04-04T13:07:51-04:00" level=debug msg="context env => map[ACT:true]" [workflow.yml/local-action] 🚀 Start image=node:12.20.1-buster-slim time="2021-04-04T13:07:51-04:00" level=debug msg="Loading slug from git directory '/Users/jsoref/code/nektos/issues/composite-action/.git'" time="2021-04-04T13:07:51-04:00" level=debug msg="Found revision: 605b3cfe7dd44913836ce437f4778d36bb1dc335\n" time="2021-04-04T13:07:51-04:00" level=debug msg="Loading revision from git directory '/Users/jsoref/code/nektos/issues/composite-action/.git'" time="2021-04-04T13:07:51-04:00" level=debug msg="Found revision: 605b3cfe7dd44913836ce437f4778d36bb1dc335\n" time="2021-04-04T13:07:51-04:00" level=debug msg="HEAD points to '605b3cfe7dd44913836ce437f4778d36bb1dc335'" time="2021-04-04T13:07:51-04:00" level=debug msg="HEAD matches refs/heads/main" time="2021-04-04T13:07:51-04:00" level=debug msg="using github ref: refs/heads/main" [workflow.yml/local-action] 🐳 docker pull node:12.20.1-buster-slim time="2021-04-04T13:07:51-04:00" level=debug msg="Image exists? true" [workflow.yml/local-action] 🐳 docker create image=node:12.20.1-buster-slim platform=linux/amd64 entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[] [workflow.yml/local-action] Created container name=act-workflow-yml-local-action id=a59d227c1ed7ec5a40fd279198afae86d992cbd166bf42e9929be1adf12b8dba from image node:12.20.1-buster-slim (platform: linux/amd64) [workflow.yml/local-action] ENV ==> [RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUNNER_OS=Linux RUNNER_TEMP=/tmp] [workflow.yml/local-action] 🐳 docker run image=node:12.20.1-buster-slim platform=linux/amd64 entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[] [workflow.yml/local-action] Starting container: a59d227c1ed7ec5a40fd279198afae86d992cbd166bf42e9929be1adf12b8dba [workflow.yml/local-action] Started container: a59d227c1ed7ec5a40fd279198afae86d992cbd166bf42e9929be1adf12b8dba time="2021-04-04T13:07:51-04:00" level=debug msg="Writing entry to tarball workflow/event.json len:2" time="2021-04-04T13:07:51-04:00" level=debug msg="Writing entry to tarball workflow/envs.txt len:0" time="2021-04-04T13:07:51-04:00" level=debug msg="Writing entry to tarball home/.act len:0" [workflow.yml/local-action] Extracting content to '/Users/jsoref/code/nektos/issues' time="2021-04-04T13:07:51-04:00" level=debug msg="Loading slug from git directory '/Users/jsoref/code/nektos/issues/composite-action/.git'" time="2021-04-04T13:07:51-04:00" level=debug msg="Found revision: 605b3cfe7dd44913836ce437f4778d36bb1dc335\n" time="2021-04-04T13:07:51-04:00" level=debug msg="Loading revision from git directory '/Users/jsoref/code/nektos/issues/composite-action/.git'" time="2021-04-04T13:07:51-04:00" level=debug msg="Found revision: 605b3cfe7dd44913836ce437f4778d36bb1dc335\n" time="2021-04-04T13:07:51-04:00" level=debug msg="HEAD points to '605b3cfe7dd44913836ce437f4778d36bb1dc335'" time="2021-04-04T13:07:51-04:00" level=debug msg="HEAD matches refs/heads/main" time="2021-04-04T13:07:51-04:00" level=debug msg="using github ref: refs/heads/main" time="2021-04-04T13:07:51-04:00" level=debug msg="Loading slug from git directory '/Users/jsoref/code/nektos/issues/composite-action/.git'" time="2021-04-04T13:07:51-04:00" level=debug msg="Found revision: 605b3cfe7dd44913836ce437f4778d36bb1dc335\n" time="2021-04-04T13:07:51-04:00" level=debug msg="Loading revision from git directory '/Users/jsoref/code/nektos/issues/composite-action/.git'" time="2021-04-04T13:07:51-04:00" level=debug msg="Found revision: 605b3cfe7dd44913836ce437f4778d36bb1dc335\n" time="2021-04-04T13:07:51-04:00" level=debug msg="HEAD points to '605b3cfe7dd44913836ce437f4778d36bb1dc335'" time="2021-04-04T13:07:51-04:00" level=debug msg="HEAD matches refs/heads/main" time="2021-04-04T13:07:51-04:00" level=debug msg="using github ref: refs/heads/main" time="2021-04-04T13:07:51-04:00" level=debug msg="context env => map[ACT:true]" time="2021-04-04T13:07:51-04:00" level=debug msg="context env => map[ACT:true CI:true GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_ENV:/Users/jsoref/code/nektos/issues/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/Users/jsoref/code/nektos/issues/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_REF:refs/heads/main GITHUB_REPOSITORY:jsoref/nektos-issues-composite-action GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:605b3cfe7dd44913836ce437f4778d36bb1dc335 GITHUB_TOKEN: GITHUB_WORKFLOW:workflow.yml GITHUB_WORKSPACE:/Users/jsoref/code/nektos/issues/composite-action ImageOS:ubuntu20]" [workflow.yml/local-action] setupEnv => map[ACT:true CI:true GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_ENV:/Users/jsoref/code/nektos/issues/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/Users/jsoref/code/nektos/issues/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_REF:refs/heads/main GITHUB_REPOSITORY:jsoref/nektos-issues-composite-action GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:605b3cfe7dd44913836ce437f4778d36bb1dc335 GITHUB_TOKEN: GITHUB_WORKFLOW:workflow.yml GITHUB_WORKSPACE:/Users/jsoref/code/nektos/issues/composite-action ImageOS:ubuntu20] [workflow.yml/local-action] ⭐ Run jsoref/gha-debug@2b69872723fa2d51dcc8baa4ebc1c4987d07dd15 [workflow.yml/local-action] ☁ git clone 'https://github.com/jsoref/gha-debug' # ref=2b69872723fa2d51dcc8baa4ebc1c4987d07dd15 [workflow.yml/local-action] cloning https://github.com/jsoref/gha-debug to /Users/jsoref/.cache/act/jsoref-gha-debug@2b69872723fa2d51dcc8baa4ebc1c4987d07dd15 [workflow.yml/local-action] Cloned https://github.com/jsoref/gha-debug to /Users/jsoref/.cache/act/jsoref-gha-debug@2b69872723fa2d51dcc8baa4ebc1c4987d07dd15 [workflow.yml/local-action] Checked out 2b69872723fa2d51dcc8baa4ebc1c4987d07dd15 time="2021-04-04T13:07:52-04:00" level=debug msg="Read action &{GHA Debug jsoref Debug github actions map[] map[] {composite map[] [] [] [{ Env env bash map[] map[] false 0} { Look find $GITHUB_ACTION_PATH || echo 'wah!' bash map[] map[] false 0} { Go echo \"go to '$GITHUB_ACTION_PATH' or '${{ github.action_path }}'\"; (cd \"${{ github.action_path }}\" && echo \"am in $(pwd) via github.action_path\") || (cd $GITHUB_ACTION_PATH && echo \"am in $(pwd) via GITHUB_ACTION_PATH\") || echo \"oops could not go to '$GITHUB_ACTION_PATH' nor '${{ github.action_path }}'\" bash map[] map[] false 0}]} {orange activity}} from '/Users/jsoref/.cache/act/jsoref-gha-debug@2b69872723fa2d51dcc8baa4ebc1c4987d07dd15/action.yaml'" time="2021-04-04T13:07:52-04:00" level=debug msg="About to run action &{GHA Debug jsoref Debug github actions map[] map[] {composite map[] [] [] [{ Env env bash map[] map[] false 0} { Look find $GITHUB_ACTION_PATH || echo 'wah!' bash map[] map[] false 0} { Go echo \"go to '$GITHUB_ACTION_PATH' or '${{ github.action_path }}'\"; (cd \"${{ github.action_path }}\" && echo \"am in $(pwd) via github.action_path\") || (cd $GITHUB_ACTION_PATH && echo \"am in $(pwd) via GITHUB_ACTION_PATH\") || echo \"oops could not go to '$GITHUB_ACTION_PATH' nor '${{ github.action_path }}'\" bash map[] map[] false 0}]} {orange activity}}" time="2021-04-04T13:07:52-04:00" level=debug msg="type=3 actionDir=/Users/jsoref/.cache/act/jsoref-gha-debug@2b69872723fa2d51dcc8baa4ebc1c4987d07dd15 actionPath= Workdir=/Users/jsoref/code/nektos/issues/composite-action ActionCacheDir=/Users/jsoref/.cache/act actionName=jsoref-gha-debug@2b69872723fa2d51dcc8baa4ebc1c4987d07dd15 containerActionDir=/actions" time="2021-04-04T13:07:52-04:00" level=debug msg="Loading slug from git directory '/Users/jsoref/code/nektos/issues/composite-action/.git'" time="2021-04-04T13:07:52-04:00" level=debug msg="Found revision: 605b3cfe7dd44913836ce437f4778d36bb1dc335\n" time="2021-04-04T13:07:52-04:00" level=debug msg="Loading revision from git directory '/Users/jsoref/code/nektos/issues/composite-action/.git'" time="2021-04-04T13:07:52-04:00" level=debug msg="Found revision: 605b3cfe7dd44913836ce437f4778d36bb1dc335\n" time="2021-04-04T13:07:52-04:00" level=debug msg="HEAD points to '605b3cfe7dd44913836ce437f4778d36bb1dc335'" time="2021-04-04T13:07:52-04:00" level=debug msg="HEAD matches refs/heads/main" time="2021-04-04T13:07:52-04:00" level=debug msg="using github ref: refs/heads/main" time="2021-04-04T13:07:52-04:00" level=debug msg="context env => map[ACT:true]" time="2021-04-04T13:07:52-04:00" level=debug msg="context env => map[ACT:true CI:true GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_ENV:/Users/jsoref/code/nektos/issues/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/Users/jsoref/code/nektos/issues/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_REF:refs/heads/main GITHUB_REPOSITORY:jsoref/nektos-issues-composite-action GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:605b3cfe7dd44913836ce437f4778d36bb1dc335 GITHUB_TOKEN: GITHUB_WORKFLOW:workflow.yml GITHUB_WORKSPACE:/Users/jsoref/code/nektos/issues/composite-action ImageOS:ubuntu20]" time="2021-04-04T13:07:52-04:00" level=debug msg="Loading slug from git directory '/Users/jsoref/code/nektos/issues/composite-action/.git'" time="2021-04-04T13:07:52-04:00" level=debug msg="Found revision: 605b3cfe7dd44913836ce437f4778d36bb1dc335\n" time="2021-04-04T13:07:52-04:00" level=debug msg="Loading revision from git directory '/Users/jsoref/code/nektos/issues/composite-action/.git'" time="2021-04-04T13:07:52-04:00" level=debug msg="Found revision: 605b3cfe7dd44913836ce437f4778d36bb1dc335\n" time="2021-04-04T13:07:52-04:00" level=debug msg="HEAD points to '605b3cfe7dd44913836ce437f4778d36bb1dc335'" time="2021-04-04T13:07:52-04:00" level=debug msg="HEAD matches refs/heads/main" time="2021-04-04T13:07:52-04:00" level=debug msg="using github ref: refs/heads/main" time="2021-04-04T13:07:52-04:00" level=debug msg="context env => map[ACT:true]" time="2021-04-04T13:07:52-04:00" level=debug msg="context env => map[ACT:true CI:true GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_ENV:/Users/jsoref/code/nektos/issues/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/Users/jsoref/code/nektos/issues/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_REF:refs/heads/main GITHUB_REPOSITORY:jsoref/nektos-issues-composite-action GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:605b3cfe7dd44913836ce437f4778d36bb1dc335 GITHUB_TOKEN: GITHUB_WORKFLOW:workflow.yml GITHUB_WORKSPACE:/Users/jsoref/code/nektos/issues/composite-action ImageOS:ubuntu20]" time="2021-04-04T13:07:52-04:00" level=debug msg="Loading slug from git directory '/Users/jsoref/code/nektos/issues/composite-action/.git'" time="2021-04-04T13:07:52-04:00" level=debug msg="Found revision: 605b3cfe7dd44913836ce437f4778d36bb1dc335\n" time="2021-04-04T13:07:52-04:00" level=debug msg="Loading revision from git directory '/Users/jsoref/code/nektos/issues/composite-action/.git'" time="2021-04-04T13:07:52-04:00" level=debug msg="Found revision: 605b3cfe7dd44913836ce437f4778d36bb1dc335\n" time="2021-04-04T13:07:52-04:00" level=debug msg="HEAD points to '605b3cfe7dd44913836ce437f4778d36bb1dc335'" time="2021-04-04T13:07:52-04:00" level=debug msg="HEAD matches refs/heads/main" time="2021-04-04T13:07:52-04:00" level=debug msg="using github ref: refs/heads/main" time="2021-04-04T13:07:52-04:00" level=debug msg="context env => map[ACT:true]" time="2021-04-04T13:07:52-04:00" level=debug msg="context env => map[ACT:true CI:true GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_ENV:/Users/jsoref/code/nektos/issues/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/Users/jsoref/code/nektos/issues/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_REF:refs/heads/main GITHUB_REPOSITORY:jsoref/nektos-issues-composite-action GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:605b3cfe7dd44913836ce437f4778d36bb1dc335 GITHUB_TOKEN: GITHUB_WORKFLOW:workflow.yml GITHUB_WORKSPACE:/Users/jsoref/code/nektos/issues/composite-action ImageOS:ubuntu20]" time="2021-04-04T13:07:52-04:00" level=debug msg="Wrote command '\nenv\n' to 'workflow/composite-0.sh'" time="2021-04-04T13:07:52-04:00" level=debug msg="Writing entry to tarball workflow/composite-0.sh len:3" [workflow.yml/local-action] Extracting content to '/Users/jsoref/code/nektos/issues/' [workflow.yml/local-action] Exec command '[bash --login --noprofile --norc -e -o pipefail /Users/jsoref/code/nektos/issues/workflow/composite-0.sh]' [workflow.yml/local-action] | GITHUB_WORKSPACE=/Users/jsoref/code/nektos/issues/composite-action [workflow.yml/local-action] | HOSTNAME=docker-desktop [workflow.yml/local-action] | GITHUB_ACTION=0 [workflow.yml/local-action] | GITHUB_RUN_NUMBER=1 [workflow.yml/local-action] | YARN_VERSION=1.22.5 [workflow.yml/local-action] | PWD=/Users/jsoref/code/nektos/issues/composite-action [workflow.yml/local-action] | GITHUB_ACTIONS=true [workflow.yml/local-action] | GITHUB_SHA=605b3cfe7dd44913836ce437f4778d36bb1dc335 [workflow.yml/local-action] | GITHUB_REF=refs/heads/main [workflow.yml/local-action] | ACT=true [workflow.yml/local-action] | RUNNER_OS=Linux [workflow.yml/local-action] | HOME=/root [workflow.yml/local-action] | GITHUB_API_URL=https://api.github.com [workflow.yml/local-action] | GITHUB_TOKEN= [workflow.yml/local-action] | RUNNER_TEMP=/tmp [workflow.yml/local-action] | GITHUB_ENV=/Users/jsoref/code/nektos/issues/workflow/envs.txt [workflow.yml/local-action] | GITHUB_EVENT_PATH=/Users/jsoref/code/nektos/issues/workflow/event.json [workflow.yml/local-action] | GITHUB_EVENT_NAME=push [workflow.yml/local-action] | GITHUB_RUN_ID=1 [workflow.yml/local-action] | GITHUB_ACTOR=nektos/act [workflow.yml/local-action] | GITHUB_GRAPHQL_URL=https://api.github.com/graphql [workflow.yml/local-action] | GITHUB_SERVER_URL=https://github.com [workflow.yml/local-action] | SHLVL=1 [workflow.yml/local-action] | RUNNER_TOOL_CACHE=/opt/hostedtoolcache [workflow.yml/local-action] | GITHUB_REPOSITORY=jsoref/nektos-issues-composite-action [workflow.yml/local-action] | PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin [workflow.yml/local-action] | CI=true [workflow.yml/local-action] | ImageOS=ubuntu20 [workflow.yml/local-action] | NODE_VERSION=12.20.1 [workflow.yml/local-action] | GITHUB_WORKFLOW=workflow.yml [workflow.yml/local-action] | _=/usr/bin/env time="2021-04-04T13:07:52-04:00" level=debug msg="Wrote command '\nfind $GITHUB_ACTION_PATH || echo 'wah!'\n' to 'workflow/composite-1.sh'" time="2021-04-04T13:07:52-04:00" level=debug msg="Writing entry to tarball workflow/composite-1.sh len:39" [workflow.yml/local-action] Extracting content to '/Users/jsoref/code/nektos/issues/' [workflow.yml/local-action] Exec command '[bash --login --noprofile --norc -e -o pipefail /Users/jsoref/code/nektos/issues/workflow/composite-1.sh]' [workflow.yml/local-action] | . time="2021-04-04T13:07:52-04:00" level=debug msg="Wrote command '\necho \"go to '$GITHUB_ACTION_PATH' or '/actions/jsoref-gha-debug@2b69872723fa2d51dcc8baa4ebc1c4987d07dd15'\"; (cd \"/actions/jsoref-gha-debug@2b69872723fa2d51dcc8baa4ebc1c4987d07dd15\" && echo \"am in $(pwd) via github.action_path\") || (cd $GITHUB_ACTION_PATH && echo \"am in $(pwd) via GITHUB_ACTION_PATH\") || echo \"oops could not go to '$GITHUB_ACTION_PATH' nor '/actions/jsoref-gha-debug@2b69872723fa2d51dcc8baa4ebc1c4987d07dd15'\"\n' to 'workflow/composite-2.sh'" time="2021-04-04T13:07:52-04:00" level=debug msg="Writing entry to tarball workflow/composite-2.sh len:427" [workflow.yml/local-action] Extracting content to '/Users/jsoref/code/nektos/issues/' [workflow.yml/local-action] Exec command '[bash --login --noprofile --norc -e -o pipefail /Users/jsoref/code/nektos/issues/workflow/composite-2.sh]' [workflow.yml/local-action] | go to '' or '/actions/jsoref-gha-debug@2b69872723fa2d51dcc8baa4ebc1c4987d07dd15' [workflow.yml/local-action] | /Users/jsoref/code/nektos/issues/workflow/composite-2.sh: line 1: cd: /actions/jsoref-gha-debug@2b69872723fa2d51dcc8baa4ebc1c4987d07dd15: No such file or directory [workflow.yml/local-action] | am in /root via GITHUB_ACTION_PATH [workflow.yml/local-action] ✅ Success - jsoref/gha-debug@2b69872723fa2d51dcc8baa4ebc1c4987d07dd15 [workflow.yml/local-action] Removed container: a59d227c1ed7ec5a40fd279198afae86d992cbd166bf42e9929be1adf12b8dba [workflow.yml/local-action] 🐳 docker volume rm act-workflow-yml-local-action ``` </details>
kerem 2026-03-01 21:43:03 +03:00
  • closed this issue
  • added the
    kind/bug
    label
Author
Owner

@hellwolf commented on GitHub (May 2, 2021):

as per https://github.com/actions/runner/issues/665

The inputs work differently than currently what act is doing,

<!-- gh-comment-id:830802515 --> @hellwolf commented on GitHub (May 2, 2021): as per https://github.com/actions/runner/issues/665 The inputs work differently than currently what act is doing,
Author
Owner

@hellwolf commented on GitHub (May 3, 2021):

For example, in github one could write:


runs:
  using: 'composite'
  steps:
    - run: ${{ github.action_path }}/action.sh
      shell: bash
      env:
        INPUT_DEV_HOST_HOSTNAME: ${{ inputs.hostname }}
        INPUT_DEV_HOST_USER: ${{ inputs.user }}
        INPUT_DEV_HOST_SSH_KEY: ${{ inputs.ssh_key }}
        INPUT_LOCAL_PATH: ${{ inputs.local_path }}
        INPUT_REMOTE_PATH: ${{ inputs.remote_path }}
        INPUT_DOWNLOAD: ${{ inputs.download }}

But with act, it doesn't work

<!-- gh-comment-id:831083634 --> @hellwolf commented on GitHub (May 3, 2021): For example, in github one could write: ``` runs: using: 'composite' steps: - run: ${{ github.action_path }}/action.sh shell: bash env: INPUT_DEV_HOST_HOSTNAME: ${{ inputs.hostname }} INPUT_DEV_HOST_USER: ${{ inputs.user }} INPUT_DEV_HOST_SSH_KEY: ${{ inputs.ssh_key }} INPUT_LOCAL_PATH: ${{ inputs.local_path }} INPUT_REMOTE_PATH: ${{ inputs.remote_path }} INPUT_DOWNLOAD: ${{ inputs.download }} ``` But with act, it doesn't work
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#401
No description provided.