Skip to content

Commit

Permalink
Postaction
Browse files Browse the repository at this point in the history
  • Loading branch information
kashamalasha committed Aug 11, 2023
1 parent 40bbfbe commit 80a8644
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,13 @@ jobs:
id: jq_filter
run: |
BLOCKMAP_IDS=$(echo '${{ steps.get_latest_release.outputs.data }}' | jq \
'.repository.releases.nodes[].releaseAssets.nodes[] | select(.name | endswith(".blockmap")).id')
echo "::set-output name=blockmap_ids::${BLOCKMAP_IDS}"
'reduce .repository.releases.nodes[].releaseAssets.nodes[] as $asset ([]; \
if ($asset.name | endswith(".blockmap")) \
then . + [$asset.id] \
else . \
end \
)')
echo "{blockmap_ids}={BLOCKMAP_IDS}" >> GITHUB_OUTPUT
- name: Get the result
run: |
Expand Down

0 comments on commit 80a8644

Please sign in to comment.