diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7c06842..c57d940 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -33,6 +33,7 @@ jobs: - name: Add plugin ${{ matrix.tool.plugin }} run: | asdf plugin add ${{ matrix.tool.plugin }} https://github.com/cpp-linter/asdf-clang-tools.git + asdf list all ${{ matrix.tool.plugin }} - name: Install and test ${{ matrix.tool.plugin }} ${{ matrix.version }} on ${{ matrix.os }} run: | diff --git a/lib/utils.bash b/lib/utils.bash index cc716cb..ae53994 100644 --- a/lib/utils.bash +++ b/lib/utils.bash @@ -48,7 +48,7 @@ sort_versions() { fetch_all_assets() { curl -s -H "Accept: application/vnd.github.v3+json" \ https://api.github.com/repos/${GH_REPO}/releases | - jq -r '.[0].assets[] | "\(.name) \(.browser_download_url)"' + jq -r '.[] | .assets[] | "\(.name) \(.browser_download_url)"' } validate_platform() {