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 71e72c5 commit faf557e
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,13 @@ jobs:
- name: Filter requested data
id: jq_filter
run: |
blockmap_ids=$(
echo '${{ steps.get_latest_release.outputs.data }}' | jq \
-r '.repository.releases.nodes[].releaseAssets.nodes | map(select(.name | endswith(".blockmap")).id)'
)
echo "::set-output name=blockmap_ids::$blockmap_ids"
blockmap_ids=$(echo '${{ steps.get_latest_release.outputs.data }}' | jq \
-r '.repository.releases.nodes[].releaseAssets.nodes |
map(select(.name | endswith(".blockmap")).id) | join(",")')
echo "BLOCKMAP_IDS=$blockmap_ids" >> $GITHUB_ENV
- name: Get the result
run: |
echo '${{ steps.jq_filter.outputs.blockmap_ids }}'
echo "Blockmap IDs: $BLOCKMAP_IDS"

0 comments on commit faf557e

Please sign in to comment.