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 f734411 commit ca8712c
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,16 @@ jobs:
- name: Filter requested data
id: jq_filter
run: |
# echo '${{ steps.get_latest_release.outputs.data }}' | jq \
# '.repository.releases.nodes[].releaseAssets.nodes[] | select(.name | endswith(".blockmap")).id'
echo '${{ steps.get_latest_release.outputs.data }}' | jq \
'.repository.releases.nodes[].releaseAssets.nodes[] | select(.name | endswith(".blockmap")).id | jq -s '.''
'reduce .repository.releases.nodes[].releaseAssets.nodes[] as $asset ([];
if ($asset.name | endswith(".blockmap"))
then . + [$asset.id]
else .
end
)'
- name: Get the result
run: |
Expand Down

0 comments on commit ca8712c

Please sign in to comment.