Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

copy: not found, runs fine on github but fails on act #2263

Open
brianmgray opened this issue Mar 27, 2024 · 0 comments
Open

copy: not found, runs fine on github but fails on act #2263

brianmgray opened this issue Mar 27, 2024 · 0 comments
Labels
kind/bug Something isn't working

Comments

@brianmgray
Copy link

Bug report info

❯ act --bug-report
act version:            0.2.60
GOOS:                   darwin
GOARCH:                 amd64
NumCPU:                 6
Docker host:            DOCKER_HOST environment variable is not set
Sockets found:
	/var/run/docker.sock
	$HOME/.docker/run/docker.sock
Config files:
	/Users/brian/Library/Application Support/act/actrc:
		-P ubuntu-latest=catthehacker/ubuntu:act-latest
		-P ubuntu-22.04=catthehacker/ubuntu:act-22.04
		-P ubuntu-20.04=catthehacker/ubuntu:act-20.04
		-P ubuntu-18.04=catthehacker/ubuntu:act-18.04
Build info:
	Go version:            go1.22.0
	Module path:           command-line-arguments
	Main version:
	Main path:
	Main checksum:
	Build settings:
		-buildmode:           exe
		-compiler:            gc
		-ldflags:             -X main.version=0.2.60
		DefaultGODEBUG:       httplaxcontentlength=1,httpmuxgo121=1,panicnil=1,tls10server=1,tlsrsakex=1,tlsunsafeekm=1
		CGO_ENABLED:          1
		CGO_CFLAGS:
		CGO_CPPFLAGS:
		CGO_CXXFLAGS:
		CGO_LDFLAGS:
		GOARCH:               amd64
		GOOS:                 darwin
		GOAMD64:              v1
Docker Engine:
	Engine version:        25.0.3
	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:               x86_64
	OS kernel:             6.6.16-linuxkit
	OS CPU:                4
	OS memory:             11711 MB
	Security options:
		name=seccomp,profile=unconfined
		name=cgroupns

Command used with act

act pull_request -W .github/workflows/pr.yaml

Describe issue

I expect the action to run successfully as it does on Github. I hopped into the container, and indeed copy is not available on the command line, but I am not sure why.

Link to GitHub repository

No response

Workflow content

# .github/workflows/pr.yaml
name: Build and deploy (PR)

on:
  pull_request:
    types: [opened, synchronize, reopened]
    branches:
      - main
  workflow_dispatch:

jobs:
  exec:
    uses: ./.github/workflows/build-and-deploy.yml
    secrets: inherit
    with:
      preview: true



# .github/workflows/build-and-deploy.yml
name: Build and deploy

env:
  # see static-web-apps-deploy
  APP_LOCATION: "frontend" # location of frontend files to deploy
  API_LOCATION: "" # location of API files to deploy - not supported for nextjs hybrid deploy
  OUTPUT_LOCATION: "" # must be an empty string when skipping app build
  NODE_VERSION: '18.x'
  CI: true

on:
  workflow_call:
    inputs:
      preview:
        required: false
        type: boolean
        default: false

jobs:
  build_and_deploy:
    name: Build and Deploy
    runs-on: ubuntu-latest
    environment:
      name: ${{ inputs.preview == true && 'preview' || 'production' }}
      url: ${{ steps.deploy.outputs.webapp-url }}
    permissions:
      contents: read
      id-token: write
      pull-requests: write
    defaults:
      run:
        working-directory: .

    steps:
      - name: Fixes         # https://stackoverflow.com/questions/76939182/azure-static-webapps-not-able-to-deploy-failed-to-remove-http-https-github
        run: |
          chmod -R 777 .  # Change permissions as necessary
          echo  "CI=false" >> $GITHUB_ENV

      - uses: actions/checkout@v3

      - name: Use Node.js ${{ env.NODE_VERSION }}
        uses: actions/setup-node@v3
        with:
          node-version: ${{ env.NODE_VERSION }}

      - name: Populate Env
        run: ./scripts/populate-env.sh --preview=${{ inputs.preview }}
        
      - name: Install and build
        run: |
          npm ci
          npm run build
          npm run test

      - name: Deploy
        id: deploy
        uses: Azure/static-web-apps-deploy@v1
        with:
          azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN }}
          repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments)
          action: "upload"
          skip_app_build: true
          skip_api_build: true
          app_location: ${{ env.APP_LOCATION }}
          # api_location: ${{ env.API_LOCATION }}
          # output_location: ${{ env.OUTPUT_LOCATION }}
        env:
          BASE_URL: ${{ secrets.BASE_URL }}
          SERVICEBUS_FUGUUXDEMO: ${{ secrets.SERVICEBUS_FUGUUXDEMO }}
          STORAGE_COSMOS_CONNECTION: ${{ secrets.STORAGE_COSMOS_CONNECTION }}

Relevant log output

[Build and deploy (PR)/exec] [DEBUG] evaluating expression 'success()'
[Build and deploy (PR)/exec] [DEBUG] expression 'success()' evaluated to 'true'
[Build and deploy (PR)/exec] [DEBUG] Found revision: aed9c2c3397e3e962d3df508c509eddab1312f5a
[exec/Build and deploy/Build and Deploy] [DEBUG] evaluating expression 'success()'
[exec/Build and deploy/Build and Deploy] [DEBUG] expression 'success()' evaluated to 'true'
[exec/Build and deploy/Build and Deploy] 🚀  Start image=catthehacker/ubuntu:act-latest
[exec/Build and deploy/Build and Deploy]   🐳  docker pull image=catthehacker/ubuntu:act-latest platform= username= forcePull=true
[exec/Build and deploy/Build and Deploy] [DEBUG]   🐳  docker pull catthehacker/ubuntu:act-latest
[exec/Build and deploy/Build and Deploy] [DEBUG] pulling image 'docker.io/catthehacker/ubuntu:act-latest' ()
[exec/Build and deploy/Build and Deploy] using DockerAuthConfig authentication for docker pull
[exec/Build and deploy/Build and Deploy] [DEBUG] Pulling from catthehacker/ubuntu :: act-latest
[exec/Build and deploy/Build and Deploy] [DEBUG] Digest: sha256:90765557fac689cc088afec53098b37ae926d05dcb2c6fa462a280d05ae45e6a :: 
[exec/Build and deploy/Build and Deploy] [DEBUG] Status: Image is up to date for catthehacker/ubuntu:act-latest :: 
[exec/Build and deploy/Build and Deploy] [DEBUG] Removed container: 3b5b275da4c9f2775a8568a07bd44533609804e2c844a07ac63e9704948b1e82
[exec/Build and deploy/Build and Deploy] [DEBUG]   🐳  docker volume rm act-exec-Build-and-deploy-Build-and-Deploy-3e316bc8758b93a1ba194156562b4b26ef6b7b7d34a8f23078c9e831b713ceac
[exec/Build and deploy/Build and Deploy] [DEBUG]   🐳  docker volume rm act-exec-Build-and-deploy-Build-and-Deploy-3e316bc8758b93a1ba194156562b4b26ef6b7b7d34a8f23078c9e831b713ceac-env
[exec/Build and deploy/Build and Deploy]   🐳  docker create image=catthehacker/ubuntu:act-latest platform= entrypoint=["tail" "-f" "/dev/null"] cmd=[] network="host"
[exec/Build and deploy/Build and Deploy] [DEBUG] Common container.Config ==> &{Hostname: Domainname: User: AttachStdin:false AttachStdout:false AttachStderr:false ExposedPorts:map[] Tty:false OpenStdin:false StdinOnce:false Env:[RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUNNER_OS=Linux RUNNER_ARCH=X64 RUNNER_TEMP=/tmp LANG=C.UTF-8] Cmd:[] Healthcheck:<nil> ArgsEscaped:false Image:catthehacker/ubuntu:act-latest Volumes:map[] WorkingDir:/Users/brian/workspaces/fuguUX/fuguUX-Frontend Entrypoint:[] NetworkDisabled:false MacAddress: OnBuild:[] Labels:map[] StopSignal: StopTimeout:<nil> Shell:[]}
[exec/Build and deploy/Build and Deploy] [DEBUG] Common container.HostConfig ==> &{Binds:[/var/run/docker.sock:/var/run/docker.sock] ContainerIDFile: LogConfig:{Type: Config:map[]} NetworkMode:host PortBindings:map[] RestartPolicy:{Name: MaximumRetryCount:0} AutoRemove:false VolumeDriver: VolumesFrom:[] ConsoleSize:[0 0] Annotations:map[] CapAdd:[] CapDrop:[] CgroupnsMode: DNS:[] DNSOptions:[] DNSSearch:[] ExtraHosts:[] GroupAdd:[] IpcMode: Cgroup: Links:[] OomScoreAdj:0 PidMode: Privileged:false PublishAllPorts:false ReadonlyRootfs:false SecurityOpt:[] StorageOpt:map[] Tmpfs:map[] UTSMode: UsernsMode: ShmSize:0 Sysctls:map[] Runtime: Isolation: Resources:{CPUShares:0 Memory:0 NanoCPUs:0 CgroupParent: BlkioWeight:0 BlkioWeightDevice:[] BlkioDeviceReadBps:[] BlkioDeviceWriteBps:[] BlkioDeviceReadIOps:[] BlkioDeviceWriteIOps:[] CPUPeriod:0 CPUQuota:0 CPURealtimePeriod:0 CPURealtimeRuntime:0 CpusetCpus: CpusetMems: Devices:[] DeviceCgroupRules:[] DeviceRequests:[] KernelMemory:0 KernelMemoryTCP:0 MemoryReservation:0 MemorySwap:0 MemorySwappiness:<nil> OomKillDisable:<nil> PidsLimit:<nil> Ulimits:[] CPUCount:0 CPUPercent:0 IOMaximumIOps:0 IOMaximumBandwidth:0} Mounts:[{Type:volume Source:act-toolcache Target:/opt/hostedtoolcache ReadOnly:false Consistency: BindOptions:<nil> VolumeOptions:<nil> TmpfsOptions:<nil> ClusterOptions:<nil>} {Type:volume Source:act-exec-Build-and-deploy-Build-and-Deploy-3e316bc8758b93a1ba194156562b4b26ef6b7b7d34a8f23078c9e831b713ceac-env Target:/var/run/act ReadOnly:false Consistency: BindOptions:<nil> VolumeOptions:<nil> TmpfsOptions:<nil> ClusterOptions:<nil>} {Type:volume Source:act-exec-Build-and-deploy-Build-and-Deploy-3e316bc8758b93a1ba194156562b4b26ef6b7b7d34a8f23078c9e831b713ceac Target:/Users/brian/workspaces/fuguUX/fuguUX-Frontend ReadOnly:false Consistency: BindOptions:<nil> VolumeOptions:<nil> TmpfsOptions:<nil> ClusterOptions:<nil>}] MaskedPaths:[] ReadonlyPaths:[] Init:<nil>}
[exec/Build and deploy/Build and Deploy] [DEBUG] input.NetworkAliases ==> [Build and Deploy]
[exec/Build and deploy/Build and Deploy] [DEBUG] Created container name=act-exec-Build-and-deploy-Build-and-Deploy-3e316bc8758b93a1ba194156562b4b26ef6b7b7d34a8f23078c9e831b713ceac id=1b8cafa7b73dac68022a3c14cbe915fe35857e1ea937974801e0747569c77b12 from image catthehacker/ubuntu:act-latest (platform: )
[exec/Build and deploy/Build and Deploy] [DEBUG] ENV ==> [RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUNNER_OS=Linux RUNNER_ARCH=X64 RUNNER_TEMP=/tmp LANG=C.UTF-8]
[exec/Build and deploy/Build and Deploy]   🐳  docker run image=catthehacker/ubuntu:act-latest platform= entrypoint=["tail" "-f" "/dev/null"] cmd=[] network="host"
[exec/Build and deploy/Build and Deploy] [DEBUG] Starting container: 1b8cafa7b73dac68022a3c14cbe915fe35857e1ea937974801e0747569c77b12
[exec/Build and deploy/Build and Deploy] [DEBUG] Started container: 1b8cafa7b73dac68022a3c14cbe915fe35857e1ea937974801e0747569c77b12
[exec/Build and deploy/Build and Deploy] [DEBUG] Writing entry to tarball workflow/event.json len:2
[exec/Build and deploy/Build and Deploy] [DEBUG] Writing entry to tarball workflow/envs.txt len:0
[exec/Build and deploy/Build and Deploy] [DEBUG] Extracting content to '/var/run/act/'
[exec/Build and deploy/Build and Deploy] [DEBUG] Found revision: aed9c2c3397e3e962d3df508c509eddab1312f5a
[exec/Build and deploy/Build and Deploy] [DEBUG] Found revision: aed9c2c3397e3e962d3df508c509eddab1312f5a
[exec/Build and deploy/Build and Deploy] [DEBUG] Skipping local actions/checkout because workdir was already copied
[exec/Build and deploy/Build and Deploy] [DEBUG] skip pre step for 'actions/checkout@v3': no action model available
[exec/Build and deploy/Build and Deploy] [DEBUG] expression 'Use Node.js ${{ env.NODE_VERSION }}' rewritten to 'format('Use Node.js {0}', env.NODE_VERSION)'
[exec/Build and deploy/Build and Deploy] [DEBUG] evaluating expression 'format('Use Node.js {0}', env.NODE_VERSION)'
[exec/Build and deploy/Build and Deploy] [DEBUG] expression 'format('Use Node.js {0}', env.NODE_VERSION)' evaluated to '%!t(string=Use Node.js 18.x)'
[exec/Build and deploy/Build and Deploy] [DEBUG] Found revision: aed9c2c3397e3e962d3df508c509eddab1312f5a
[exec/Build and deploy/Build and Deploy]   ☁  git clone 'https://github.com/actions/setup-node' # ref=v3
[exec/Build and deploy/Build and Deploy] [DEBUG]   cloning https://github.com/actions/setup-node to /Users/brian/.cache/act/actions-setup-node@v3
[exec/Build and deploy/Build and Deploy] [DEBUG] Unable to pull refs/heads/v3: worktree contains unstaged changes
[exec/Build and deploy/Build and Deploy] [DEBUG] Cloned https://github.com/actions/setup-node to /Users/brian/.cache/act/actions-setup-node@v3
[exec/Build and deploy/Build and Deploy] [DEBUG] Checked out v3
[exec/Build and deploy/Build and Deploy] [DEBUG] Read action &{Setup Node.js environment GitHub Setup a Node.js environment by adding problem matchers and optionally downloading and adding it to the PATH. map[always-auth:{Set always-auth in npmrc. false false} architecture:{Target architecture for Node to use. Examples: x86, x64. Will use system architecture by default. false } cache:{Used to specify a package manager for caching in the default directory. Supported values: npm, yarn, pnpm. false } cache-dependency-path:{Used to specify the path to a dependency file: package-lock.json, yarn.lock, etc. Supports wildcards or a list of file names for caching multiple dependencies. false } check-latest:{Set this option if you want the action to check for the latest available version that satisfies the version spec. false false} node-version:{Version Spec of the version to use. Examples: 12.x, 10.15.1, >=10.15.0. false } node-version-file:{File containing the version Spec of the version to use.  Examples: .nvmrc, .node-version, .tool-versions. false } registry-url:{Optional registry to set up for auth. Will set the registry in a project level .npmrc and .yarnrc file, and set up auth to read in from env.NODE_AUTH_TOKEN. false } scope:{Optional scope for authenticating against scoped registries. Will fall back to the repository owner when using the GitHub Packages registry (https://npm.pkg.github.com/). false } token:{Used to pull node distributions from node-versions. Since there's a default, this is typically not supplied by the user. When running this action on github.com, the default value is sufficient. When running on GHES, you can pass a personal access token for github.com if you are experiencing rate limiting. false ${{ github.server_url == 'https://github.com' && github.token || '' }}}] map[cache-hit:{A boolean value to indicate if a cache was hit. } node-version:{The installed node version. }] {node16 map[] dist/setup/index.js  always() dist/cache-save/index.js success()   [] []} { }} from 'Unknown'
[exec/Build and deploy/Build and Deploy] [DEBUG] Found revision: aed9c2c3397e3e962d3df508c509eddab1312f5a
[exec/Build and deploy/Build and Deploy]   ☁  git clone 'https://github.com/Azure/static-web-apps-deploy' # ref=v1
[exec/Build and deploy/Build and Deploy] [DEBUG]   cloning https://github.com/Azure/static-web-apps-deploy to /Users/brian/.cache/act/Azure-static-web-apps-deploy@v1
[exec/Build and deploy/Build and Deploy] [DEBUG] Cloned https://github.com/Azure/static-web-apps-deploy to /Users/brian/.cache/act/Azure-static-web-apps-deploy@v1
[exec/Build and deploy/Build and Deploy] [DEBUG] Checked out v1
[exec/Build and deploy/Build and Deploy] [DEBUG] Read action &{Azure Static Web Apps Deploy  Deploys an application to Azure Static Web Apps map[action:{Action to perform true } api_build_command:{Custom command for Oryx to run when building Azure Functions source code false } api_location:{Directory location of the Azure Functions source code false } app_artifact_location:{Identical in use to output_location false } app_build_command:{Custom command for Oryx to run when building application source code false } app_location:{Directory location of the application source code true } azure_static_web_apps_api_token:{Required token true } output_location:{Directory location of the compiled application code after building false } repo_token:{Token for interacting with the Github repository. Currently used only for commenting on Pull Requests. false } routes_location:{Directory location where the routes.json file can be found in the source code false } skip_app_build:{Skips the build step for the application source code if set to true. false }] map[static_web_app_url:{Url of the application }] {docker map[]   always()  always() Dockerfile  [] []} {blue upload-cloud}} from 'Unknown'
[exec/Build and deploy/Build and Deploy] [DEBUG] Found revision: aed9c2c3397e3e962d3df508c509eddab1312f5a
[exec/Build and deploy/Build and Deploy] [DEBUG] Found revision: aed9c2c3397e3e962d3df508c509eddab1312f5a
[exec/Build and deploy/Build and Deploy] [DEBUG] Found revision: aed9c2c3397e3e962d3df508c509eddab1312f5a
[exec/Build and deploy/Build and Deploy] [DEBUG] setupEnv => map[ACT:true ACTIONS_CACHE_URL:http://10.0.0.9:58920/ API_LOCATION: APP_LOCATION:frontend CI:true 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_EVENT_NAME:pull_request GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:build_and_deploy GITHUB_REF:refs/pull/%!f(<nil>)/merge GITHUB_REF_NAME:%!f(<nil>)/merge GITHUB_REF_TYPE: GITHUB_REPOSITORY:fuguUX/fuguUX-Frontend GITHUB_REPOSITORY_OWNER:fuguUX GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:aed9c2c3397e3e962d3df508c509eddab1312f5a GITHUB_WORKFLOW:Build and deploy GITHUB_WORKSPACE:/Users/brian/workspaces/fuguUX/fuguUX-Frontend ImageOS:ubuntu20 NODE_VERSION:18.x OUTPUT_LOCATION: RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID:]
[exec/Build and deploy/Build and Deploy] [DEBUG] Found revision: aed9c2c3397e3e962d3df508c509eddab1312f5a
[exec/Build and deploy/Build and Deploy] [DEBUG] Found revision: aed9c2c3397e3e962d3df508c509eddab1312f5a
[exec/Build and deploy/Build and Deploy] [DEBUG] evaluating expression ''
[exec/Build and deploy/Build and Deploy] [DEBUG] expression '' evaluated to 'true'
[exec/Build and deploy/Build and Deploy] ⭐ Run Main Fixes
[exec/Build and deploy/Build and Deploy] [DEBUG] Writing entry to tarball workflow/outputcmd.txt len:0
[exec/Build and deploy/Build and Deploy] [DEBUG] Writing entry to tarball workflow/statecmd.txt len:0
[exec/Build and deploy/Build and Deploy] [DEBUG] Writing entry to tarball workflow/pathcmd.txt len:0
[exec/Build and deploy/Build and Deploy] [DEBUG] Writing entry to tarball workflow/envs.txt len:0
[exec/Build and deploy/Build and Deploy] [DEBUG] Writing entry to tarball workflow/SUMMARY.md len:0
[exec/Build and deploy/Build and Deploy] [DEBUG] Extracting content to '/var/run/act'
[exec/Build and deploy/Build and Deploy] [DEBUG] Found revision: aed9c2c3397e3e962d3df508c509eddab1312f5a
[exec/Build and deploy/Build and Deploy] [DEBUG] Found revision: aed9c2c3397e3e962d3df508c509eddab1312f5a
[exec/Build and deploy/Build and Deploy] [DEBUG] Found revision: aed9c2c3397e3e962d3df508c509eddab1312f5a
[exec/Build and deploy/Build and Deploy] [DEBUG] Found revision: aed9c2c3397e3e962d3df508c509eddab1312f5a
[exec/Build and deploy/Build and Deploy] [DEBUG] Wrote command 

chmod -R 777 .  # Change permissions as necessary
echo  "CI=false" >> $GITHUB_ENV


 to 'workflow/0'
[exec/Build and deploy/Build and Deploy] [DEBUG] Writing entry to tarball workflow/0 len:84
[exec/Build and deploy/Build and Deploy] [DEBUG] Extracting content to '/var/run/act'
[exec/Build and deploy/Build and Deploy]   🐳  docker exec cmd=[bash --noprofile --norc -e -o pipefail /var/run/act/workflow/0] user= workdir=.
[exec/Build and deploy/Build and Deploy] [DEBUG] Exec command '[bash --noprofile --norc -e -o pipefail /var/run/act/workflow/0]'
[exec/Build and deploy/Build and Deploy] [DEBUG] Working directory '/Users/brian/workspaces/fuguUX/fuguUX-Frontend/.'
[exec/Build and deploy/Build and Deploy]   ✅  Success - Main Fixes
[exec/Build and deploy/Build and Deploy]   ⚙  ::set-env:: CI=false
[exec/Build and deploy/Build and Deploy] [DEBUG] Found revision: aed9c2c3397e3e962d3df508c509eddab1312f5a
[exec/Build and deploy/Build and Deploy] [DEBUG] Skipping local actions/checkout because workdir was already copied
[exec/Build and deploy/Build and Deploy] [DEBUG] Found revision: aed9c2c3397e3e962d3df508c509eddab1312f5a
[exec/Build and deploy/Build and Deploy] [DEBUG] Found revision: aed9c2c3397e3e962d3df508c509eddab1312f5a
[exec/Build and deploy/Build and Deploy] [DEBUG] Found revision: aed9c2c3397e3e962d3df508c509eddab1312f5a
[exec/Build and deploy/Build and Deploy] [DEBUG] setupEnv => map[ACT:true ACTIONS_CACHE_URL:http://10.0.0.9:58920/ API_LOCATION: APP_LOCATION:frontend CI:true GITHUB_ACTION:1 GITHUB_ACTIONS:true GITHUB_ACTION_PATH: GITHUB_ACTION_REF:v3 GITHUB_ACTION_REPOSITORY:actions/checkout GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_EVENT_NAME:pull_request GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:build_and_deploy GITHUB_REF:refs/pull/%!f(<nil>)/merge GITHUB_REF_NAME:%!f(<nil>)/merge GITHUB_REF_TYPE: GITHUB_REPOSITORY:fuguUX/fuguUX-Frontend GITHUB_REPOSITORY_OWNER:fuguUX GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:aed9c2c3397e3e962d3df508c509eddab1312f5a GITHUB_WORKFLOW:Build and deploy GITHUB_WORKSPACE:/Users/brian/workspaces/fuguUX/fuguUX-Frontend ImageOS:ubuntu20 NODE_VERSION:18.x OUTPUT_LOCATION: RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID:]
[exec/Build and deploy/Build and Deploy] [DEBUG] Found revision: aed9c2c3397e3e962d3df508c509eddab1312f5a
[exec/Build and deploy/Build and Deploy] [DEBUG] Found revision: aed9c2c3397e3e962d3df508c509eddab1312f5a
[exec/Build and deploy/Build and Deploy] [DEBUG] evaluating expression ''
[exec/Build and deploy/Build and Deploy] [DEBUG] expression '' evaluated to 'true'
[exec/Build and deploy/Build and Deploy] ⭐ Run Main actions/checkout@v3
[exec/Build and deploy/Build and Deploy] [DEBUG] Writing entry to tarball workflow/outputcmd.txt len:0
[exec/Build and deploy/Build and Deploy] [DEBUG] Writing entry to tarball workflow/statecmd.txt len:0
[exec/Build and deploy/Build and Deploy] [DEBUG] Writing entry to tarball workflow/pathcmd.txt len:0
[exec/Build and deploy/Build and Deploy] [DEBUG] Writing entry to tarball workflow/envs.txt len:0
[exec/Build and deploy/Build and Deploy] [DEBUG] Writing entry to tarball workflow/SUMMARY.md len:0
[exec/Build and deploy/Build and Deploy] [DEBUG] Extracting content to '/var/run/act'
[exec/Build and deploy/Build and Deploy] [DEBUG] Found revision: aed9c2c3397e3e962d3df508c509eddab1312f5a
[exec/Build and deploy/Build and Deploy] [DEBUG] Found revision: aed9c2c3397e3e962d3df508c509eddab1312f5a
[exec/Build and deploy/Build and Deploy]   🐳  docker cp src=/Users/brian/workspaces/fuguUX/fuguUX-Frontend/. dst=/Users/brian/workspaces/fuguUX/fuguUX-Frontend
[exec/Build and deploy/Build and Deploy] [DEBUG] Writing tarball /var/folders/73/bwtb58vx1jd_6qkryw7b2bwm0000gn/T/act2942403288 from /Users/brian/workspaces/fuguUX/fuguUX-Frontend/.
[exec/Build and deploy/Build and Deploy] [DEBUG] Stripping prefix:/Users/brian/workspaces/fuguUX/fuguUX-Frontend/ src:/Users/brian/workspaces/fuguUX/fuguUX-Frontend/.
[exec/Build and deploy/Build and Deploy] [DEBUG] Extracting content from '/var/folders/73/bwtb58vx1jd_6qkryw7b2bwm0000gn/T/act2942403288' to '/Users/brian/workspaces/fuguUX/fuguUX-Frontend'
[exec/Build and deploy/Build and Deploy]   ✅  Success - Main actions/checkout@v3
[exec/Build and deploy/Build and Deploy] [DEBUG] expression 'Use Node.js ${{ env.NODE_VERSION }}' rewritten to 'format('Use Node.js {0}', env.NODE_VERSION)'
[exec/Build and deploy/Build and Deploy] [DEBUG] evaluating expression 'format('Use Node.js {0}', env.NODE_VERSION)'
[exec/Build and deploy/Build and Deploy] [DEBUG] expression 'format('Use Node.js {0}', env.NODE_VERSION)' evaluated to '%!t(string=Use Node.js 18.x)'
[exec/Build and deploy/Build and Deploy] [DEBUG] Found revision: aed9c2c3397e3e962d3df508c509eddab1312f5a
[exec/Build and deploy/Build and Deploy] [DEBUG] Found revision: aed9c2c3397e3e962d3df508c509eddab1312f5a
[exec/Build and deploy/Build and Deploy] [DEBUG] Found revision: aed9c2c3397e3e962d3df508c509eddab1312f5a
[exec/Build and deploy/Build and Deploy] [DEBUG] expression '${{ env.NODE_VERSION }}' rewritten to 'format('{0}', env.NODE_VERSION)'
[exec/Build and deploy/Build and Deploy] [DEBUG] evaluating expression 'format('{0}', env.NODE_VERSION)'
[exec/Build and deploy/Build and Deploy] [DEBUG] expression 'format('{0}', env.NODE_VERSION)' evaluated to '%!t(string=18.x)'
[exec/Build and deploy/Build and Deploy] [DEBUG] setupEnv => map[ACT:true ACTIONS_CACHE_URL:http://10.0.0.9:58920/ API_LOCATION: APP_LOCATION:frontend CI:true GITHUB_ACTION:2 GITHUB_ACTIONS:true GITHUB_ACTION_PATH: GITHUB_ACTION_REF:v3 GITHUB_ACTION_REPOSITORY:actions/setup-node GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_EVENT_NAME:pull_request GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:build_and_deploy GITHUB_REF:refs/pull/%!f(<nil>)/merge GITHUB_REF_NAME:%!f(<nil>)/merge GITHUB_REF_TYPE: GITHUB_REPOSITORY:fuguUX/fuguUX-Frontend GITHUB_REPOSITORY_OWNER:fuguUX GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:aed9c2c3397e3e962d3df508c509eddab1312f5a GITHUB_WORKFLOW:Build and deploy GITHUB_WORKSPACE:/Users/brian/workspaces/fuguUX/fuguUX-Frontend INPUT_NODE-VERSION:18.x ImageOS:ubuntu20 NODE_VERSION:18.x OUTPUT_LOCATION: RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID:]
[exec/Build and deploy/Build and Deploy] [DEBUG] Found revision: aed9c2c3397e3e962d3df508c509eddab1312f5a
[exec/Build and deploy/Build and Deploy] [DEBUG] Found revision: aed9c2c3397e3e962d3df508c509eddab1312f5a
[exec/Build and deploy/Build and Deploy] [DEBUG] evaluating expression ''
[exec/Build and deploy/Build and Deploy] [DEBUG] expression '' evaluated to 'true'
[exec/Build and deploy/Build and Deploy] [DEBUG] expression 'Use Node.js ${{ env.NODE_VERSION }}' rewritten to 'format('Use Node.js {0}', env.NODE_VERSION)'
[exec/Build and deploy/Build and Deploy] [DEBUG] evaluating expression 'format('Use Node.js {0}', env.NODE_VERSION)'
[exec/Build and deploy/Build and Deploy] [DEBUG] expression 'format('Use Node.js {0}', env.NODE_VERSION)' evaluated to '%!t(string=Use Node.js 18.x)'
[exec/Build and deploy/Build and Deploy] ⭐ Run Main Use Node.js 18.x
[exec/Build and deploy/Build and Deploy] [DEBUG] Writing entry to tarball workflow/outputcmd.txt len:0
[exec/Build and deploy/Build and Deploy] [DEBUG] Writing entry to tarball workflow/statecmd.txt len:0
[exec/Build and deploy/Build and Deploy] [DEBUG] Writing entry to tarball workflow/pathcmd.txt len:0
[exec/Build and deploy/Build and Deploy] [DEBUG] Writing entry to tarball workflow/envs.txt len:0
[exec/Build and deploy/Build and Deploy] [DEBUG] Writing entry to tarball workflow/SUMMARY.md len:0
[exec/Build and deploy/Build and Deploy] [DEBUG] Extracting content to '/var/run/act'
[exec/Build and deploy/Build and Deploy] [DEBUG] Found revision: aed9c2c3397e3e962d3df508c509eddab1312f5a
[exec/Build and deploy/Build and Deploy] [DEBUG] About to run action &{Setup Node.js environment GitHub Setup a Node.js environment by adding problem matchers and optionally downloading and adding it to the PATH. map[always-auth:{Set always-auth in npmrc. false false} architecture:{Target architecture for Node to use. Examples: x86, x64. Will use system architecture by default. false } cache:{Used to specify a package manager for caching in the default directory. Supported values: npm, yarn, pnpm. false } cache-dependency-path:{Used to specify the path to a dependency file: package-lock.json, yarn.lock, etc. Supports wildcards or a list of file names for caching multiple dependencies. false } check-latest:{Set this option if you want the action to check for the latest available version that satisfies the version spec. false false} node-version:{Version Spec of the version to use. Examples: 12.x, 10.15.1, >=10.15.0. false } node-version-file:{File containing the version Spec of the version to use.  Examples: .nvmrc, .node-version, .tool-versions. false } registry-url:{Optional registry to set up for auth. Will set the registry in a project level .npmrc and .yarnrc file, and set up auth to read in from env.NODE_AUTH_TOKEN. false } scope:{Optional scope for authenticating against scoped registries. Will fall back to the repository owner when using the GitHub Packages registry (https://npm.pkg.github.com/). false } token:{Used to pull node distributions from node-versions. Since there's a default, this is typically not supplied by the user. When running this action on github.com, the default value is sufficient. When running on GHES, you can pass a personal access token for github.com if you are experiencing rate limiting. false ${{ github.server_url == 'https://github.com' && github.token || '' }}}] map[cache-hit:{A boolean value to indicate if a cache was hit. } node-version:{The installed node version. }] {node16 map[] dist/setup/index.js  always() dist/cache-save/index.js success()   [] []} { }}
[exec/Build and deploy/Build and Deploy] [DEBUG] Found revision: aed9c2c3397e3e962d3df508c509eddab1312f5a
[exec/Build and deploy/Build and Deploy] [DEBUG] Found revision: aed9c2c3397e3e962d3df508c509eddab1312f5a
[exec/Build and deploy/Build and Deploy] [DEBUG] expression '${{ github.server_url == 'https://github.com' && github.token || '' }}' rewritten to 'format('{0}', github.server_url == 'https://github.com' && github.token || '')'
[exec/Build and deploy/Build and Deploy] [DEBUG] evaluating expression 'format('{0}', github.server_url == 'https://github.com' && github.token || '')'
[exec/Build and deploy/Build and Deploy] [DEBUG] expression 'format('{0}', github.server_url == 'https://github.com' && github.token || '')' evaluated to '%!t(string=)'
[exec/Build and deploy/Build and Deploy] [DEBUG] type=remote-action actionDir=/Users/brian/.cache/act/actions-setup-node@v3 actionPath= workdir=/Users/brian/workspaces/fuguUX/fuguUX-Frontend actionCacheDir=/Users/brian/.cache/act actionName=actions-setup-node@v3 containerActionDir=/var/run/act/actions/actions-setup-node@v3
[exec/Build and deploy/Build and Deploy] [DEBUG] /var/run/act/actions/actions-setup-node@v3
[exec/Build and deploy/Build and Deploy] [DEBUG] Removing /Users/brian/.cache/act/actions-setup-node@v3/.gitignore before docker cp
[exec/Build and deploy/Build and Deploy]   🐳  docker cp src=/Users/brian/.cache/act/actions-setup-node@v3/ dst=/var/run/act/actions/actions-setup-node@v3/
[exec/Build and deploy/Build and Deploy] [DEBUG] Writing tarball /var/folders/73/bwtb58vx1jd_6qkryw7b2bwm0000gn/T/act3484695503 from /Users/brian/.cache/act/actions-setup-node@v3/
[exec/Build and deploy/Build and Deploy] [DEBUG] Stripping prefix:/Users/brian/.cache/act/actions-setup-node@v3/ src:/Users/brian/.cache/act/actions-setup-node@v3/
[exec/Build and deploy/Build and Deploy] [DEBUG] Extracting content from '/var/folders/73/bwtb58vx1jd_6qkryw7b2bwm0000gn/T/act3484695503' to '/var/run/act/actions/actions-setup-node@v3/'
[exec/Build and deploy/Build and Deploy] [DEBUG] executing remote job container: [node /var/run/act/actions/actions-setup-node@v3/dist/setup/index.js]
[exec/Build and deploy/Build and Deploy]   🐳  docker exec cmd=[node /var/run/act/actions/actions-setup-node@v3/dist/setup/index.js] user= workdir=
[exec/Build and deploy/Build and Deploy] [DEBUG] Exec command '[node /var/run/act/actions/actions-setup-node@v3/dist/setup/index.js]'
[exec/Build and deploy/Build and Deploy] [DEBUG] Working directory '/Users/brian/workspaces/fuguUX/fuguUX-Frontend'
[exec/Build and deploy/Build and Deploy]   💬  ::debug::isExplicit: 
[exec/Build and deploy/Build and Deploy]   💬  ::debug::explicit? false
[exec/Build and deploy/Build and Deploy]   💬  ::debug::isExplicit: 18.19.1
[exec/Build and deploy/Build and Deploy]   💬  ::debug::explicit? true
[exec/Build and deploy/Build and Deploy]   💬  ::debug::evaluating 1 versions
[exec/Build and deploy/Build and Deploy]   💬  ::debug::matched: 18.19.1
[exec/Build and deploy/Build and Deploy]   💬  ::debug::checking cache: /opt/hostedtoolcache/node/18.19.1/x64
[exec/Build and deploy/Build and Deploy]   💬  ::debug::Found tool in cache node 18.19.1 x64
[exec/Build and deploy/Build and Deploy]   | Found in cache @ /opt/hostedtoolcache/node/18.19.1/x64
[exec/Build and deploy/Build and Deploy]   ❓  ::group::Environment details
[exec/Build and deploy/Build and Deploy]   | node: v18.19.1
[exec/Build and deploy/Build and Deploy]   | npm: 10.2.4
[exec/Build and deploy/Build and Deploy]   | yarn: 
[exec/Build and deploy/Build and Deploy]   ❓  ::endgroup::
[exec/Build and deploy/Build and Deploy]   ❓ add-matcher /run/act/actions/actions-setup-node@v3/.github/tsc.json
[exec/Build and deploy/Build and Deploy]   ❓ add-matcher /run/act/actions/actions-setup-node@v3/.github/eslint-stylish.json
[exec/Build and deploy/Build and Deploy]   ❓ add-matcher /run/act/actions/actions-setup-node@v3/.github/eslint-compact.json
[exec/Build and deploy/Build and Deploy]   ✅  Success - Main Use Node.js 18.x
[exec/Build and deploy/Build and Deploy]   ⚙  ::set-output:: node-version=v18.19.1
[exec/Build and deploy/Build and Deploy]   ⚙  ::add-path:: /opt/hostedtoolcache/node/18.19.1/x64/bin
[exec/Build and deploy/Build and Deploy] [DEBUG] Found revision: aed9c2c3397e3e962d3df508c509eddab1312f5a
[exec/Build and deploy/Build and Deploy] [DEBUG] Found revision: aed9c2c3397e3e962d3df508c509eddab1312f5a
[exec/Build and deploy/Build and Deploy] [DEBUG] Found revision: aed9c2c3397e3e962d3df508c509eddab1312f5a
[exec/Build and deploy/Build and Deploy] [DEBUG] setupEnv => map[ACT:true ACTIONS_CACHE_URL:http://10.0.0.9:58920/ API_LOCATION: APP_LOCATION:frontend CI:true GITHUB_ACTION:3 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_EVENT_NAME:pull_request GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:build_and_deploy GITHUB_REF:refs/pull/%!f(<nil>)/merge GITHUB_REF_NAME:%!f(<nil>)/merge GITHUB_REF_TYPE: GITHUB_REPOSITORY:fuguUX/fuguUX-Frontend GITHUB_REPOSITORY_OWNER:fuguUX GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:aed9c2c3397e3e962d3df508c509eddab1312f5a GITHUB_WORKFLOW:Build and deploy GITHUB_WORKSPACE:/Users/brian/workspaces/fuguUX/fuguUX-Frontend ImageOS:ubuntu20 NODE_VERSION:18.x OUTPUT_LOCATION: RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID:]
[exec/Build and deploy/Build and Deploy] [DEBUG] Found revision: aed9c2c3397e3e962d3df508c509eddab1312f5a
[exec/Build and deploy/Build and Deploy] [DEBUG] Found revision: aed9c2c3397e3e962d3df508c509eddab1312f5a
[exec/Build and deploy/Build and Deploy] [DEBUG] evaluating expression ''
[exec/Build and deploy/Build and Deploy] [DEBUG] expression '' evaluated to 'true'
[exec/Build and deploy/Build and Deploy] ⭐ Run Main Populate Env
[exec/Build and deploy/Build and Deploy] [DEBUG] Writing entry to tarball workflow/outputcmd.txt len:0
[exec/Build and deploy/Build and Deploy] [DEBUG] Writing entry to tarball workflow/statecmd.txt len:0
[exec/Build and deploy/Build and Deploy] [DEBUG] Writing entry to tarball workflow/pathcmd.txt len:0
[exec/Build and deploy/Build and Deploy] [DEBUG] Writing entry to tarball workflow/envs.txt len:0
[exec/Build and deploy/Build and Deploy] [DEBUG] Writing entry to tarball workflow/SUMMARY.md len:0
[exec/Build and deploy/Build and Deploy] [DEBUG] Extracting content to '/var/run/act'
[exec/Build and deploy/Build and Deploy] [DEBUG] Found revision: aed9c2c3397e3e962d3df508c509eddab1312f5a
[exec/Build and deploy/Build and Deploy] [DEBUG] Found revision: aed9c2c3397e3e962d3df508c509eddab1312f5a
[exec/Build and deploy/Build and Deploy] [DEBUG] Found revision: aed9c2c3397e3e962d3df508c509eddab1312f5a
[exec/Build and deploy/Build and Deploy] [DEBUG] Found revision: aed9c2c3397e3e962d3df508c509eddab1312f5a
[exec/Build and deploy/Build and Deploy] [DEBUG] expression './scripts/populate-env.sh --preview=${{ inputs.preview }}' rewritten to 'format('./scripts/populate-env.sh --preview={0}', inputs.preview)'
[exec/Build and deploy/Build and Deploy] [DEBUG] evaluating expression 'format('./scripts/populate-env.sh --preview={0}', inputs.preview)'
[exec/Build and deploy/Build and Deploy] [DEBUG] expression 'format('./scripts/populate-env.sh --preview={0}', inputs.preview)' evaluated to '%!t(string=./scripts/populate-env.sh --preview=true)'
[exec/Build and deploy/Build and Deploy] [DEBUG] Wrote command 

./scripts/populate-env.sh --preview=true

 to 'workflow/3'
[exec/Build and deploy/Build and Deploy] [DEBUG] Writing entry to tarball workflow/3 len:42
[exec/Build and deploy/Build and Deploy] [DEBUG] Extracting content to '/var/run/act'
[exec/Build and deploy/Build and Deploy]   🐳  docker exec cmd=[bash --noprofile --norc -e -o pipefail /var/run/act/workflow/3] user= workdir=.
[exec/Build and deploy/Build and Deploy] [DEBUG] Exec command '[bash --noprofile --norc -e -o pipefail /var/run/act/workflow/3]'
[exec/Build and deploy/Build and Deploy] [DEBUG] Working directory '/Users/brian/workspaces/fuguUX/fuguUX-Frontend/.'
[exec/Build and deploy/Build and Deploy]   | Copied .env.preview to .env.local
[exec/Build and deploy/Build and Deploy]   | Populating var: SERVICEBUS_FUGUUXDEMO
[exec/Build and deploy/Build and Deploy]   | Populating var: STORAGE_COSMOS_CONNECTION
[exec/Build and deploy/Build and Deploy]   ✅  Success - Main Populate Env
[exec/Build and deploy/Build and Deploy] [DEBUG] Found revision: aed9c2c3397e3e962d3df508c509eddab1312f5a
[exec/Build and deploy/Build and Deploy] [DEBUG] Found revision: aed9c2c3397e3e962d3df508c509eddab1312f5a
[exec/Build and deploy/Build and Deploy] [DEBUG] Found revision: aed9c2c3397e3e962d3df508c509eddab1312f5a
[exec/Build and deploy/Build and Deploy] [DEBUG] setupEnv => map[ACT:true ACTIONS_CACHE_URL:http://10.0.0.9:58920/ API_LOCATION: APP_LOCATION:frontend CI:true GITHUB_ACTION:4 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_EVENT_NAME:pull_request GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:build_and_deploy GITHUB_REF:refs/pull/%!f(<nil>)/merge GITHUB_REF_NAME:%!f(<nil>)/merge GITHUB_REF_TYPE: GITHUB_REPOSITORY:fuguUX/fuguUX-Frontend GITHUB_REPOSITORY_OWNER:fuguUX GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:aed9c2c3397e3e962d3df508c509eddab1312f5a GITHUB_WORKFLOW:Build and deploy GITHUB_WORKSPACE:/Users/brian/workspaces/fuguUX/fuguUX-Frontend ImageOS:ubuntu20 NODE_VERSION:18.x OUTPUT_LOCATION: RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID:]
[exec/Build and deploy/Build and Deploy] [DEBUG] Found revision: aed9c2c3397e3e962d3df508c509eddab1312f5a
[exec/Build and deploy/Build and Deploy] [DEBUG] Found revision: aed9c2c3397e3e962d3df508c509eddab1312f5a
[exec/Build and deploy/Build and Deploy] [DEBUG] evaluating expression ''
[exec/Build and deploy/Build and Deploy] [DEBUG] expression '' evaluated to 'true'
[exec/Build and deploy/Build and Deploy] ⭐ Run Main Install and build
[exec/Build and deploy/Build and Deploy] [DEBUG] Writing entry to tarball workflow/outputcmd.txt len:0
[exec/Build and deploy/Build and Deploy] [DEBUG] Writing entry to tarball workflow/statecmd.txt len:0
[exec/Build and deploy/Build and Deploy] [DEBUG] Writing entry to tarball workflow/pathcmd.txt len:0
[exec/Build and deploy/Build and Deploy] [DEBUG] Writing entry to tarball workflow/envs.txt len:0
[exec/Build and deploy/Build and Deploy] [DEBUG] Writing entry to tarball workflow/SUMMARY.md len:0
[exec/Build and deploy/Build and Deploy] [DEBUG] Extracting content to '/var/run/act'
[exec/Build and deploy/Build and Deploy] [DEBUG] Found revision: aed9c2c3397e3e962d3df508c509eddab1312f5a
[exec/Build and deploy/Build and Deploy] [DEBUG] Found revision: aed9c2c3397e3e962d3df508c509eddab1312f5a
[exec/Build and deploy/Build and Deploy] [DEBUG] Found revision: aed9c2c3397e3e962d3df508c509eddab1312f5a
[exec/Build and deploy/Build and Deploy] [DEBUG] Found revision: aed9c2c3397e3e962d3df508c509eddab1312f5a
[exec/Build and deploy/Build and Deploy] [DEBUG] Wrote command 

npm ci
npm run build
npm run test


 to 'workflow/4'
[exec/Build and deploy/Build and Deploy] [DEBUG] Writing entry to tarball workflow/4 len:36
[exec/Build and deploy/Build and Deploy] [DEBUG] Extracting content to '/var/run/act'
[exec/Build and deploy/Build and Deploy]   🐳  docker exec cmd=[bash --noprofile --norc -e -o pipefail /var/run/act/workflow/4] user= workdir=.
[exec/Build and deploy/Build and Deploy] [DEBUG] Exec command '[bash --noprofile --norc -e -o pipefail /var/run/act/workflow/4]'
[exec/Build and deploy/Build and Deploy] [DEBUG] Working directory '/Users/brian/workspaces/fuguUX/fuguUX-Frontend/.'
[exec/Build and deploy/Build and Deploy]   | 
[exec/Build and deploy/Build and Deploy]   | > [email protected] install
[exec/Build and deploy/Build and Deploy]   | > conc "npm run install:*"
[exec/Build and deploy/Build and Deploy]   | 
[exec/Build and deploy/Build and Deploy]   | [frontend] 
[exec/Build and deploy/Build and Deploy]   | [frontend] > [email protected] install:frontend
[exec/Build and deploy/Build and Deploy]   | [frontend] > cd frontend && npm ci
[exec/Build and deploy/Build and Deploy]   | [frontend] 
[exec/Build and deploy/Build and Deploy]   | [frontend] 
[exec/Build and deploy/Build and Deploy]   | [frontend] added 448 packages, and audited 449 packages in 19s
[exec/Build and deploy/Build and Deploy]   | [frontend] 
[exec/Build and deploy/Build and Deploy]   | [frontend] 154 packages are looking for funding
[exec/Build and deploy/Build and Deploy]   | [frontend]   run `npm fund` for details
[exec/Build and deploy/Build and Deploy]   | [frontend] 
[exec/Build and deploy/Build and Deploy]   | [frontend] found 0 vulnerabilities
[exec/Build and deploy/Build and Deploy]   | [frontend] npm run install:frontend exited with code 0
[exec/Build and deploy/Build and Deploy]   | 
[exec/Build and deploy/Build and Deploy]   | added 323 packages, and audited 324 packages in 39s
[exec/Build and deploy/Build and Deploy]   | 
[exec/Build and deploy/Build and Deploy]   | 54 packages are looking for funding
[exec/Build and deploy/Build and Deploy]   |   run `npm fund` for details
[exec/Build and deploy/Build and Deploy]   | 
[exec/Build and deploy/Build and Deploy]   | 3 moderate severity vulnerabilities
[exec/Build and deploy/Build and Deploy]   | 
[exec/Build and deploy/Build and Deploy]   | To address all issues (including breaking changes), run:
[exec/Build and deploy/Build and Deploy]   |   npm audit fix --force
[exec/Build and deploy/Build and Deploy]   | 
[exec/Build and deploy/Build and Deploy]   | Run `npm audit` for details.
[exec/Build and deploy/Build and Deploy]   | 
[exec/Build and deploy/Build and Deploy]   | > [email protected] build
[exec/Build and deploy/Build and Deploy]   | > swa build fuguux-frontend
[exec/Build and deploy/Build and Deploy]   | 
[exec/Build and deploy/Build and Deploy]   | 
[exec/Build and deploy/Build and Deploy]   | Welcome to Azure Static Web Apps CLI (1.1.7)
[exec/Build and deploy/Build and Deploy]   | 
[exec/Build and deploy/Build and Deploy]   | Using configuration "fuguux-frontend" from file:
[exec/Build and deploy/Build and Deploy]   |   swa-cli.config.json
[exec/Build and deploy/Build and Deploy]   | 
[exec/Build and deploy/Build and Deploy]   | Build configuration:
[exec/Build and deploy/Build and Deploy]   | - App location: frontend
[exec/Build and deploy/Build and Deploy]   | - API location: 
[exec/Build and deploy/Build and Deploy]   | - Output location: .next/standalone
[exec/Build and deploy/Build and Deploy]   | - App build command: npm run build
[exec/Build and deploy/Build and Deploy]   | - API build command: 
[exec/Build and deploy/Build and Deploy]   | Found package.json in frontend
[exec/Build and deploy/Build and Deploy]   | Installing dependencies with "npm install"...
[exec/Build and deploy/Build and Deploy]   | 
[exec/Build and deploy/Build and Deploy]   | up to date, audited 449 packages in 1s
[exec/Build and deploy/Build and Deploy]   | 
[exec/Build and deploy/Build and Deploy]   | 154 packages are looking for funding
[exec/Build and deploy/Build and Deploy]   |   run `npm fund` for details
[exec/Build and deploy/Build and Deploy]   | 
[exec/Build and deploy/Build and Deploy]   | found 0 vulnerabilities
[exec/Build and deploy/Build and Deploy]   | Building app with npm run build in frontend ...
[exec/Build and deploy/Build and Deploy]   | 
[exec/Build and deploy/Build and Deploy]   | > [email protected] prebuild
[exec/Build and deploy/Build and Deploy]   | > copy ../.env* .
[exec/Build and deploy/Build and Deploy]   | 
[exec/Build and deploy/Build and Deploy]   | sh: 1: copy: not found
[exec/Build and deploy/Build and Deploy]   | Error: Command failed: npm run build
[exec/Build and deploy/Build and Deploy]   |     at checkExecSyncError (node:child_process:890:11)
[exec/Build and deploy/Build and Deploy]   |     at execSync (node:child_process:962:15)
[exec/Build and deploy/Build and Deploy]   |     at runCommand (/Users/brian/workspaces/fuguUX/fuguUX-Frontend/node_modules/@azure/static-web-apps-cli/src/core/utils/command.ts:5:11)
[exec/Build and deploy/Build and Deploy]   |     at build (/Users/brian/workspaces/fuguUX/fuguUX-Frontend/node_modules/@azure/static-web-apps-cli/src/cli/commands/build/build.ts:93:15)
[exec/Build and deploy/Build and Deploy]   |     at Command.<anonymous> (/Users/brian/workspaces/fuguUX/fuguUX-Frontend/node_modules/@azure/static-web-apps-cli/src/cli/commands/build/register.ts:30:7)
[exec/Build and deploy/Build and Deploy]   |     at Command.parseAsync (/Users/brian/workspaces/fuguUX/fuguUX-Frontend/node_modules/commander/lib/command.js:935:5)
[exec/Build and deploy/Build and Deploy]   |     at run (/Users/brian/workspaces/fuguUX/fuguUX-Frontend/node_modules/@azure/static-web-apps-cli/src/cli/index.ts:106:3)
[exec/Build and deploy/Build and Deploy]   ❌  Failure - Main Install and build
[exec/Build and deploy/Build and Deploy] exitcode '1': failure
[exec/Build and deploy/Build and Deploy] [DEBUG] Found revision: aed9c2c3397e3e962d3df508c509eddab1312f5a
[exec/Build and deploy/Build and Deploy] [DEBUG] Found revision: aed9c2c3397e3e962d3df508c509eddab1312f5a
[exec/Build and deploy/Build and Deploy] [DEBUG] expression '${{ secrets.BASE_URL }}' rewritten to 'format('{0}', secrets.BASE_URL)'
[exec/Build and deploy/Build and Deploy] [DEBUG] evaluating expression 'format('{0}', secrets.BASE_URL)'
[exec/Build and deploy/Build and Deploy] [DEBUG] expression 'format('{0}', secrets.BASE_URL)' evaluated to '%!t(string=)'
[exec/Build and deploy/Build and Deploy] [DEBUG] expression '${{ secrets.STORAGE_COSMOS_CONNECTION }}' rewritten to 'format('{0}', secrets.STORAGE_COSMOS_CONNECTION)'
[exec/Build and deploy/Build and Deploy] [DEBUG] evaluating expression 'format('{0}', secrets.STORAGE_COSMOS_CONNECTION)'
[exec/Build and deploy/Build and Deploy] [DEBUG] expression 'format('{0}', secrets.STORAGE_COSMOS_CONNECTION)' evaluated to '%!t(string=)'
[exec/Build and deploy/Build and Deploy] [DEBUG] expression '${{ secrets.SERVICEBUS_FUGUUXDEMO }}' rewritten to 'format('{0}', secrets.SERVICEBUS_FUGUUXDEMO)'
[exec/Build and deploy/Build and Deploy] [DEBUG] evaluating expression 'format('{0}', secrets.SERVICEBUS_FUGUUXDEMO)'
[exec/Build and deploy/Build and Deploy] [DEBUG] expression 'format('{0}', secrets.SERVICEBUS_FUGUUXDEMO)' evaluated to '%!t(string=)'
[exec/Build and deploy/Build and Deploy] [DEBUG] Found revision: aed9c2c3397e3e962d3df508c509eddab1312f5a
[exec/Build and deploy/Build and Deploy] [DEBUG] expression '${{ env.APP_LOCATION }}' rewritten to 'format('{0}', env.APP_LOCATION)'
[exec/Build and deploy/Build and Deploy] [DEBUG] evaluating expression 'format('{0}', env.APP_LOCATION)'
[exec/Build and deploy/Build and Deploy] [DEBUG] expression 'format('{0}', env.APP_LOCATION)' evaluated to '%!t(string=frontend)'
[exec/Build and deploy/Build and Deploy] [DEBUG] expression '${{ secrets.GITHUB_TOKEN }}' rewritten to 'format('{0}', secrets.GITHUB_TOKEN)'
[exec/Build and deploy/Build and Deploy] [DEBUG] evaluating expression 'format('{0}', secrets.GITHUB_TOKEN)'
[exec/Build and deploy/Build and Deploy] [DEBUG] expression 'format('{0}', secrets.GITHUB_TOKEN)' evaluated to '%!t(string=)'
[exec/Build and deploy/Build and Deploy] [DEBUG] expression '${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN }}' rewritten to 'format('{0}', secrets.AZURE_STATIC_WEB_APPS_API_TOKEN)'
[exec/Build and deploy/Build and Deploy] [DEBUG] evaluating expression 'format('{0}', secrets.AZURE_STATIC_WEB_APPS_API_TOKEN)'
[exec/Build and deploy/Build and Deploy] [DEBUG] expression 'format('{0}', secrets.AZURE_STATIC_WEB_APPS_API_TOKEN)' evaluated to '%!t(string=)'
[exec/Build and deploy/Build and Deploy] [DEBUG] setupEnv => map[ACT:true ACTIONS_CACHE_URL:http://10.0.0.9:58920/ API_LOCATION: APP_LOCATION:frontend BASE_URL: CI:true GITHUB_ACTION:deploy GITHUB_ACTIONS:true GITHUB_ACTION_PATH: GITHUB_ACTION_REF:v1 GITHUB_ACTION_REPOSITORY:Azure/static-web-apps-deploy GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_EVENT_NAME:pull_request GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:build_and_deploy GITHUB_REF:refs/pull/%!f(<nil>)/merge GITHUB_REF_NAME:%!f(<nil>)/merge GITHUB_REF_TYPE: GITHUB_REPOSITORY:fuguUX/fuguUX-Frontend GITHUB_REPOSITORY_OWNER:fuguUX GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:aed9c2c3397e3e962d3df508c509eddab1312f5a GITHUB_WORKFLOW:Build and deploy GITHUB_WORKSPACE:/Users/brian/workspaces/fuguUX/fuguUX-Frontend INPUT_ACTION:upload INPUT_APP_LOCATION:frontend INPUT_AZURE_STATIC_WEB_APPS_API_TOKEN: INPUT_REPO_TOKEN: INPUT_SKIP_API_BUILD:true INPUT_SKIP_APP_BUILD:true ImageOS:ubuntu20 NODE_VERSION:18.x OUTPUT_LOCATION: RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID: SERVICEBUS_FUGUUXDEMO: STORAGE_COSMOS_CONNECTION:]
[exec/Build and deploy/Build and Deploy] [DEBUG] Found revision: aed9c2c3397e3e962d3df508c509eddab1312f5a
[exec/Build and deploy/Build and Deploy] [DEBUG] Found revision: aed9c2c3397e3e962d3df508c509eddab1312f5a
[exec/Build and deploy/Build and Deploy] [DEBUG] evaluating expression ''
[exec/Build and deploy/Build and Deploy] [DEBUG] expression '' evaluated to 'false'
[exec/Build and deploy/Build and Deploy] [DEBUG] Skipping step 'Deploy' due to ''
[exec/Build and deploy/Build and Deploy] [DEBUG] skipping post step for 'Deploy'; main step was skipped
[exec/Build and deploy/Build and Deploy] [DEBUG] expression 'Use Node.js ${{ env.NODE_VERSION }}' rewritten to 'format('Use Node.js {0}', env.NODE_VERSION)'
[exec/Build and deploy/Build and Deploy] [DEBUG] evaluating expression 'format('Use Node.js {0}', env.NODE_VERSION)'
[exec/Build and deploy/Build and Deploy] [DEBUG] expression 'format('Use Node.js {0}', env.NODE_VERSION)' evaluated to '%!t(string=Use Node.js 18.x)'
[exec/Build and deploy/Build and Deploy] [DEBUG] Found revision: aed9c2c3397e3e962d3df508c509eddab1312f5a
[exec/Build and deploy/Build and Deploy] [DEBUG] Found revision: aed9c2c3397e3e962d3df508c509eddab1312f5a
[exec/Build and deploy/Build and Deploy] [DEBUG] Found revision: aed9c2c3397e3e962d3df508c509eddab1312f5a
[exec/Build and deploy/Build and Deploy] [DEBUG] expression '${{ env.NODE_VERSION }}' rewritten to 'format('{0}', env.NODE_VERSION)'
[exec/Build and deploy/Build and Deploy] [DEBUG] evaluating expression 'format('{0}', env.NODE_VERSION)'
[exec/Build and deploy/Build and Deploy] [DEBUG] expression 'format('{0}', env.NODE_VERSION)' evaluated to '%!t(string=18.x)'
[exec/Build and deploy/Build and Deploy] [DEBUG] setupEnv => map[ACT:true ACTIONS_CACHE_URL:http://10.0.0.9:58920/ API_LOCATION: APP_LOCATION:frontend CI:true GITHUB_ACTION:2 GITHUB_ACTIONS:true GITHUB_ACTION_PATH: GITHUB_ACTION_REF:v3 GITHUB_ACTION_REPOSITORY:actions/setup-node 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:pull_request GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:build_and_deploy GITHUB_OUTPUT:/var/run/act/workflow/outputcmd.txt GITHUB_PATH:/var/run/act/workflow/pathcmd.txt GITHUB_REF:refs/pull/%!f(<nil>)/merge GITHUB_REF_NAME:%!f(<nil>)/merge GITHUB_REF_TYPE: GITHUB_REPOSITORY:fuguUX/fuguUX-Frontend GITHUB_REPOSITORY_OWNER:fuguUX GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:aed9c2c3397e3e962d3df508c509eddab1312f5a GITHUB_STATE:/var/run/act/workflow/statecmd.txt GITHUB_STEP_SUMMARY:/var/run/act/workflow/SUMMARY.md GITHUB_WORKFLOW:Build and deploy GITHUB_WORKSPACE:/Users/brian/workspaces/fuguUX/fuguUX-Frontend INPUT_ALWAYS-AUTH:false INPUT_ARCHITECTURE: INPUT_CACHE: INPUT_CACHE-DEPENDENCY-PATH: INPUT_CHECK-LATEST:false INPUT_NODE-VERSION:18.x INPUT_NODE-VERSION-FILE: INPUT_REGISTRY-URL: INPUT_SCOPE: INPUT_TOKEN: ImageOS:ubuntu20 NODE_VERSION:18.x OUTPUT_LOCATION: RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID:]
[exec/Build and deploy/Build and Deploy] [DEBUG] Found revision: aed9c2c3397e3e962d3df508c509eddab1312f5a
[exec/Build and deploy/Build and Deploy] [DEBUG] Found revision: aed9c2c3397e3e962d3df508c509eddab1312f5a
[exec/Build and deploy/Build and Deploy] [DEBUG] evaluating expression 'success()'
[exec/Build and deploy/Build and Deploy] [DEBUG] expression 'success()' evaluated to 'false'
[exec/Build and deploy/Build and Deploy] [DEBUG] Skipping step 'Use Node.js ${{ env.NODE_VERSION }}' due to 'success()'
[exec/Build and deploy/Build and Deploy] [DEBUG] skipping post step for 'actions/checkout@v3': no action model available
[exec/Build and deploy/Build and Deploy] 🏁  Job failed
[exec/Build and deploy/Build and Deploy] [DEBUG] Found revision: aed9c2c3397e3e962d3df508c509eddab1312f5a
[exec/Build and deploy/Build and Deploy] [DEBUG] Found revision: aed9c2c3397e3e962d3df508c509eddab1312f5a

Additional information

The copy is a result of a "prebuild" command I have in my package.json:

"prebuild": "copy ../.env* .",

@brianmgray brianmgray added the kind/bug Something isn't working label Mar 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant