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
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:
parent
1abe422646
commit
5806ff2fbb
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue