Skip to content

Commit

Permalink
WIP: print list after updating
Browse files Browse the repository at this point in the history
  • Loading branch information
Paliak committed Jun 28, 2024
1 parent 3e82ad4 commit a13ca61
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/updatebuildlist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
#if: github.repository == 'PathOfBuildingCommunity/PathOfBuilding'
runs-on: ubuntu-22.04
steps:
- name: Install xmllint
- name: Install moreutils
run: sudo apt-get install -y moreutils
- name: Checkout HEAD
uses: actions/checkout@v4
Expand All @@ -19,3 +19,5 @@ jobs:
key: 'builds.txt'
- name: Update list
run: cat spec/builds.txt <({ curl "https://pobarchives.com/api/builds?q=latest" & curl "https://pobarchives.com/api/builds?q=trending"; } | jq -r '.builds[].build_info.build_link') | sort -u | tail -n 500 | sponge spec/builds.txt
- name: Print builds list
run: cat spec/builds.txt

0 comments on commit a13ca61

Please sign in to comment.