diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 59591ec1d..eb4cd5214 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -755,7 +755,7 @@ jobs: - name: Check Naga snapshots # git diff doesn't check untracked files, we need to stage those then compare with HEAD. - run: git add . && git diff --exit-code HEAD naga/tests/out + run: git add -- naga/tests/out && git diff --exit-code HEAD -- naga/tests/out - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 name: Upload comparison images