Commit 1f3413dc authored by inphi's avatar inphi

fix ci

parent d99c99c4
......@@ -436,8 +436,8 @@ jobs:
name: abi snapshot
command: |
pnpm abi-snapshot
if [ $(git diff --exit-code snapshots) ]; then
[ -z git ls-files --others --exclude-standard ] || echo "export ABI_SNAPSHOT_STATUS=1" >> "$BASH_ENV"
if [ "$(git diff --exit-code snapshots)" ]; then
[ -z "$(git ls-files --others --exclude-standard snapshots)" ] || echo "export ABI_SNAPSHOT_STATUS=1" >> "$BASH_ENV"
else
echo "export ABI_SNAPSHOT_STATUS=1" >> "$BASH_ENV"
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment