mirror of
https://staging.allspice.dev/AllSpice-Demos/Actions-demo.git
synced 2025-04-23 17:03:42 +00:00
Prevent early exit
This commit is contained in:
parent
2ae37cc4c2
commit
68cebca929
@ -50,8 +50,7 @@ jobs:
|
||||
- name: Update BOM
|
||||
run: |
|
||||
git add bom.csv
|
||||
git diff --cached --exit-code -- bom.csv
|
||||
if [ $? -eq 0 ]; then
|
||||
if git diff --cached --exit-code -- bom.csv; then
|
||||
echo "No BOM changes to commit."
|
||||
else
|
||||
echo "BOM has changed. Committing changes."
|
||||
|
Loading…
Reference in New Issue
Block a user