jaxxstorm / action-install-gh-release

GitHub Action to install the Github Release binaries
Apache License 2.0
75 stars 32 forks source link

bad handling of mistyped repo name #86

Open allixsenos opened 3 months ago

allixsenos commented 3 months ago

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 }}

expect:

Error: Expected organisation/reponame format for repo parameter, got: {input}

or something to that effect

instead:

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)
Error: The "path" argument must be of type string. Received undefined