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

0 comments on commit 6a0be20

Please sign in to comment.