Skip to content

Commit a8aee5c

Browse files
committed
Fix type snapshot workflow
The diff order was the wrong way around. This caused additions to show as deletions and vice versa in the PR comment.
1 parent 5184828 commit a8aee5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/type-snapshot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
bazel build --disk_cache=~/bazel-disk-cache --strip=always --remote_cache=https://bazel:${{ secrets.BAZEL_CACHE_KEY }}@bazel-remote-cache.devprod.cloudflare.dev --config=ci --config=release_linux //types:types
5050
- name: Check snapshot diff
5151
run: |
52-
diff -r bazel-bin/types/definitions/ types/generated-snapshot > types.diff
52+
diff -r types/generated-snapshot bazel-bin/types/definitions/ > types.diff
5353
- name: 'Put diff on the environment'
5454
if: failure()
5555
id: types_diff

0 commit comments

Comments
 (0)