ReviewOS

also looking at this

craft-native/craft

fix(packaging): stop macOS packages relocating themselves elsewhere

#46
Merged glennmichael123 wants to merge fix/pkg-bundle-relocation into main
4 files +164 -16
.github/workflows/native-lifecycle.ymlmodified+6-3
Changes to .github/workflows/native-lifecycle.yml
@@ -96,8 +96,11 @@ jobs:
9696 uses: actions/upload-artifact@v4
9797 with:
9898 name: native-lifecycle-${{ matrix.name }}
99 path: |
100 artifacts/native-lifecycle/${{ matrix.name }}/report.json
101 artifacts/native-lifecycle/${{ matrix.name }}/work/packages-*/**
99 # Everything, not just report.json and the packages directory. The
100 # macOS relocation bug took a workflow dispatch to diagnose because
101 # the compiled fixtures at work/craft-lifecycle-* were outside the
102 # uploaded subtree, so the artifact alone could not answer what the
103 # runner had actually built.
104 path: artifacts/native-lifecycle/${{ matrix.name }}/**
102105 if-no-files-found: error
103106 retention-days: 90