Authenticate GitHub asset verification
Rust CI Cargo tests, coverage, or badge generation failed.
Gitea/rust_realease/pipeline/head There was a failure building this commit Details

This commit is contained in:
Dandaedre 2026-11-21 13:53:03 +01:00
parent 1abe422646
commit 5806ff2fbb
1 changed files with 1 additions and 1 deletions

View File

@ -533,7 +533,7 @@ pub fn run(mut args: Cli) -> Result<(), Error> {
}
for (endpoint, api, private, release) in &releases {
let asset_urls = api.asset_urls(release.id)?;
let authenticated = if *private {
let authenticated = if *private || asset_urls.is_some() {
Some(api.download_client())
} else {
None