Skip to content

Commit

Permalink
ci: fix upload download from different clients
Browse files Browse the repository at this point in the history
  • Loading branch information
grumbach committed Oct 25, 2024
1 parent 8616c7a commit d8cad7c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/memcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
shell: bash

- name: File upload
run: ./target/release/autonomi --log-output-dest=data-dir file upload "./the-test-data.zip" > ./upload_output 2>&1
run: ./target/release/autonomi --log-output-dest=data-dir file upload --public "./the-test-data.zip" > ./upload_output 2>&1
env:
SN_LOG: "v"
timeout-minutes: 5
Expand Down
2 changes: 1 addition & 1 deletion autonomi-cli/src/actions/download.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ pub async fn download(addr: &str, dest_path: &str, client: &mut Client) -> Resul
match (public_address, private_address) {
(Some(public_address), _) => download_public(addr, public_address, dest_path, client).await,
(_, Some(private_address)) => download_private(addr, private_address, dest_path, client).await,
_ => Err(eyre!("Failed to parse data address"))
_ => Err(eyre!("Failed to parse data address {addr}"))
.with_suggestion(|| "Public addresses look like this: 0037cfa13eae4393841cbc00c3a33cade0f98b8c1f20826e5c51f8269e7b09d7")
.with_suggestion(|| "Private addresses look like this: 1358645341480028172")
.with_suggestion(|| "Try the `file list` command to get addresses you have access to"),
Expand Down

0 comments on commit d8cad7c

Please sign in to comment.