Skip to content

Commit

Permalink
write to correct path
Browse files Browse the repository at this point in the history
correct path
  • Loading branch information
miampf committed Oct 29, 2024
1 parent 1fc5ac2 commit 4f07487
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/e2e_runtime-reproducibility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@ jobs:
run: |
nix build .#${{ matrix.build-target }} --option substituters https://cache.nixos.org --builders ""
reference_checksum="$(jq -r '.manifests[0].digest' result/index.json)"
echo "$reference_checksum" > reference_checksum.txt
echo "$reference_checksum" > ${{ matrix.build-target }}-${{ matrix.os }}-reference_checksum.txt
nix build .#${{ matrix.build-target }} --rebuild --option substituters https://cache.nixos.org --builders "" -o rebuild
rebuild_checksum="$(jq -r '.manifests[0].digest' rebuild/index.json)"
echo "$rebuild_checksum" > rebuild_checksum.txt
echo "$rebuild_checksum" > ${{ matrix.build-target }}-${{ matrix.os }}-rebuild_checksum.txt
- name: Upload Build Artifacts
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
with:
Expand Down Expand Up @@ -97,8 +97,8 @@ jobs:
for system in os_list:
reference_checksum_filename = f"{target}-{system}-reference_checksum.txt"
rebuild_checksum_filename = f"{target}-{system}-rebuild_checksum.txt"
with open(os.path.join(download_dir, reference_checksum_filename)) as f_reference:
with open(os.path.join(download_dir, rebuild_checksum_filename)) as f_rebuild:
with open(os.path.join(download_dir, f"{target}-{system}-checksum-reference", reference_checksum_filename)) as f_reference:
with open(os.path.join(download_dir, f"{target}-{system}-checksum-rebuild", rebuild_checksum_filename)) as f_rebuild:
reference_checksum = f_reference.readline()
if not reference_checksum in seen:
seen[reference_checksum] = []
Expand Down

0 comments on commit 4f07487

Please sign in to comment.