bwoodsend/setup-winlibs-action

old tags not being found

Closed this issue · 3 comments

Hi there,

We have been using the gcc tag 10.3.1-snapshot20211112-9.0.0-ucrt-r1 in our C++ github actions for windows. But our recent github action has failed to install this gcc tag. The error is below. It looks like the github action searches in the latest 30 tags? is there away to extend the tag search for all possible tags?

ValueError: The tag '10.3.1-snapshot20211112-9.0.0-ucrt-r1' does not exist. Possible tags are:
  12.0.1-snapshot20220123-9.0.0-msvcrt-r1
  12.0.0-snapshot20211205-9.0.0-msvcrt-r1
  11.2.1-snapshot20220219-9.0.0-ucrt-r1
  11.2.1-snapshot20211211-9.0.0-ucrt-r1
  11.2.1-snapshot20211204-9.0.0-msvcrt-r1
  11.2.1-snapshot20211106-9.0.0-ucrt-r1
  11.2.1-snapshot20211030-9.0.0-ucrt-r1
  11.2.1-snapshot20210918-9.0.0-ucrt-r1
  11.2.1-snapshot20210814-9.0.0-r1
  11.2.0-9.0.0-ucrt-r5
  11.2.0-9.0.0-ucrt-r4
  11.2.0-9.0.0-ucrt-r3
  11.2.0-9.0.0-ucrt-r1
  11.2.0-9.0.0-msvcrt-r6
  11.2.0-9.0.0-msvcrt-r5
  11.2.0-9.0.0-msvcrt-r4c
  11.2.0-14.0.0-9.0.0-ucrt-r7
  11.2.0-14.0.0-9.0.0-msvcrt-r7
  11.2.0-13.0.0-9.0.0-ucrt-r2
  11.2.0-13.0.0-9.0.0-msvcrt-r3
  11.2.0-12.0.1-9.0.0-r1
  11.1.1-snapshot20210710-r1
  11.1.1-snapshot20210[60](https://github.com/NIWAFisheriesModelling/CASAL2/runs/5729307220?check_suite_focus=true#step:5:60)5-9.0.0-r1
  11.1.0-8.0.0-r2
  11.1.0-8.0.0-r1
  11.1.0-12.0.0-9.0.0-r3
  11.1.0-12.0.0-9.0.0-r2
  11.1.0-12.0.0-9.0.0-r1
  11.1.0-12.0.0-8.0.2-r1
  11.0.0-snapshot20210404-r1

Oh, hello. I didn't think anyone uses this except me 🙃.

It looks like GitHub's releases API has changed to start using paginated lists so that it only details releases in pages of 30 by default and I need an extra for loop to get it to query all pages.

Should be fixed it v1.3?

I can confirm our workflow is back to normal. Much appreciated