ankidroid / ankidroid/Anki-Android-Backend

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

未关闭
#569 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Kotlin
星标
91
派生
54
平均合并
1 天 36 分钟
30 天内合并 PR
12

描述

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

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。