Unverified Commit 1456ff76 authored by Philip Taron's avatar Philip Taron Committed by GitHub
Browse files

workflows/eval: fix eval report with formatting changes (#455235)

parents 65f91abe e43a84b6
Loading
Loading
Loading
Loading
+5 −6
Original line number Diff line number Diff line
@@ -279,12 +279,11 @@ jobs:
                        const diff = JSON.parse(
                          readFileSync(path.join(artifact, system, 'diff.json'), 'utf-8'),
                        )
                        const attrs = [].concat(
                          diff.added,
                          diff.removed,
                          diff.changed,
                          diff.rebuilds
                        )
                        const attrs = []
                          .concat(diff.added, diff.removed, diff.changed, diff.rebuilds)
                          // There are some special attributes, which are ignored for rebuilds.
                          // These only have a single path component, because they lack the `.<system>` suffix.
                          .filter((attr) => attr.split('.').length > 1)
                        if (attrs.length > 0) {
                          core.setFailed(
                            `${version} on ${system} has changed outpaths!\nNote: Please make sure to update ci/pinned.json separately from changes to other packages.`,