Skip to content

Commit

Permalink
debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
dhuangnm authored and dhuangnm committed Sep 19, 2024
1 parent 34c6d43 commit b16b39a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion actions/get-pypi-latest-versions/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ runs:
run: |-
URL="https://pypi.org/project/${{ inputs.package_name }}/#history"
curl --header 'Accept: application/vnd.pypi.simple.v1+json' ${URL} > history.log
all=`cat history.log | grep release__card | sed 's/.*project\///g' | cut -d'/' -f2`
cat history.log
all=`cat history.log | grep 'release__card' | sed 's/.*project\///g' | cut -d'/' -f2`
latest="${{ inputs.num_of_latest }}"
if [[ -z "${{ inputs.num_of_latest }}" ]]; then
latest=1
Expand Down

0 comments on commit b16b39a

Please sign in to comment.