From 401257c0e670c2e3980c74a71fcf2537bca1c7cf Mon Sep 17 00:00:00 2001 From: Slava <20563034+veaceslavdoina@users.noreply.github.com> Date: Thu, 19 Sep 2024 15:23:35 +0300 Subject: [PATCH] Make flat tar.gz --- .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}"