From 8e41eacc6afa7d9f4d90b40e43ca40c2db013ef1 Mon Sep 17 00:00:00 2001 From: Slava <20563034+veaceslavdoina@users.noreply.github.com> Date: Thu, 19 Sep 2024 15:31:43 +0300 Subject: [PATCH] Make flat tar.gz (#12) --- .github/workflows/generate.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/generate.yml b/.github/workflows/generate.yml index 58915cc..5822c8a 100644 --- a/.github/workflows/generate.yml +++ b/.github/workflows/generate.yml @@ -137,7 +137,9 @@ jobs: AWS_DEFAULT_REGION: ${{ secrets.AWS_DEFAULT_REGION }} run: | # Archive - tar czvf ${{ env.archive_file }} ${{ env.circuit_file }} ${{ env.constraints_file }} ${{ env.wasm_file }} ${{ env.verification_key_file }} + mkdir archive + mv ${{ env.circuit_file }} ${{ env.constraints_file }} ${{ env.wasm_file }} ${{ env.verification_key_file }} archive + tar czvf ${{ env.archive_file }} -C archive . # Variables hash=($(shasum -a 256 ${{ env.archive_file }})) [[ -z "${{ env.s3_bucket_path}}" ]] && storage_file="${hash}" || storage_file="${{ env.s3_bucket_path}}/${hash}"