From d70bba740fb08f4967a906b506661607bb911fb1 Mon Sep 17 00:00:00 2001 From: kashamalasha Date: Fri, 11 Aug 2023 13:10:43 +0200 Subject: [PATCH] Postaction --- .github/workflows/ci.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 61b4b83..dab8f20 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -35,5 +35,15 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Get the request data - run: "echo 'latest release: ${{ steps.get_latest_release.outputs.data }}'" + run: | + "echo 'latest release: ${{ steps.get_latest_release.outputs.data }}'" + - name: Install the jq util + run: | + apt-get install -y jq + - name: Get all blockmaps ids + run: | + "echo ${{ steps.get_latest_release.outputs.data }} \ + | jq '.repository.releases.nodes[].releaseAssets.nodes[] \ + | select(.name | endswith(".blockmap"))'" +