GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — buildx: inconsistency between tc.find and tc.cacheFile calls · Issue #75 · docker/actions-toolkit

buildx: inconsistency between tc.find and tc.cacheFile calls #75

New issue
Copy link
New issue
Copy link
Closed
#77
Closed
buildx: inconsistency between tc.find and tc.cacheFile calls#75
#77
Copy link

Description

@Meroje
Meroje
opened on Mar 22, 2023
Issue body actions

Hi, we found that when using the setup-buildx action the toolcache would never be used and buildx is always downloaded.

It looks like the find call is done with an explicit arch param that is actually built as {platform}-{arch}

actions-toolkit/src/buildx/install.ts

Line 51 in 417136d

toolPath = tc.find('buildx', fversion, this.platform());

However later when copying to the toolcache there is no override done of the arch param which results in the @actions sdk defaulting to os.arch https://github.com/actions/toolkit/blob/457303960f03375db6f033e214b9f90d79c3fe5c/packages/tool-cache/src/tool-cache.ts#L465

Activity

  1. crazy-max
    closed this as completedin #77on Mar 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.