ankidroid / ankidroid/Anki-Android-Backend

[CI] Add retry to 'Read Configure NDK version'

Offen
#569 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Kotlin
Sterne
91
Forks
54
Ø Merge
1 T. 36 Min.
Gemergte PRs (30 T.)
12

Beschreibung

The following script needs a retry on the `cargo install` line:

https://github.com/ankidroid/Anki-Android-Backend/blob/0b27bed5dba2fe796f9964d0470868e8ec18f6ae/.github/workflows/build-quick.yml#L111-L116

Causes:

> ```
> info: syncing channel updates for '1.88.0-x86_64-pc-windows-msvc'
> error: failed to download file error=Reqwest(reqwest::Error { kind: Request, url: "https://static.rust-lang.org/dist/channel-rust-1.88.0.toml.sha256", source: hyper_util::client::legacy::Error(Connect, Custom { kind: Other, error: Os { code: 10054, kind: ConnectionReset, message: "An existing connection was forcibly closed by the remote host." } }) })
> error: could not download file from 'https://static.rust-lang.org/dist/channel-rust-1.88.0.toml.sha256' to 'C:\Users\runneradmin\.rustup\tmp\tjgt4vqc1h5a_e99_file': error downloading file: error sending request for url (https://static.rust-lang.org/dist/channel-rust-1.88.0.toml.sha256): client error (Connect): An existing connection was forcibly closed by the remote host. (os error 10054)
> ```
>
> https://github.com/ankidroid/Anki-Android-Backend/actions/runs/17214363705/job/48834143922

https://github.com/ankidroid/Anki-Android-Backend/pull/564#issuecomment-3221787509

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.