jaxxstorm / action-install-gh-release

GitHub Action to install the Github Release binaries
Apache License 2.0
67 stars 29 forks source link

fails to install aws-cloudformation/rain #87

Closed allixsenos closed 4 weeks ago

allixsenos commented 1 month ago

I realize this is other people's fault probably but I have no idea how to debug this action :D

setup:

      - name: Install Rain
        uses: jaxxstorm/action-install-gh-release@v1.10.0
        with:
          repo: aws-cloudformation/rain
          cache: enable
        env:
          GH_TOKEN: ${{ github.token }}

result:

Run jaxxstorm/action-install-gh-release@v1.10.0
==> System reported platform: linux
==> Using platform: linux
==> System reported arch: x64
==> Using arch: x64
==> Using default file extension matching: .(tar.gz|zip)
==> Binaries will be located at: /opt/hostedtoolcache/aws-cloudformation/rain/latest/linux-x64
searching for rain-v1.12.1_darwin-amd64-nocgo.zip with (linux|x86_64|x64|amd64).*(linux|x86_64|x64|amd64).*.(tar.gz|zip)
searching for rain-v1.12.1_darwin-amd64.zip with (linux|x86_64|x64|amd64).*(linux|x86_64|x64|amd64).*.(tar.gz|zip)
searching for rain-v1.12.1_darwin-arm64-nocgo.zip with (linux|x86_64|x64|amd64).*(linux|x86_64|x64|amd64).*.(tar.gz|zip)
searching for rain-v1.12.1_darwin-arm64.zip with (linux|x86_64|x64|amd64).*(linux|x86_64|x64|amd64).*.(tar.gz|zip)
searching for rain-v1.12.1_linux-amd64-nocgo.zip with (linux|x86_64|x64|amd64).*(linux|x86_64|x64|amd64).*.(tar.gz|zip)
Downloading rain from https://api.github.com/repos/aws-cloudformation/rain/releases/assets/[18](https://github.com/Entrio-tickets/core-infrastructure/actions/runs/10013854176/job/27682346206?pr=29#step:5:19)0232374
/usr/bin/unzip -o -q /home/runner/work/_temp/243a24d0-603e-43e8-9959-0754a7c883b1
Automatically extracted release asset rain-v1.12.1_linux-amd64-nocgo.zip to /opt/hostedtoolcache/aws-cloudformation/rain/latest/linux-x64
Error: No files found in /opt/hostedtoolcache/aws-cloudformation/rain/latest/linux-x64

please advise how to resolve, thanks

jaxxstorm commented 4 weeks ago

Download the file manually, unzip it and determine where the binaries are located in the archive, then use binaries-location to specify the directory.