We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 23486b9 commit eb48297Copy full SHA for eb48297
.github/workflows/build-eif.yml
@@ -96,11 +96,17 @@ jobs:
96
PCR0=$(grep -oP '"PCR0":\s*"\K[a-f0-9]+' build.log | head -1)
97
echo "PCR0_FROM_BUILD=$PCR0" >> $GITHUB_ENV
98
99
- # Find EIF in store
100
- EIF=$(find /nix/store -maxdepth 1 -name '*batcher-x86_64' -type f 2>/dev/null | head -1)
101
- [ -n "$EIF" ] && cp "$EIF" ./enclave.eif
+ EIF=$(ls -d /nix/store/*batcher-x86_64 2>/dev/null | head -1)
+ echo "Found: $EIF"
+ ls -la "$EIF"
102
103
- ls -la ./enclave.eif
+ if [ -f "$EIF" ]; then
104
+ cp "$EIF" ./enclave.eif
105
+ elif [ -d "$EIF" ]; then
106
+ cp "$EIF"/* ./enclave.eif 2>/dev/null || cp -r "$EIF" ./enclave-dir
107
+ fi
108
+
109
+ ls -la ./enclave*
110
111
- name: Compute Enclave Hash
112
run: |
0 commit comments