Skip to content

Commit

Permalink
patch
Browse files Browse the repository at this point in the history
  • Loading branch information
lbr38 committed Dec 11, 2024
1 parent 6e88ca4 commit 100898c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/database-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,11 @@ jobs:
uses: actions/checkout@v4

- name: Get all releases from lbr38/repomanager
run: RELEASES=$(curl -s https://api.github.com/repos/lbr38/repomanager/releases?per_page=10000 | jq -r '.[].name')
run: RELEASES=$(curl -s https://api.github.com/repos/lbr38/repomanager/releases?per_page=10000 | jq -r '.[].name') >> $GITHUB_ENV

- name: Format releases to a key-value array
run: |
RELEASES=${{ env.RELEASES }}
RELEASES=$(echo $RELEASES | jq -R 'split("\n") | map(select(. != "")) | map({(.): .}) | add')
echo $RELEASES
Expand Down

0 comments on commit 100898c

Please sign in to comment.