From 042b78be01a16537e09139585b78d9430a3131a8 Mon Sep 17 00:00:00 2001 From: shenxianpeng Date: Thu, 19 Jun 2025 23:48:34 +0200 Subject: [PATCH 1/2] test: list all plugins --- .github/workflows/build.yml | 1 + 1 file changed, 1 insertion(+) 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: | From 813b5c393900bcbed750d61334dc8775a9a0d336 Mon Sep 17 00:00:00 2001 From: shenxianpeng Date: Thu, 19 Jun 2025 23:58:22 +0200 Subject: [PATCH 2/2] update fetch_all_assets --- lib/utils.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() {