mirror of
https://github.com/logos-storage/logos-storage-proofs-circuits.git
synced 2026-01-06 23:43:05 +00:00
Make flat tar.gz (#12)
This commit is contained in:
parent
49666eedb8
commit
8e41eacc6a
4
.github/workflows/generate.yml
vendored
4
.github/workflows/generate.yml
vendored
@ -137,7 +137,9 @@ jobs:
|
|||||||
AWS_DEFAULT_REGION: ${{ secrets.AWS_DEFAULT_REGION }}
|
AWS_DEFAULT_REGION: ${{ secrets.AWS_DEFAULT_REGION }}
|
||||||
run: |
|
run: |
|
||||||
# Archive
|
# 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
|
# Variables
|
||||||
hash=($(shasum -a 256 ${{ env.archive_file }}))
|
hash=($(shasum -a 256 ${{ env.archive_file }}))
|
||||||
[[ -z "${{ env.s3_bucket_path}}" ]] && storage_file="${hash}" || storage_file="${{ env.s3_bucket_path}}/${hash}"
|
[[ -z "${{ env.s3_bucket_path}}" ]] && storage_file="${hash}" || storage_file="${{ env.s3_bucket_path}}/${hash}"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user