From 9c1edc29363d960534844da278a3a3bd561b13d2 Mon Sep 17 00:00:00 2001 From: ctrlc03 <93448202+ctrlc03@users.noreply.github.com> Date: Thu, 2 May 2024 22:01:07 +0100 Subject: [PATCH] chore(download-script): add download script for 1.3 test artifacts --- .github/scripts/download-zkeys-1-3.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/scripts/download-zkeys-1-3.sh diff --git a/.github/scripts/download-zkeys-1-3.sh b/.github/scripts/download-zkeys-1-3.sh new file mode 100644 index 0000000000..f1aa10c7dd --- /dev/null +++ b/.github/scripts/download-zkeys-1-3.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +set -e + +cd "$(dirname "$0")" +cd .. +mkdir -p ../cli/zkeys + +URL=https://maci-develop-fra.s3.eu-central-1.amazonaws.com/v1.3.0/maci_artifacts_10-2-1-2_test.tar.gz +DIR_NAME="maci_keys.tar.gz" +OUT_DIR=../cli/ + +echo "downloading $URL" +curl $URL -o "$OUT_DIR/$DIR_NAME" +tar -xvf "$OUT_DIR/$DIR_NAME" -C "$OUT_DIR"