Giter Club home page Giter Club logo

Comments (10)

zaknafeyn avatar zaknafeyn commented on June 5, 2024 4

gh extension install actions/gh-actions-cache --pin v1.01

The version is 1.0.1 (not 1.01)
It works for me if I install extension like this:
gh extension install actions/gh-actions-cache --pin v1.0.1

from gh-actions-cache.

t-dedah avatar t-dedah commented on June 5, 2024 1

Hi @shabino are you still facing this issue with ubuntu-latest?

from gh-actions-cache.

cefn avatar cefn commented on June 5, 2024

I am experiencing the same issue I think. Command as below. Is there a workaround? Neither of these are available to install via homebrew. I would be happy to run an older version if I can work out how to get it via the magic extension management mechanism. My development environment is based on Debian Buster so I can't containerise my way out of it.

$ gh actions-cache list
/home/cefn/.local/share/gh/extensions/gh-actions-cache/gh-actions-cache: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /home/cefn/.local/share/gh/extensions/gh-actions-cache/gh-actions-cache)
/home/cefn/.local/share/gh/extensions/gh-actions-cache/gh-actions-cache: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /home/cefn/.local/share/gh/extensions/gh-actions-cache/gh-actions-cache)

from gh-actions-cache.

shabino avatar shabino commented on June 5, 2024

@cefn gh extension install actions/gh-actions-cache --pin v1.0.1 will let you use the older version. I think you have to remove the currently installed version first.

from gh-actions-cache.

t-dedah avatar t-dedah commented on June 5, 2024

Hi @shabino @cefn We are investigating this and will be back with more details soon.

from gh-actions-cache.

t-dedah avatar t-dedah commented on June 5, 2024

Hi @shabino your theory is correct. The cause for the issue is major changes from ubuntu-20 to ubuntu-22. ubuntu-latest should be now pointing to 22, can you confirm that for your runners?

from gh-actions-cache.

cefn avatar cefn commented on June 5, 2024

Unfortunately attempting to install the prior version is non-functional with the suggested command, or a commit-based equivalent...

$ gh extension install actions/gh-actions-cache --pin v1.01
X Could not find a release of actions/gh-actions-cache for v1.01
gh extension install actions/gh-actions-cache --pin 235994ccc5ee58fffe93fd6543733fb792d67492
X Could not find a release of actions/gh-actions-cache for 235994ccc5ee58fffe93fd6543733fb792d67492

As an alternative I completed the following which resolved the issue.

brew install gh
git clone [email protected]:actions/gh-actions-cache.git
cd gh-actions-cache/
git checkout v1.0.1
brew install go
go build
gh extension install .

from gh-actions-cache.

shabino avatar shabino commented on June 5, 2024

@t-dedah our ubuntu-latest runners still are on 20.04

from gh-actions-cache.

shabino avatar shabino commented on June 5, 2024

@t-dedah Our ubuntu-latest is now 22.04.1, so this isn't an issue for us anymore. However, others stuck on older Linux distros will still have to pin to version 1.0.1.

from gh-actions-cache.

t-dedah avatar t-dedah commented on June 5, 2024

That's great @shabino. Yes, people with their self-hosted runners with older ubuntu versions will be stuck with v1.0.1. We will look if we can support older OS versions.

from gh-actions-cache.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.