File tree Expand file tree Collapse file tree 1 file changed +22
-3
lines changed
Expand file tree Collapse file tree 1 file changed +22
-3
lines changed Original file line number Diff line number Diff line change @@ -92,17 +92,36 @@ jobs:
9292 run : |
9393 nix build '.#x86_64-eif' -L || true
9494
95+ echo "=== Finding EIF in nix store ==="
96+ ls -la /nix/store/*batcher* 2>/dev/null || echo "No batcher found"
97+
9598 EIF=$(ls -d /nix/store/*batcher-x86_64 2>/dev/null | head -1)
9699 echo "Found: $EIF"
100+
101+ if [ -z "$EIF" ]; then
102+ echo "ERROR: No EIF found in store"
103+ exit 1
104+ fi
105+
106+ echo "=== EIF details ==="
97107 ls -la "$EIF"
108+ file "$EIF" || true
98109
110+ echo "=== Copying EIF ==="
99111 if [ -f "$EIF" ]; then
100- cp "$EIF" ./enclave.eif
112+ echo "EIF is a file"
113+ cp -v "$EIF" ./enclave.eif
101114 elif [ -d "$EIF" ]; then
102- cp "$EIF"/* ./enclave.eif 2>/dev/null || cp -r "$EIF" ./enclave-dir
115+ echo "EIF is a directory, contents:"
116+ ls -la "$EIF"/
117+ cp -v "$EIF"/* ./enclave.eif 2>/dev/null || cp -rv "$EIF" ./enclave-dir
118+ else
119+ echo "EIF is neither file nor directory, trying direct copy"
120+ cp -Lv "$EIF" ./enclave.eif
103121 fi
104122
105- ls -la ./enclave*
123+ echo "=== Result ==="
124+ ls -la ./enclave* || echo "No enclave files found!"
106125
107126 - name : Get PCR0
108127 run : |
You can’t perform that action at this time.
0 commit comments