mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-14 15:56:13 +03:00
Use git diff --exit-code in conditional
This commit is contained in:
2
.github/workflows/update-colorschemes.yml
vendored
2
.github/workflows/update-colorschemes.yml
vendored
@ -33,7 +33,7 @@ jobs:
|
||||
- name: Update zig cache hash
|
||||
run: |
|
||||
# Only proceed if build.zig.zon has changed
|
||||
if [ "$(git status build.zig.zon --porcelain)" ]; then
|
||||
if ! git diff --exit-code build.zig.zon; then
|
||||
nix develop -c ./nix/build-support/check-zig-cache-hash.sh --update
|
||||
fi
|
||||
|
||||
|
Reference in New Issue
Block a user