Skip to content

Commit

Permalink
ci: Use API endpoints instead
Browse files Browse the repository at this point in the history
  • Loading branch information
siketyan committed Jul 5, 2022
1 parent ef3c528 commit 9a5bb84
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ jobs:

- name: Wait for the crate uploaded
run: |
until curl -fsSL -H "Accept: text/html" "https://crates.io/crates/apdu-core/${{ github.event.release.tag_name }}"
until curl -fsSL -H "https://crates.io/api/v1/crates/apdu-core/${{ github.event.release.tag_name }}"
do
echo "Still waiting..."
sleep 5
Expand All @@ -98,7 +98,7 @@ jobs:

- name: Wait for the crate uploaded
run: |
until curl -fsSL -H "Accept: text/html" "https://crates.io/crates/apdu-derive/${{ github.event.release.tag_name }}"
until curl -fsSL "https://crates.io/api/v1/crates/apdu-derive/${{ github.event.release.tag_name }}"
do
echo "Still waiting..."
sleep 5
Expand Down

0 comments on commit 9a5bb84

Please sign in to comment.