[GH-ISSUE #5869] Artifact server does not seem to be working. #1272

Open
opened 2026-03-01 21:50:04 +03:00 by kerem · 2 comments
Owner

Originally created by @ankitpaudel20 on GitHub (Jul 6, 2025).
Original GitHub issue: https://github.com/nektos/act/issues/5869

Bug report info

act version:            0.2.79
GOOS:                   linux
GOARCH:                 amd64
NumCPU:                 22
Docker host:            DOCKER_HOST environment variable is not set
Sockets found:
        /var/run/docker.sock
Config files:           
        /home/test_user/.config/act/actrc:
                -P ubuntu-latest=ghcr.io/catthehacker/ubuntu:act-latest
                -P ubuntu-22.04=ghcr.io/catthehacker/ubuntu:act-22.04
                -P ubuntu-20.04=ghcr.io/catthehacker/ubuntu:act-20.04
                --artifact-server-path /home/test_user/repos/test_repo/.artifacts

Build info:
        Go version:            go1.24.4
        Module path:           github.com/nektos/act
        Main version:          (devel)
        Main path:             github.com/nektos/act
        Main checksum:         
        Build settings:
                -buildmode:           pie
                -compiler:            gc
                -trimpath:            true
                CGO_ENABLED:          1
                GOARCH:               amd64
                GOOS:                 linux
                GOAMD64:              v1
Docker Engine:
        Engine version:        28.3.0
        Engine runtime:        runc
        Cgroup version:        2
        Cgroup driver:         systemd
        Storage driver:        overlay2
        Registry URI:          https://index.docker.io/v1/
        OS:                    Arch Linux
        OS type:               linux
        OS version:            
        OS arch:               x86_64
        OS kernel:             6.15.4-arch2-1
        OS CPU:                22
        OS memory:             15681 MB
        Security options:
                name=seccomp,profile=builtin
                name=cgroupns

Command used with act

act

Describe issue

upload-artifacts@v4 always fails with error:
ERRO[0043] Error link expired

No response

Workflow content

name: Build and Release the PDF

on:
  workflow_dispatch:
  push:
    tags:
      - "v*.*.*"

jobs:
  build:
    runs-on: ubuntu-latest

    steps:
      - name: Checkout
        uses: actions/checkout@v4
      - name: Install custom fonts
        run: |
          sudo apt-get update
          sudo apt-get install -y fontconfig xz-utils zstd
          
          mkdir -p /tmp/hack-font /tmp/libertinus-font
          tar -xf assets/Hack.tar.xz -C /tmp/hack-font
          tar -xf assets/Libertinus-7.051.tar.zst -C /tmp/libertinus-font

          sudo cp /tmp/hack-font/*.{ttf,otf} /usr/local/share/fonts/ 2>/dev/null || true
          sudo cp /tmp/libertinus-font/Libertinus-7.051/static/OTF/*.{ttf,otf} /usr/local/share/fonts/ 2>/dev/null || true

          sudo fc-cache -fv

      - name: Setup Typst
        uses: typst-community/setup-typst@v3

      - name: Compile the pdf
        run: typst compile main.typ test123-${{ github.ref_name }}-${{ github.sha }}.pdf

      - name: Upload PDF artifact
        uses: actions/upload-artifact@v4
        with:
          name: test123-pdf
          path: test123-${{ github.ref_name }}-${{ github.sha }}.pdf

      - name: Release
        if: startsWith(github.ref, 'refs/tags/')
        uses: softprops/action-gh-release@v2
        with:
          files: test123-${{ github.ref_name }}-${{ env.GITHUB_SHA_SHORT }}.pdf

Relevant log output

DEBU[0000] Handling container host and socket           
DEBU[0000] Defaulting container socket to DOCKER_HOST   
INFO[0000] Using docker host 'unix:///var/run/docker.sock', and daemon socket 'unix:///var/run/docker.sock' 
DEBU[0000] Loading environment from /home/test_user/repos/test_repo/.env 
DEBU[0000] Loading action inputs from /home/test_user/repos/test_repo/.input 
DEBU[0000] Loading secrets from /home/test_user/repos/test_repo/.secrets 
DEBU[0000] Conditional GET for notices etag=f6ad8cb8-4dce-4272-a1bd-d12a0acc5954 
DEBU[0000] Loading vars from /home/test_user/repos/test_repo/.vars 
DEBU[0000] Evaluated matrix inclusions: map[]           
DEBU[0000] Loading workflows from '/home/test_user/repos/test_repo/.github/workflows' 
DEBU[0000] Loading workflows recursively                
DEBU[0000] Found workflow 'workflow.yaml' in '/home/test_user/repos/test_repo/.github/workflows/workflow.yaml' 
DEBU[0000] Reading workflow '/home/test_user/repos/test_repo/.github/workflows/workflow.yaml' 
DEBU[0000] Preparing plan with all jobs                 
DEBU[0000] Using default workflow event: push           
DEBU[0000] Planning jobs for event: push                
DEBU[0000] Artifacts base path '/home/test_user/repos/test_repo/.artifacts' 
DEBU[0000] gc: 2025-07-06 22:38:32.60591478 +0545 +0545 m=+0.092437842  module=artifactcache
INFO[0000] Start server on http://192.168.1.193:34567   
DEBU[0000] Plan Stages: [0xc00038fe18]                  
DEBU[0000] Stages Runs: [build]                         
DEBU[0000] Job.Name: build                              
DEBU[0000] Job.RawNeeds: {0 0    <nil> []    0 0}       
DEBU[0000] Job.RawRunsOn: {8 0 !!str ubuntu-latest  <nil> []    12 14} 
DEBU[0000] Job.Env: {0 0    <nil> []    0 0}            
DEBU[0000] Job.If: {0 0  success()  <nil> []    0 0}    
DEBU[0000] Job.Steps: Checkout                          
DEBU[0000] Job.Steps: Install custom fonts              
DEBU[0000] Job.Steps: Setup Typst                       
DEBU[0000] Job.Steps: Compile the pdf                   
DEBU[0000] Job.Steps: Upload PDF artifact               
DEBU[0000] Job.Steps: Release                           
DEBU[0000] Job.TimeoutMinutes:                          
DEBU[0000] Job.Services: map[]                          
DEBU[0000] Job.Strategy: <nil>                          
DEBU[0000] Job.RawContainer: {0 0    <nil> []    0 0}   
DEBU[0000] Job.Defaults.Run.Shell:                      
DEBU[0000] Job.Defaults.Run.WorkingDirectory:           
DEBU[0000] Job.Outputs: map[]                           
DEBU[0000] Job.Uses:                                    
DEBU[0000] Job.With: map[]                              
DEBU[0000] Job.Result:                                  
DEBU[0000] Empty Strategy, matrixes=[map[]]             
DEBU[0000] Job Matrices: [map[]]                        
DEBU[0000] Runner Matrices: map[]                       
DEBU[0000] Final matrix after applying user inclusions '[map[]]' 
DEBU[0000] Loading revision from git directory          
DEBU[0000] Found revision: 78baee509c94530f43c883a0cf430a0d47a2fb35 
DEBU[0000] HEAD points to '78baee509c94530f43c883a0cf430a0d47a2fb35' 
DEBU[0000] using github ref: refs/heads/test_ref          
DEBU[0000] Found revision: 78baee509c94530f43c883a0cf430a0d47a2fb35 
DEBU[0000] Detected CPUs: 22                            
DEBU[0000] PlanExecutor concurrency: 22                 
DEBU[0000] Detected CPUs: 22
[Build and Release the PDF/build]   ✅  Success - Main Compile the pdf [2.311644827s]
[Build and Release the PDF/build] [DEBUG] Loading revision from git directory
[Build and Release the PDF/build] [DEBUG] Found revision: 78baee509c94530f43c883a0cf430a0d47a2fb35
[Build and Release the PDF/build] [DEBUG] HEAD points to '78baee509c94530f43c883a0cf430a0d47a2fb35'
[Build and Release the PDF/build] [DEBUG] using github ref: refs/heads/test_ref
[Build and Release the PDF/build] [DEBUG] Found revision: 78baee509c94530f43c883a0cf430a0d47a2fb35
[Build and Release the PDF/build] [DEBUG] Loading revision from git directory
[Build and Release the PDF/build] [DEBUG] Found revision: 78baee509c94530f43c883a0cf430a0d47a2fb35
[Build and Release the PDF/build] [DEBUG] HEAD points to '78baee509c94530f43c883a0cf430a0d47a2fb35'
[Build and Release the PDF/build] [DEBUG] using github ref: refs/heads/test_ref
[Build and Release the PDF/build] [DEBUG] Found revision: 78baee509c94530f43c883a0cf430a0d47a2fb35
[Build and Release the PDF/build] [DEBUG] Loading revision from git directory
[Build and Release the PDF/build] [DEBUG] Found revision: 78baee509c94530f43c883a0cf430a0d47a2fb35
[Build and Release the PDF/build] [DEBUG] HEAD points to '78baee509c94530f43c883a0cf430a0d47a2fb35'
[Build and Release the PDF/build] [DEBUG] using github ref: refs/heads/test_ref
[Build and Release the PDF/build] [DEBUG] Found revision: 78baee509c94530f43c883a0cf430a0d47a2fb35
[Build and Release the PDF/build] [DEBUG] expression 'test123-${{ github.ref_name }}-${{ github.sha }}.pdf' rewritten to 'format('test123-{0}-{1}.pdf', github.ref_name, github.sha)'
[Build and Release the PDF/build] [DEBUG] evaluating expression 'format('test123-{0}-{1}.pdf', github.ref_name, github.sha)'
[Build and Release the PDF/build] [DEBUG] expression 'format('test123-{0}-{1}.pdf', github.ref_name, github.sha)' evaluated to '%!t(string=test123-test_ref-78baee509c94530f43c883a0cf430a0d47a2fb35.pdf)'
[Build and Release the PDF/build] [DEBUG] setupEnv => map[ACT:true ACTIONS_CACHE_URL:http://192.168.1.193:32891/ ACTIONS_RESULTS_URL:http://192.168.1.193:34567/ ACTIONS_RUNTIME_TOKEN:eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3NTE5MDcyNDEsIm5iZiI6MTc1MTgyMDg0MSwic2NwIjoiQWN0aW9ucy5SZXN1bHRzOjE6MSIsIlRhc2tJRCI6MSwiUnVuSUQiOjEsIkpvYklEIjoxLCJhYyI6Ilt7XCJTY29wZVwiOlwiXCIsXCJQZXJtaXNzaW9uXCI6Mn1dIn0.jEAA60GMdMnG39EzjIVg7squPQjZUR5_S_OAvT-qz1s ACTIONS_RUNTIME_URL:http://192.168.1.193:34567/ CI:true GITHUB_ACTION:4 GITHUB_ACTIONS:true GITHUB_ACTION_PATH: GITHUB_ACTION_REF:v4 GITHUB_ACTION_REPOSITORY:actions/upload-artifact GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:build GITHUB_REF:refs/heads/test_ref GITHUB_REF_NAME:test_ref GITHUB_REF_TYPE:branch GITHUB_REPOSITORY:ankitpaudel20/test_repo GITHUB_REPOSITORY_OWNER:ankitpaudel20 GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ATTEMPT:1 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:78baee509c94530f43c883a0cf430a0d47a2fb35 GITHUB_WORKFLOW:Build and Release the PDF GITHUB_WORKSPACE:/home/test_user/repos/test_repo INPUT_NAME:test123-pdf INPUT_PATH:test123-test_ref-78baee509c94530f43c883a0cf430a0d47a2fb35.pdf ImageOS:ubuntu20 RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID:]
[Build and Release the PDF/build] [DEBUG] Loading revision from git directory
[Build and Release the PDF/build] [DEBUG] Found revision: 78baee509c94530f43c883a0cf430a0d47a2fb35
[Build and Release the PDF/build] [DEBUG] HEAD points to '78baee509c94530f43c883a0cf430a0d47a2fb35'
[Build and Release the PDF/build] [DEBUG] using github ref: refs/heads/test_ref
[Build and Release the PDF/build] [DEBUG] Found revision: 78baee509c94530f43c883a0cf430a0d47a2fb35
[Build and Release the PDF/build] [DEBUG] Loading revision from git directory
[Build and Release the PDF/build] [DEBUG] Found revision: 78baee509c94530f43c883a0cf430a0d47a2fb35
[Build and Release the PDF/build] [DEBUG] HEAD points to '78baee509c94530f43c883a0cf430a0d47a2fb35'
[Build and Release the PDF/build] [DEBUG] using github ref: refs/heads/test_ref
[Build and Release the PDF/build] [DEBUG] Found revision: 78baee509c94530f43c883a0cf430a0d47a2fb35
[Build and Release the PDF/build] [DEBUG] evaluating expression ''
[Build and Release the PDF/build] [DEBUG] expression '' evaluated to 'true'
[Build and Release the PDF/build] ⭐ Run Main Upload PDF artifact
[Build and Release the PDF/build] [DEBUG] Writing entry to tarball workflow/outputcmd.txt len:0
[Build and Release the PDF/build] [DEBUG] Writing entry to tarball workflow/statecmd.txt len:0
[Build and Release the PDF/build] [DEBUG] Writing entry to tarball workflow/pathcmd.txt len:0
[Build and Release the PDF/build] [DEBUG] Writing entry to tarball workflow/envs.txt len:0
[Build and Release the PDF/build] [DEBUG] Writing entry to tarball workflow/SUMMARY.md len:0
[Build and Release the PDF/build] [DEBUG] Extracting content to '/var/run/act'
[Build and Release the PDF/build] [DEBUG] Loading revision from git directory
[Build and Release the PDF/build] [DEBUG] Found revision: 78baee509c94530f43c883a0cf430a0d47a2fb35
[Build and Release the PDF/build] [DEBUG] HEAD points to '78baee509c94530f43c883a0cf430a0d47a2fb35'
[Build and Release the PDF/build] [DEBUG] using github ref: refs/heads/test_ref
[Build and Release the PDF/build] [DEBUG] Found revision: 78baee509c94530f43c883a0cf430a0d47a2fb35
[Build and Release the PDF/build] [DEBUG] About to run action &{Upload a Build Artifact GitHub Upload a build artifact that can be used by subsequent workflow steps map[compression-level:{The level of compression for Zlib to be applied to the artifact archive. The value can range from 0 to 9: - 0: No compression - 1: Best speed - 6: Default compression (same as GNU Gzip) - 9: Best compression Higher levels will result in better compression, but will take longer to complete. For large files that are not easily compressed, a value of 0 is recommended for significantly faster uploads.
 false 6} if-no-files-found:{The desired behavior if no files are found using the provided path.
Available Options:
  warn: Output a warning but do not fail the action
  error: Fail the action with an error message
  ignore: Do not output any warnings or errors, the action does not fail
 false warn} include-hidden-files:{If true, hidden files will be included in the artifact. If false, hidden files will be excluded from the artifact.
 false false} name:{Artifact name false artifact} overwrite:{If true, an artifact with a matching name will be deleted before a new one is uploaded. If false, the action will fail if an artifact for the given name already exists. Does not fail if the artifact does not exist.
 false false} path:{A file, directory or wildcard pattern that describes what to upload true } retention-days:{Duration after which artifact will expire in days. 0 means using default retention.
Minimum 1 day. Maximum 90 days unless changed from the repository settings page.
 false }] map[artifact-digest:{SHA-256 digest for the artifact that was just uploaded. Empty if the artifact upload failed.
 } artifact-id:{A unique identifier for the artifact that was just uploaded. Empty if the artifact upload failed.
This ID can be used as input to other APIs to download, delete or get more information about an artifact: https://docs.github.com/en/rest/actions/artifacts
 } artifact-url:{A download URL for the artifact that was just uploaded. Empty if the artifact upload failed.
This download URL only works for requests Authenticated with GitHub. Anonymous downloads will be prompted to first login.  If an anonymous download URL is needed than a short time restricted URL can be generated using the download artifact API: https://docs.github.com/en/rest/actions/artifacts#download-an-artifact    
This URL will be valid for as long as the artifact exists and the workflow run and repository exists. Once an artifact has expired this URL will no longer work. Common uses cases for such a download URL can be adding download links to artifacts in descriptions or comments on pull requests or issues.
 }] {node20 map[] dist/upload/index.js  always()  always()     [] []} { }}
[Build and Release the PDF/build] [DEBUG] Loading revision from git directory
[Build and Release the PDF/build] [DEBUG] Found revision: 78baee509c94530f43c883a0cf430a0d47a2fb35
[Build and Release the PDF/build] [DEBUG] HEAD points to '78baee509c94530f43c883a0cf430a0d47a2fb35'
[Build and Release the PDF/build] [DEBUG] using github ref: refs/heads/test_ref
[Build and Release the PDF/build] [DEBUG] Found revision: 78baee509c94530f43c883a0cf430a0d47a2fb35
[Build and Release the PDF/build] [DEBUG] Loading revision from git directory
[Build and Release the PDF/build] [DEBUG] Found revision: 78baee509c94530f43c883a0cf430a0d47a2fb35
[Build and Release the PDF/build] [DEBUG] HEAD points to '78baee509c94530f43c883a0cf430a0d47a2fb35'
[Build and Release the PDF/build] [DEBUG] using github ref: refs/heads/test_ref
[Build and Release the PDF/build] [DEBUG] Found revision: 78baee509c94530f43c883a0cf430a0d47a2fb35
[Build and Release the PDF/build] [DEBUG] type=remote-action actionDir=/home/test_user/.cache/act/actions-upload-artifact@v4 actionPath= workdir=/home/test_user/repos/test_repo actionCacheDir=/home/test_user/.cache/act actionName=actions-upload-artifact@v4 containerActionDir=/var/run/act/actions/actions-upload-artifact@v4
[Build and Release the PDF/build] [DEBUG] /var/run/act/actions/actions-upload-artifact@v4
[Build and Release the PDF/build] [DEBUG] Removing /home/test_user/.cache/act/actions-upload-artifact@v4/.gitignore before docker cp
[Build and Release the PDF/build]   🐳  docker cp src=/home/test_user/.cache/act/actions-upload-artifact@v4/ dst=/var/run/act/actions/actions-upload-artifact@v4/
[Build and Release the PDF/build] [DEBUG] Writing tarball /tmp/act3843760261 from /home/test_user/.cache/act/actions-upload-artifact@v4/
[Build and Release the PDF/build] [DEBUG] Stripping prefix:/home/test_user/.cache/act/actions-upload-artifact@v4/ src:/home/test_user/.cache/act/actions-upload-artifact@v4/
[Build and Release the PDF/build] [DEBUG] Extracting content from '/tmp/act3843760261' to '/var/run/act/actions/actions-upload-artifact@v4/'
[Build and Release the PDF/build] [DEBUG] executing remote job container: [/opt/acttoolcache/node/18.20.8/x64/bin/node /var/run/act/actions/actions-upload-artifact@v4/dist/upload/index.js]
[Build and Release the PDF/build]   🐳  docker exec cmd=[/opt/acttoolcache/node/18.20.8/x64/bin/node /var/run/act/actions/actions-upload-artifact@v4/dist/upload/index.js] user= workdir=
[Build and Release the PDF/build] [DEBUG] Exec command '[/opt/acttoolcache/node/18.20.8/x64/bin/node /var/run/act/actions/actions-upload-artifact@v4/dist/upload/index.js]'
[Build and Release the PDF/build] [DEBUG] Working directory '/home/test_user/repos/test_repo'
[Build and Release the PDF/build] [DEBUG]   💬  ::debug::followSymbolicLinks 'true'
[Build and Release the PDF/build] [DEBUG]   💬  ::debug::implicitDescendants 'true'
[Build and Release the PDF/build] [DEBUG]   💬  ::debug::omitBrokenSymbolicLinks 'true'
[Build and Release the PDF/build] [DEBUG]   💬  ::debug::excludeHiddenFiles 'true'
[Build and Release the PDF/build] [DEBUG]   💬  ::debug::followSymbolicLinks 'true'
[Build and Release the PDF/build] [DEBUG]   💬  ::debug::implicitDescendants 'true'
[Build and Release the PDF/build] [DEBUG]   💬  ::debug::matchDirectories 'true'
[Build and Release the PDF/build] [DEBUG]   💬  ::debug::omitBrokenSymbolicLinks 'true'
[Build and Release the PDF/build] [DEBUG]   💬  ::debug::excludeHiddenFiles 'true'
[Build and Release the PDF/build] [DEBUG]   💬  ::debug::Search path '/home/test_user/repos/test_repo/test123-test_ref-78baee509c94530f43c883a0cf430a0d47a2fb35.pdf'
[Build and Release the PDF/build] [DEBUG]   💬  ::debug::File:/home/test_user/repos/test_repo/test123-test_ref-78baee509c94530f43c883a0cf430a0d47a2fb35.pdf was found using the provided searchPath
| With the provided path, there will be 1 file uploaded
[Build and Release the PDF/build] [DEBUG]   💬  ::debug::Root artifact directory is /home/test_user/repos/test_repo
| Artifact name is valid!
| Root directory input is valid!
[Build and Release the PDF/build] [DEBUG]   💬  ::debug::Workflow Run Backend ID: 1
[Build and Release the PDF/build] [DEBUG]   💬  ::debug::Workflow Job Run Backend ID: 1
[Build and Release the PDF/build] [DEBUG]   💬  ::debug::[Request] CreateArtifact http://192.168.1.193:34567/twirp/github.actions.results.api.v1.ArtifactService/CreateArtifact
[Build and Release the PDF/build] [DEBUG]   💬  ::debug::[Response] - 200
[Build and Release the PDF/build] [DEBUG]   💬  ::debug::Headers: {%0A  "content-type": "application/json;charset=utf-8",%0A  "date": "Sun, 06 Jul 2025 16:54:02 GMT",%0A  "content-length": "266",%0A  "connection": "close"%0A}
[Build and Release the PDF/build] [DEBUG]   💬  ::debug::Body: {%0A  "ok": true,%0A  "signedUploadUrl": "http://192.168.1.193:34567/twirp/github.actions.results.api.v1.ArtifactService/UploadArtifact?sig=dSHKoO8mNjjJMQcdc2K5m-Gk93xv7_GgQbI0rQFtHGs=&expires=2025-07-06+23%253A39%253A02.368735315+%252B0545+%252B0545&artifactName=test123-pdf&taskID=1"%0A}
[Build and Release the PDF/build] [DEBUG]   💬  ::debug::Creating Artifact archive with compressionLevel: 6
[Build and Release the PDF/build] [DEBUG]   💬  ::debug::Zip write high watermark value 8388608
[Build and Release the PDF/build] [DEBUG]   💬  ::debug::Zip read high watermark value 8388608
[Build and Release the PDF/build] [DEBUG]   💬  ::debug::Uploading artifact zip to blob storage with maxConcurrency: 5, bufferSize: 8388608
| Beginning upload of artifact content to blob storage
[Build and Release the PDF/build] [DEBUG]   💬  ::debug::Zip stream for upload has ended.
[Build and Release the PDF/build] [DEBUG]   💬  ::debug::Zip stream for upload has finished.
ERRO[0029] Error link expired                           
[Build and Release the PDF/build]   ❗  ::error::
[Build and Release the PDF/build]   ❌  Failure - Main Upload PDF artifact [534.566371ms]
[Build and Release the PDF/build] exitcode '1': failure
[Build and Release the PDF/build] [DEBUG] Loading revision from git directory
[Build and Release the PDF/build] [DEBUG] Found revision: 78baee509c94530f43c883a0cf430a0d47a2fb35
[Build and Release the PDF/build] [DEBUG] HEAD points to '78baee509c94530f43c883a0cf430a0d47a2fb35'
[Build and Release the PDF/build] [DEBUG] using github ref: refs/heads/test_ref
[Build and Release the PDF/build] [DEBUG] Found revision: 78baee509c94530f43c883a0cf430a0d47a2fb35
[Build and Release the PDF/build] [DEBUG] Loading revision from git directory
[Build and Release the PDF/build] [DEBUG] Found revision: 78baee509c94530f43c883a0cf430a0d47a2fb35
[Build and Release the PDF/build] [DEBUG] HEAD points to '78baee509c94530f43c883a0cf430a0d47a2fb35'
[Build and Release the PDF/build] [DEBUG] using github ref: refs/heads/test_ref
[Build and Release the PDF/build] [DEBUG] Found revision: 78baee509c94530f43c883a0cf430a0d47a2fb35
[Build and Release the PDF/build] [DEBUG] Loading revision from git directory
[Build and Release the PDF/build] [DEBUG] Found revision: 78baee509c94530f43c883a0cf430a0d47a2fb35
[Build and Release the PDF/build] [DEBUG] HEAD points to '78baee509c94530f43c883a0cf430a0d47a2fb35'
[Build and Release the PDF/build] [DEBUG] using github ref: refs/heads/test_ref
[Build and Release the PDF/build] [DEBUG] Found revision: 78baee509c94530f43c883a0cf430a0d47a2fb35
[Build and Release the PDF/build] [DEBUG] expression 'test123-${{ github.ref_name }}-${{ env.GITHUB_SHA_SHORT }}.pdf' rewritten to 'format('test123-{0}-{1}.pdf', github.ref_name, env.GITHUB_SHA_SHORT)'
[Build and Release the PDF/build] [DEBUG] evaluating expression 'format('test123-{0}-{1}.pdf', github.ref_name, env.GITHUB_SHA_SHORT)'
[Build and Release the PDF/build] [DEBUG] expression 'format('test123-{0}-{1}.pdf', github.ref_name, env.GITHUB_SHA_SHORT)' evaluated to '%!t(string=test123-test_ref-.pdf)'
[Build and Release the PDF/build] [DEBUG] setupEnv => map[ACT:true ACTIONS_CACHE_URL:http://192.168.1.193:32891/ ACTIONS_RESULTS_URL:http://192.168.1.193:34567/ ACTIONS_RUNTIME_TOKEN:eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3NTE5MDcyNDIsIm5iZiI6MTc1MTgyMDg0Miwic2NwIjoiQWN0aW9ucy5SZXN1bHRzOjE6MSIsIlRhc2tJRCI6MSwiUnVuSUQiOjEsIkpvYklEIjoxLCJhYyI6Ilt7XCJTY29wZVwiOlwiXCIsXCJQZXJtaXNzaW9uXCI6Mn1dIn0.kCfo7K30KJXVIC7y8L7fg4DbaOFKV2Y-9dAjwfHLmCA ACTIONS_RUNTIME_URL:http://192.168.1.193:34567/ CI:true GITHUB_ACTION:5 GITHUB_ACTIONS:true GITHUB_ACTION_PATH: GITHUB_ACTION_REF:v2 GITHUB_ACTION_REPOSITORY:softprops/action-gh-release GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:build GITHUB_REF:refs/heads/test_ref GITHUB_REF_NAME:test_ref GITHUB_REF_TYPE:branch GITHUB_REPOSITORY:ankitpaudel20/test_repo GITHUB_REPOSITORY_OWNER:ankitpaudel20 GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ATTEMPT:1 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:78baee509c94530f43c883a0cf430a0d47a2fb35 GITHUB_WORKFLOW:Build and Release the PDF GITHUB_WORKSPACE:/home/test_user/repos/test_repo INPUT_FILES:test123-test_ref-.pdf ImageOS:ubuntu20 RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID:]
[Build and Release the PDF/build] [DEBUG] Loading revision from git directory
[Build and Release the PDF/build] [DEBUG] Found revision: 78baee509c94530f43c883a0cf430a0d47a2fb35
[Build and Release the PDF/build] [DEBUG] HEAD points to '78baee509c94530f43c883a0cf430a0d47a2fb35'
[Build and Release the PDF/build] [DEBUG] using github ref: refs/heads/test_ref
[Build and Release the PDF/build] [DEBUG] Found revision: 78baee509c94530f43c883a0cf430a0d47a2fb35
[Build and Release the PDF/build] [DEBUG] Loading revision from git directory
[Build and Release the PDF/build] [DEBUG] Found revision: 78baee509c94530f43c883a0cf430a0d47a2fb35
[Build and Release the PDF/build] [DEBUG] HEAD points to '78baee509c94530f43c883a0cf430a0d47a2fb35'
[Build and Release the PDF/build] [DEBUG] using github ref: refs/heads/test_ref
[Build and Release the PDF/build] [DEBUG] Found revision: 78baee509c94530f43c883a0cf430a0d47a2fb35
[Build and Release the PDF/build] [DEBUG] evaluating expression 'startsWith(github.ref, 'refs/tags/')'
[Build and Release the PDF/build] [DEBUG] expression 'startsWith(github.ref, 'refs/tags/')' evaluated to 'false'
[Build and Release the PDF/build] [DEBUG] Skipping step 'Release' due to 'startsWith(github.ref, 'refs/tags/')'
[Build and Release the PDF/build] [DEBUG] skipping post step for 'Release'; main step was skipped
[Build and Release the PDF/build] [DEBUG] skipping post step for 'Checkout': no action model available
[Build and Release the PDF/build] ⭐ Run Complete job
[Build and Release the PDF/build] [DEBUG] Loading revision from git directory
[Build and Release the PDF/build] [DEBUG] Found revision: 78baee509c94530f43c883a0cf430a0d47a2fb35
[Build and Release the PDF/build] [DEBUG] HEAD points to '78baee509c94530f43c883a0cf430a0d47a2fb35'
[Build and Release the PDF/build] [DEBUG] using github ref: refs/heads/test_ref
[Build and Release the PDF/build] [DEBUG] Found revision: 78baee509c94530f43c883a0cf430a0d47a2fb35
[Build and Release the PDF/build]   ✅  Success - Complete job
[Build and Release the PDF/build] 🏁  Job failed
Error: Job 'build' failed

Additional information

I have truncated the log and only attached log after the stage that failed due to size limitation.

Originally created by @ankitpaudel20 on GitHub (Jul 6, 2025). Original GitHub issue: https://github.com/nektos/act/issues/5869 ### Bug report info ```plain text act version: 0.2.79 GOOS: linux GOARCH: amd64 NumCPU: 22 Docker host: DOCKER_HOST environment variable is not set Sockets found: /var/run/docker.sock Config files: /home/test_user/.config/act/actrc: -P ubuntu-latest=ghcr.io/catthehacker/ubuntu:act-latest -P ubuntu-22.04=ghcr.io/catthehacker/ubuntu:act-22.04 -P ubuntu-20.04=ghcr.io/catthehacker/ubuntu:act-20.04 --artifact-server-path /home/test_user/repos/test_repo/.artifacts Build info: Go version: go1.24.4 Module path: github.com/nektos/act Main version: (devel) Main path: github.com/nektos/act Main checksum: Build settings: -buildmode: pie -compiler: gc -trimpath: true CGO_ENABLED: 1 GOARCH: amd64 GOOS: linux GOAMD64: v1 Docker Engine: Engine version: 28.3.0 Engine runtime: runc Cgroup version: 2 Cgroup driver: systemd Storage driver: overlay2 Registry URI: https://index.docker.io/v1/ OS: Arch Linux OS type: linux OS version: OS arch: x86_64 OS kernel: 6.15.4-arch2-1 OS CPU: 22 OS memory: 15681 MB Security options: name=seccomp,profile=builtin name=cgroupns ``` ### Command used with act ```sh act ``` ### Describe issue upload-artifacts@v4 always fails with error: `ERRO[0043] Error link expired` ### Link to GitHub repository _No response_ ### Workflow content ```yml name: Build and Release the PDF on: workflow_dispatch: push: tags: - "v*.*.*" jobs: build: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v4 - name: Install custom fonts run: | sudo apt-get update sudo apt-get install -y fontconfig xz-utils zstd mkdir -p /tmp/hack-font /tmp/libertinus-font tar -xf assets/Hack.tar.xz -C /tmp/hack-font tar -xf assets/Libertinus-7.051.tar.zst -C /tmp/libertinus-font sudo cp /tmp/hack-font/*.{ttf,otf} /usr/local/share/fonts/ 2>/dev/null || true sudo cp /tmp/libertinus-font/Libertinus-7.051/static/OTF/*.{ttf,otf} /usr/local/share/fonts/ 2>/dev/null || true sudo fc-cache -fv - name: Setup Typst uses: typst-community/setup-typst@v3 - name: Compile the pdf run: typst compile main.typ test123-${{ github.ref_name }}-${{ github.sha }}.pdf - name: Upload PDF artifact uses: actions/upload-artifact@v4 with: name: test123-pdf path: test123-${{ github.ref_name }}-${{ github.sha }}.pdf - name: Release if: startsWith(github.ref, 'refs/tags/') uses: softprops/action-gh-release@v2 with: files: test123-${{ github.ref_name }}-${{ env.GITHUB_SHA_SHORT }}.pdf ``` ### Relevant log output ```sh DEBU[0000] Handling container host and socket DEBU[0000] Defaulting container socket to DOCKER_HOST INFO[0000] Using docker host 'unix:///var/run/docker.sock', and daemon socket 'unix:///var/run/docker.sock' DEBU[0000] Loading environment from /home/test_user/repos/test_repo/.env DEBU[0000] Loading action inputs from /home/test_user/repos/test_repo/.input DEBU[0000] Loading secrets from /home/test_user/repos/test_repo/.secrets DEBU[0000] Conditional GET for notices etag=f6ad8cb8-4dce-4272-a1bd-d12a0acc5954 DEBU[0000] Loading vars from /home/test_user/repos/test_repo/.vars DEBU[0000] Evaluated matrix inclusions: map[] DEBU[0000] Loading workflows from '/home/test_user/repos/test_repo/.github/workflows' DEBU[0000] Loading workflows recursively DEBU[0000] Found workflow 'workflow.yaml' in '/home/test_user/repos/test_repo/.github/workflows/workflow.yaml' DEBU[0000] Reading workflow '/home/test_user/repos/test_repo/.github/workflows/workflow.yaml' DEBU[0000] Preparing plan with all jobs DEBU[0000] Using default workflow event: push DEBU[0000] Planning jobs for event: push DEBU[0000] Artifacts base path '/home/test_user/repos/test_repo/.artifacts' DEBU[0000] gc: 2025-07-06 22:38:32.60591478 +0545 +0545 m=+0.092437842 module=artifactcache INFO[0000] Start server on http://192.168.1.193:34567 DEBU[0000] Plan Stages: [0xc00038fe18] DEBU[0000] Stages Runs: [build] DEBU[0000] Job.Name: build DEBU[0000] Job.RawNeeds: {0 0 <nil> [] 0 0} DEBU[0000] Job.RawRunsOn: {8 0 !!str ubuntu-latest <nil> [] 12 14} DEBU[0000] Job.Env: {0 0 <nil> [] 0 0} DEBU[0000] Job.If: {0 0 success() <nil> [] 0 0} DEBU[0000] Job.Steps: Checkout DEBU[0000] Job.Steps: Install custom fonts DEBU[0000] Job.Steps: Setup Typst DEBU[0000] Job.Steps: Compile the pdf DEBU[0000] Job.Steps: Upload PDF artifact DEBU[0000] Job.Steps: Release DEBU[0000] Job.TimeoutMinutes: DEBU[0000] Job.Services: map[] DEBU[0000] Job.Strategy: <nil> DEBU[0000] Job.RawContainer: {0 0 <nil> [] 0 0} DEBU[0000] Job.Defaults.Run.Shell: DEBU[0000] Job.Defaults.Run.WorkingDirectory: DEBU[0000] Job.Outputs: map[] DEBU[0000] Job.Uses: DEBU[0000] Job.With: map[] DEBU[0000] Job.Result: DEBU[0000] Empty Strategy, matrixes=[map[]] DEBU[0000] Job Matrices: [map[]] DEBU[0000] Runner Matrices: map[] DEBU[0000] Final matrix after applying user inclusions '[map[]]' DEBU[0000] Loading revision from git directory DEBU[0000] Found revision: 78baee509c94530f43c883a0cf430a0d47a2fb35 DEBU[0000] HEAD points to '78baee509c94530f43c883a0cf430a0d47a2fb35' DEBU[0000] using github ref: refs/heads/test_ref DEBU[0000] Found revision: 78baee509c94530f43c883a0cf430a0d47a2fb35 DEBU[0000] Detected CPUs: 22 DEBU[0000] PlanExecutor concurrency: 22 DEBU[0000] Detected CPUs: 22 [Build and Release the PDF/build] ✅ Success - Main Compile the pdf [2.311644827s] [Build and Release the PDF/build] [DEBUG] Loading revision from git directory [Build and Release the PDF/build] [DEBUG] Found revision: 78baee509c94530f43c883a0cf430a0d47a2fb35 [Build and Release the PDF/build] [DEBUG] HEAD points to '78baee509c94530f43c883a0cf430a0d47a2fb35' [Build and Release the PDF/build] [DEBUG] using github ref: refs/heads/test_ref [Build and Release the PDF/build] [DEBUG] Found revision: 78baee509c94530f43c883a0cf430a0d47a2fb35 [Build and Release the PDF/build] [DEBUG] Loading revision from git directory [Build and Release the PDF/build] [DEBUG] Found revision: 78baee509c94530f43c883a0cf430a0d47a2fb35 [Build and Release the PDF/build] [DEBUG] HEAD points to '78baee509c94530f43c883a0cf430a0d47a2fb35' [Build and Release the PDF/build] [DEBUG] using github ref: refs/heads/test_ref [Build and Release the PDF/build] [DEBUG] Found revision: 78baee509c94530f43c883a0cf430a0d47a2fb35 [Build and Release the PDF/build] [DEBUG] Loading revision from git directory [Build and Release the PDF/build] [DEBUG] Found revision: 78baee509c94530f43c883a0cf430a0d47a2fb35 [Build and Release the PDF/build] [DEBUG] HEAD points to '78baee509c94530f43c883a0cf430a0d47a2fb35' [Build and Release the PDF/build] [DEBUG] using github ref: refs/heads/test_ref [Build and Release the PDF/build] [DEBUG] Found revision: 78baee509c94530f43c883a0cf430a0d47a2fb35 [Build and Release the PDF/build] [DEBUG] expression 'test123-${{ github.ref_name }}-${{ github.sha }}.pdf' rewritten to 'format('test123-{0}-{1}.pdf', github.ref_name, github.sha)' [Build and Release the PDF/build] [DEBUG] evaluating expression 'format('test123-{0}-{1}.pdf', github.ref_name, github.sha)' [Build and Release the PDF/build] [DEBUG] expression 'format('test123-{0}-{1}.pdf', github.ref_name, github.sha)' evaluated to '%!t(string=test123-test_ref-78baee509c94530f43c883a0cf430a0d47a2fb35.pdf)' [Build and Release the PDF/build] [DEBUG] setupEnv => map[ACT:true ACTIONS_CACHE_URL:http://192.168.1.193:32891/ ACTIONS_RESULTS_URL:http://192.168.1.193:34567/ ACTIONS_RUNTIME_TOKEN:eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3NTE5MDcyNDEsIm5iZiI6MTc1MTgyMDg0MSwic2NwIjoiQWN0aW9ucy5SZXN1bHRzOjE6MSIsIlRhc2tJRCI6MSwiUnVuSUQiOjEsIkpvYklEIjoxLCJhYyI6Ilt7XCJTY29wZVwiOlwiXCIsXCJQZXJtaXNzaW9uXCI6Mn1dIn0.jEAA60GMdMnG39EzjIVg7squPQjZUR5_S_OAvT-qz1s ACTIONS_RUNTIME_URL:http://192.168.1.193:34567/ CI:true GITHUB_ACTION:4 GITHUB_ACTIONS:true GITHUB_ACTION_PATH: GITHUB_ACTION_REF:v4 GITHUB_ACTION_REPOSITORY:actions/upload-artifact GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:build GITHUB_REF:refs/heads/test_ref GITHUB_REF_NAME:test_ref GITHUB_REF_TYPE:branch GITHUB_REPOSITORY:ankitpaudel20/test_repo GITHUB_REPOSITORY_OWNER:ankitpaudel20 GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ATTEMPT:1 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:78baee509c94530f43c883a0cf430a0d47a2fb35 GITHUB_WORKFLOW:Build and Release the PDF GITHUB_WORKSPACE:/home/test_user/repos/test_repo INPUT_NAME:test123-pdf INPUT_PATH:test123-test_ref-78baee509c94530f43c883a0cf430a0d47a2fb35.pdf ImageOS:ubuntu20 RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID:] [Build and Release the PDF/build] [DEBUG] Loading revision from git directory [Build and Release the PDF/build] [DEBUG] Found revision: 78baee509c94530f43c883a0cf430a0d47a2fb35 [Build and Release the PDF/build] [DEBUG] HEAD points to '78baee509c94530f43c883a0cf430a0d47a2fb35' [Build and Release the PDF/build] [DEBUG] using github ref: refs/heads/test_ref [Build and Release the PDF/build] [DEBUG] Found revision: 78baee509c94530f43c883a0cf430a0d47a2fb35 [Build and Release the PDF/build] [DEBUG] Loading revision from git directory [Build and Release the PDF/build] [DEBUG] Found revision: 78baee509c94530f43c883a0cf430a0d47a2fb35 [Build and Release the PDF/build] [DEBUG] HEAD points to '78baee509c94530f43c883a0cf430a0d47a2fb35' [Build and Release the PDF/build] [DEBUG] using github ref: refs/heads/test_ref [Build and Release the PDF/build] [DEBUG] Found revision: 78baee509c94530f43c883a0cf430a0d47a2fb35 [Build and Release the PDF/build] [DEBUG] evaluating expression '' [Build and Release the PDF/build] [DEBUG] expression '' evaluated to 'true' [Build and Release the PDF/build] ⭐ Run Main Upload PDF artifact [Build and Release the PDF/build] [DEBUG] Writing entry to tarball workflow/outputcmd.txt len:0 [Build and Release the PDF/build] [DEBUG] Writing entry to tarball workflow/statecmd.txt len:0 [Build and Release the PDF/build] [DEBUG] Writing entry to tarball workflow/pathcmd.txt len:0 [Build and Release the PDF/build] [DEBUG] Writing entry to tarball workflow/envs.txt len:0 [Build and Release the PDF/build] [DEBUG] Writing entry to tarball workflow/SUMMARY.md len:0 [Build and Release the PDF/build] [DEBUG] Extracting content to '/var/run/act' [Build and Release the PDF/build] [DEBUG] Loading revision from git directory [Build and Release the PDF/build] [DEBUG] Found revision: 78baee509c94530f43c883a0cf430a0d47a2fb35 [Build and Release the PDF/build] [DEBUG] HEAD points to '78baee509c94530f43c883a0cf430a0d47a2fb35' [Build and Release the PDF/build] [DEBUG] using github ref: refs/heads/test_ref [Build and Release the PDF/build] [DEBUG] Found revision: 78baee509c94530f43c883a0cf430a0d47a2fb35 [Build and Release the PDF/build] [DEBUG] About to run action &{Upload a Build Artifact GitHub Upload a build artifact that can be used by subsequent workflow steps map[compression-level:{The level of compression for Zlib to be applied to the artifact archive. The value can range from 0 to 9: - 0: No compression - 1: Best speed - 6: Default compression (same as GNU Gzip) - 9: Best compression Higher levels will result in better compression, but will take longer to complete. For large files that are not easily compressed, a value of 0 is recommended for significantly faster uploads. false 6} if-no-files-found:{The desired behavior if no files are found using the provided path. Available Options: warn: Output a warning but do not fail the action error: Fail the action with an error message ignore: Do not output any warnings or errors, the action does not fail false warn} include-hidden-files:{If true, hidden files will be included in the artifact. If false, hidden files will be excluded from the artifact. false false} name:{Artifact name false artifact} overwrite:{If true, an artifact with a matching name will be deleted before a new one is uploaded. If false, the action will fail if an artifact for the given name already exists. Does not fail if the artifact does not exist. false false} path:{A file, directory or wildcard pattern that describes what to upload true } retention-days:{Duration after which artifact will expire in days. 0 means using default retention. Minimum 1 day. Maximum 90 days unless changed from the repository settings page. false }] map[artifact-digest:{SHA-256 digest for the artifact that was just uploaded. Empty if the artifact upload failed. } artifact-id:{A unique identifier for the artifact that was just uploaded. Empty if the artifact upload failed. This ID can be used as input to other APIs to download, delete or get more information about an artifact: https://docs.github.com/en/rest/actions/artifacts } artifact-url:{A download URL for the artifact that was just uploaded. Empty if the artifact upload failed. This download URL only works for requests Authenticated with GitHub. Anonymous downloads will be prompted to first login. If an anonymous download URL is needed than a short time restricted URL can be generated using the download artifact API: https://docs.github.com/en/rest/actions/artifacts#download-an-artifact This URL will be valid for as long as the artifact exists and the workflow run and repository exists. Once an artifact has expired this URL will no longer work. Common uses cases for such a download URL can be adding download links to artifacts in descriptions or comments on pull requests or issues. }] {node20 map[] dist/upload/index.js always() always() [] []} { }} [Build and Release the PDF/build] [DEBUG] Loading revision from git directory [Build and Release the PDF/build] [DEBUG] Found revision: 78baee509c94530f43c883a0cf430a0d47a2fb35 [Build and Release the PDF/build] [DEBUG] HEAD points to '78baee509c94530f43c883a0cf430a0d47a2fb35' [Build and Release the PDF/build] [DEBUG] using github ref: refs/heads/test_ref [Build and Release the PDF/build] [DEBUG] Found revision: 78baee509c94530f43c883a0cf430a0d47a2fb35 [Build and Release the PDF/build] [DEBUG] Loading revision from git directory [Build and Release the PDF/build] [DEBUG] Found revision: 78baee509c94530f43c883a0cf430a0d47a2fb35 [Build and Release the PDF/build] [DEBUG] HEAD points to '78baee509c94530f43c883a0cf430a0d47a2fb35' [Build and Release the PDF/build] [DEBUG] using github ref: refs/heads/test_ref [Build and Release the PDF/build] [DEBUG] Found revision: 78baee509c94530f43c883a0cf430a0d47a2fb35 [Build and Release the PDF/build] [DEBUG] type=remote-action actionDir=/home/test_user/.cache/act/actions-upload-artifact@v4 actionPath= workdir=/home/test_user/repos/test_repo actionCacheDir=/home/test_user/.cache/act actionName=actions-upload-artifact@v4 containerActionDir=/var/run/act/actions/actions-upload-artifact@v4 [Build and Release the PDF/build] [DEBUG] /var/run/act/actions/actions-upload-artifact@v4 [Build and Release the PDF/build] [DEBUG] Removing /home/test_user/.cache/act/actions-upload-artifact@v4/.gitignore before docker cp [Build and Release the PDF/build] 🐳 docker cp src=/home/test_user/.cache/act/actions-upload-artifact@v4/ dst=/var/run/act/actions/actions-upload-artifact@v4/ [Build and Release the PDF/build] [DEBUG] Writing tarball /tmp/act3843760261 from /home/test_user/.cache/act/actions-upload-artifact@v4/ [Build and Release the PDF/build] [DEBUG] Stripping prefix:/home/test_user/.cache/act/actions-upload-artifact@v4/ src:/home/test_user/.cache/act/actions-upload-artifact@v4/ [Build and Release the PDF/build] [DEBUG] Extracting content from '/tmp/act3843760261' to '/var/run/act/actions/actions-upload-artifact@v4/' [Build and Release the PDF/build] [DEBUG] executing remote job container: [/opt/acttoolcache/node/18.20.8/x64/bin/node /var/run/act/actions/actions-upload-artifact@v4/dist/upload/index.js] [Build and Release the PDF/build] 🐳 docker exec cmd=[/opt/acttoolcache/node/18.20.8/x64/bin/node /var/run/act/actions/actions-upload-artifact@v4/dist/upload/index.js] user= workdir= [Build and Release the PDF/build] [DEBUG] Exec command '[/opt/acttoolcache/node/18.20.8/x64/bin/node /var/run/act/actions/actions-upload-artifact@v4/dist/upload/index.js]' [Build and Release the PDF/build] [DEBUG] Working directory '/home/test_user/repos/test_repo' [Build and Release the PDF/build] [DEBUG] 💬 ::debug::followSymbolicLinks 'true' [Build and Release the PDF/build] [DEBUG] 💬 ::debug::implicitDescendants 'true' [Build and Release the PDF/build] [DEBUG] 💬 ::debug::omitBrokenSymbolicLinks 'true' [Build and Release the PDF/build] [DEBUG] 💬 ::debug::excludeHiddenFiles 'true' [Build and Release the PDF/build] [DEBUG] 💬 ::debug::followSymbolicLinks 'true' [Build and Release the PDF/build] [DEBUG] 💬 ::debug::implicitDescendants 'true' [Build and Release the PDF/build] [DEBUG] 💬 ::debug::matchDirectories 'true' [Build and Release the PDF/build] [DEBUG] 💬 ::debug::omitBrokenSymbolicLinks 'true' [Build and Release the PDF/build] [DEBUG] 💬 ::debug::excludeHiddenFiles 'true' [Build and Release the PDF/build] [DEBUG] 💬 ::debug::Search path '/home/test_user/repos/test_repo/test123-test_ref-78baee509c94530f43c883a0cf430a0d47a2fb35.pdf' [Build and Release the PDF/build] [DEBUG] 💬 ::debug::File:/home/test_user/repos/test_repo/test123-test_ref-78baee509c94530f43c883a0cf430a0d47a2fb35.pdf was found using the provided searchPath | With the provided path, there will be 1 file uploaded [Build and Release the PDF/build] [DEBUG] 💬 ::debug::Root artifact directory is /home/test_user/repos/test_repo | Artifact name is valid! | Root directory input is valid! [Build and Release the PDF/build] [DEBUG] 💬 ::debug::Workflow Run Backend ID: 1 [Build and Release the PDF/build] [DEBUG] 💬 ::debug::Workflow Job Run Backend ID: 1 [Build and Release the PDF/build] [DEBUG] 💬 ::debug::[Request] CreateArtifact http://192.168.1.193:34567/twirp/github.actions.results.api.v1.ArtifactService/CreateArtifact [Build and Release the PDF/build] [DEBUG] 💬 ::debug::[Response] - 200 [Build and Release the PDF/build] [DEBUG] 💬 ::debug::Headers: {%0A "content-type": "application/json;charset=utf-8",%0A "date": "Sun, 06 Jul 2025 16:54:02 GMT",%0A "content-length": "266",%0A "connection": "close"%0A} [Build and Release the PDF/build] [DEBUG] 💬 ::debug::Body: {%0A "ok": true,%0A "signedUploadUrl": "http://192.168.1.193:34567/twirp/github.actions.results.api.v1.ArtifactService/UploadArtifact?sig=dSHKoO8mNjjJMQcdc2K5m-Gk93xv7_GgQbI0rQFtHGs=&expires=2025-07-06+23%253A39%253A02.368735315+%252B0545+%252B0545&artifactName=test123-pdf&taskID=1"%0A} [Build and Release the PDF/build] [DEBUG] 💬 ::debug::Creating Artifact archive with compressionLevel: 6 [Build and Release the PDF/build] [DEBUG] 💬 ::debug::Zip write high watermark value 8388608 [Build and Release the PDF/build] [DEBUG] 💬 ::debug::Zip read high watermark value 8388608 [Build and Release the PDF/build] [DEBUG] 💬 ::debug::Uploading artifact zip to blob storage with maxConcurrency: 5, bufferSize: 8388608 | Beginning upload of artifact content to blob storage [Build and Release the PDF/build] [DEBUG] 💬 ::debug::Zip stream for upload has ended. [Build and Release the PDF/build] [DEBUG] 💬 ::debug::Zip stream for upload has finished. ERRO[0029] Error link expired [Build and Release the PDF/build] ❗ ::error:: [Build and Release the PDF/build] ❌ Failure - Main Upload PDF artifact [534.566371ms] [Build and Release the PDF/build] exitcode '1': failure [Build and Release the PDF/build] [DEBUG] Loading revision from git directory [Build and Release the PDF/build] [DEBUG] Found revision: 78baee509c94530f43c883a0cf430a0d47a2fb35 [Build and Release the PDF/build] [DEBUG] HEAD points to '78baee509c94530f43c883a0cf430a0d47a2fb35' [Build and Release the PDF/build] [DEBUG] using github ref: refs/heads/test_ref [Build and Release the PDF/build] [DEBUG] Found revision: 78baee509c94530f43c883a0cf430a0d47a2fb35 [Build and Release the PDF/build] [DEBUG] Loading revision from git directory [Build and Release the PDF/build] [DEBUG] Found revision: 78baee509c94530f43c883a0cf430a0d47a2fb35 [Build and Release the PDF/build] [DEBUG] HEAD points to '78baee509c94530f43c883a0cf430a0d47a2fb35' [Build and Release the PDF/build] [DEBUG] using github ref: refs/heads/test_ref [Build and Release the PDF/build] [DEBUG] Found revision: 78baee509c94530f43c883a0cf430a0d47a2fb35 [Build and Release the PDF/build] [DEBUG] Loading revision from git directory [Build and Release the PDF/build] [DEBUG] Found revision: 78baee509c94530f43c883a0cf430a0d47a2fb35 [Build and Release the PDF/build] [DEBUG] HEAD points to '78baee509c94530f43c883a0cf430a0d47a2fb35' [Build and Release the PDF/build] [DEBUG] using github ref: refs/heads/test_ref [Build and Release the PDF/build] [DEBUG] Found revision: 78baee509c94530f43c883a0cf430a0d47a2fb35 [Build and Release the PDF/build] [DEBUG] expression 'test123-${{ github.ref_name }}-${{ env.GITHUB_SHA_SHORT }}.pdf' rewritten to 'format('test123-{0}-{1}.pdf', github.ref_name, env.GITHUB_SHA_SHORT)' [Build and Release the PDF/build] [DEBUG] evaluating expression 'format('test123-{0}-{1}.pdf', github.ref_name, env.GITHUB_SHA_SHORT)' [Build and Release the PDF/build] [DEBUG] expression 'format('test123-{0}-{1}.pdf', github.ref_name, env.GITHUB_SHA_SHORT)' evaluated to '%!t(string=test123-test_ref-.pdf)' [Build and Release the PDF/build] [DEBUG] setupEnv => map[ACT:true ACTIONS_CACHE_URL:http://192.168.1.193:32891/ ACTIONS_RESULTS_URL:http://192.168.1.193:34567/ ACTIONS_RUNTIME_TOKEN:eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3NTE5MDcyNDIsIm5iZiI6MTc1MTgyMDg0Miwic2NwIjoiQWN0aW9ucy5SZXN1bHRzOjE6MSIsIlRhc2tJRCI6MSwiUnVuSUQiOjEsIkpvYklEIjoxLCJhYyI6Ilt7XCJTY29wZVwiOlwiXCIsXCJQZXJtaXNzaW9uXCI6Mn1dIn0.kCfo7K30KJXVIC7y8L7fg4DbaOFKV2Y-9dAjwfHLmCA ACTIONS_RUNTIME_URL:http://192.168.1.193:34567/ CI:true GITHUB_ACTION:5 GITHUB_ACTIONS:true GITHUB_ACTION_PATH: GITHUB_ACTION_REF:v2 GITHUB_ACTION_REPOSITORY:softprops/action-gh-release GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:build GITHUB_REF:refs/heads/test_ref GITHUB_REF_NAME:test_ref GITHUB_REF_TYPE:branch GITHUB_REPOSITORY:ankitpaudel20/test_repo GITHUB_REPOSITORY_OWNER:ankitpaudel20 GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ATTEMPT:1 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:78baee509c94530f43c883a0cf430a0d47a2fb35 GITHUB_WORKFLOW:Build and Release the PDF GITHUB_WORKSPACE:/home/test_user/repos/test_repo INPUT_FILES:test123-test_ref-.pdf ImageOS:ubuntu20 RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID:] [Build and Release the PDF/build] [DEBUG] Loading revision from git directory [Build and Release the PDF/build] [DEBUG] Found revision: 78baee509c94530f43c883a0cf430a0d47a2fb35 [Build and Release the PDF/build] [DEBUG] HEAD points to '78baee509c94530f43c883a0cf430a0d47a2fb35' [Build and Release the PDF/build] [DEBUG] using github ref: refs/heads/test_ref [Build and Release the PDF/build] [DEBUG] Found revision: 78baee509c94530f43c883a0cf430a0d47a2fb35 [Build and Release the PDF/build] [DEBUG] Loading revision from git directory [Build and Release the PDF/build] [DEBUG] Found revision: 78baee509c94530f43c883a0cf430a0d47a2fb35 [Build and Release the PDF/build] [DEBUG] HEAD points to '78baee509c94530f43c883a0cf430a0d47a2fb35' [Build and Release the PDF/build] [DEBUG] using github ref: refs/heads/test_ref [Build and Release the PDF/build] [DEBUG] Found revision: 78baee509c94530f43c883a0cf430a0d47a2fb35 [Build and Release the PDF/build] [DEBUG] evaluating expression 'startsWith(github.ref, 'refs/tags/')' [Build and Release the PDF/build] [DEBUG] expression 'startsWith(github.ref, 'refs/tags/')' evaluated to 'false' [Build and Release the PDF/build] [DEBUG] Skipping step 'Release' due to 'startsWith(github.ref, 'refs/tags/')' [Build and Release the PDF/build] [DEBUG] skipping post step for 'Release'; main step was skipped [Build and Release the PDF/build] [DEBUG] skipping post step for 'Checkout': no action model available [Build and Release the PDF/build] ⭐ Run Complete job [Build and Release the PDF/build] [DEBUG] Loading revision from git directory [Build and Release the PDF/build] [DEBUG] Found revision: 78baee509c94530f43c883a0cf430a0d47a2fb35 [Build and Release the PDF/build] [DEBUG] HEAD points to '78baee509c94530f43c883a0cf430a0d47a2fb35' [Build and Release the PDF/build] [DEBUG] using github ref: refs/heads/test_ref [Build and Release the PDF/build] [DEBUG] Found revision: 78baee509c94530f43c883a0cf430a0d47a2fb35 [Build and Release the PDF/build] ✅ Success - Complete job [Build and Release the PDF/build] 🏁 Job failed Error: Job 'build' failed ``` ### Additional information I have truncated the log and only attached log after the stage that failed due to size limitation.
Author
Owner

@johngeorgewright commented on GitHub (Sep 10, 2025):

For me the server was working, but the default artifact-server-addr was incorrect. Instead I had to use the address I found in my ifconfig. I used the IPv4 address found under en0.

# macos
ipconfig getifaddr en0

# linux & macos
ifconfig en0 | grep broadcast | awk '{print $2}'
<!-- gh-comment-id:3275525531 --> @johngeorgewright commented on GitHub (Sep 10, 2025): For me the server _was_ working, but the default `artifact-server-addr` was incorrect. Instead I had to use the address I found in my `ifconfig`. I used the IPv4 address found under `en0`. ``` # macos ipconfig getifaddr en0 # linux & macos ifconfig en0 | grep broadcast | awk '{print $2}' ```
Author
Owner
<!-- gh-comment-id:3298992093 --> @cameronraysmith commented on GitHub (Sep 16, 2025): https://github.com/nektos/act/blob/f5a0ddecd7f3c929390b804c5b285ca351c65429/cmd/root.go#L118 https://github.com/nektos/act/blob/f5a0ddecd7f3c929390b804c5b285ca351c65429/pkg/common/outbound_ip.go#L9-L75 https://github.com/nektos/act/blob/f5a0ddecd7f3c929390b804c5b285ca351c65429/pkg/artifactcache/handler.go#L79-L85
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#1272
No description provided.