Initial stabilization #1

Merged
dzu merged 11 commits from stabilize-v1 into master 2026-02-21 04:17:06 +01:00
Showing only changes of commit 686e5671da - Show all commits

fix: _de_compress the archive
All checks were successful
Build and update the action / build-and-upload (push) Successful in 2m40s

Artem Diachenko 2026-02-20 10:05:38 +00:00

View file

@ -2,7 +2,7 @@ use std::{collections::HashMap, path::PathBuf};
use anode_cache_common::{CacheKey, Client, actions_token, key_parser, paths_parser}; use anode_cache_common::{CacheKey, Client, actions_token, key_parser, paths_parser};
use anyhow::{Context, Result}; use anyhow::{Context, Result};
use flate2::{Compression, GzBuilder}; use flate2::read::GzDecoder;
use secrecy::ExposeSecret; use secrecy::ExposeSecret;
use tar::Archive; use tar::Archive;
@ -41,7 +41,7 @@ fn main() -> Result<()> {
}; };
let mut cache = &*cache; let mut cache = &*cache;
let in_uncomp = GzBuilder::new().read(&mut cache, Compression::best()); let in_uncomp = GzDecoder::new(&mut cache);
let mut archive = Archive::new(in_uncomp); let mut archive = Archive::new(in_uncomp);
let mut paths = path let mut paths = path
.into_iter() .into_iter()