exclude paths from zip

This commit is contained in:
benbierens 2024-02-29 11:23:07 +01:00
parent d92db4d6d6
commit c9f56c77c8
No known key found for this signature in database
GPG Key ID: 877D2C2E09A22F3A

View File

@ -136,7 +136,7 @@ jobs:
AWS_DEFAULT_REGION: ${{ secrets.AWS_DEFAULT_REGION }}
run: |
# Zip
zip -q ${{ env.zip_file }} ${{ env.circuit_file }} ${{ env.constraints_file }} ${{ env.wasm_file }}
zip -qj ${{ env.zip_file }} ${{ env.circuit_file }} ${{ env.constraints_file }} ${{ env.wasm_file }}
# Variables
hash=($(shasum -a 256 ${{ env.zip_file }}))
[[ -z "${{ env.s3_bucket_path}}" ]] && storage_file="${hash}" || storage_file="${{ env.s3_bucket_path}}/${hash}"