Skip to content

Comments

feat: support other types of release metadata#18

Merged
isometry merged 3 commits intoisometry:mainfrom
varlucian:fix/asset-name
Jun 23, 2025
Merged

feat: support other types of release metadata#18
isometry merged 3 commits intoisometry:mainfrom
varlucian:fix/asset-name

Conversation

@varlucian
Copy link
Contributor

@varlucian varlucian commented Jun 23, 2025

This should fix the test workflow:

      - uses: ./
        with:
          name: cli/cli
          tool: gh

where gh macOS binaries don't have darwin in the name, but gh_2.74.2_macOS_amd64.zip.

And the crane download:

        uses: isometry/setup-generic-tool@1a641516469c4d463e5ec9eaed53b54e5a7864fc # v1.2.0
        with:
          name: google/go-containerregistry
          version: v0.20.6
          tool: crane
          asset: go-containerregistry

by adding the last name, since the metadata doesn't contain the tool name (crane in this case), but another asset name go-containerregistry.

Also, enabled test to run on Pull Request and now they are successful
https://github.com/varlucian/setup-generic-tool/actions/runs/15819968722/job/44586767080

@isometry isometry merged commit 9280b7b into isometry:main Jun 23, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants