Skip to content

cache action is missing zstd #257

@rgarrigue

Description

@rgarrigue

Hi there

I've the following .actrc

-P ubuntu-latest=nektos/act-environments-ubuntu:18.04

And running the following workflow

name: Tests

on:
  push:
    tags:
      - "*"

jobs:
  tests:

    runs-on: ubuntu-latest
    strategy:
      matrix:
        python: [3.7]

    steps:
      - uses: actions/checkout@v2

      - name: Cache apt
        uses: actions/cache@master
        with:
          path: /var/cache/apt
          key: ${{ runner.os }}-apt
          restore-keys: |
            ${{ runner.os }}-apt

I've this error

[Tests/tests] ⭐  Run Cache apt
[Tests/tests]   ☁  git clone 'https://github.com/actions/cache' # ref=master
[Tests/tests]   🐳  docker cp src=/home/remy/.cache/act/actions-cache@master dst=/actions/
[Tests/tests]   ❓  ::save-state name=CACHE_KEY,::Linux-apt
[Tests/tests]   💬  ::debug::Resolved Keys:
[Tests/tests]   💬  ::debug::["Linux-apt","Linux-apt"]
[Tests/tests]   💬  ::debug::Checking zstd --version
[Tests/tests]   💬  ::debug::There was an error when attempting to execute the process 'zstd'. This may indicate the process failed to start. Error: spawn zstd ENOENT
[Tests/tests]   💬  ::debug::
[Tests/tests]   💬  ::debug::getCacheEntry - Attempt 1 of 2 failed with error: Cache Service Url not found, unable to restore cache.
[Tests/tests]   💬  ::debug::getCacheEntry - Attempt 2 of 2 failed with error: Cache Service Url not found, unable to restore cache.

I tried adding a step something like "apt install zstd" after enabling universe repo (on my ubuntu 19.10 there's a ztsd package in universe repo), no luck so far.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/runnerRelating to errors in the runnerstale

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions