Skip to content

Commit 52fd844

Browse files
committed
ci: add semicolons to make shell commands work with >- YAML notation
Correction for df22aa2 commit. Part of #13
1 parent df22aa2 commit 52fd844

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

.github/workflows/generate-go-app.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ jobs:
2525
working-directory: examples/go
2626
- name: Check whether all modified files have been committed
2727
run: >-
28-
MODIFIED_FILES="$(git status --short)"
28+
MODIFIED_FILES="$(git status --short)";
2929
if [ -n "$MODIFIED_FILES" ]; then
30-
echo >&2 "ERROR: the following generated files have not been committed:"
31-
echo >&2 "$MODIFIED_FILES"
32-
exit 1
30+
echo >&2 "ERROR: the following generated files have not been committed:";
31+
echo >&2 "$MODIFIED_FILES";
32+
exit 1;
3333
fi

.github/workflows/generate-js-app.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ jobs:
2525
working-directory: examples/js
2626
- name: Check whether all modified files have been committed
2727
run: >-
28-
MODIFIED_FILES="$(git status --short)"
28+
MODIFIED_FILES="$(git status --short)";
2929
if [ -n "$MODIFIED_FILES" ]; then
30-
echo >&2 "ERROR: the following generated files have not been committed:"
31-
echo >&2 "$MODIFIED_FILES"
32-
exit 1
30+
echo >&2 "ERROR: the following generated files have not been committed:";
31+
echo >&2 "$MODIFIED_FILES";
32+
exit 1;
3333
fi

.github/workflows/generate-python-app.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ jobs:
2525
working-directory: examples/python
2626
- name: Check whether all modified files have been committed
2727
run: >-
28-
MODIFIED_FILES="$(git status --short)"
28+
MODIFIED_FILES="$(git status --short)";
2929
if [ -n "$MODIFIED_FILES" ]; then
30-
echo >&2 "ERROR: the following generated files have not been committed:"
31-
echo >&2 "$MODIFIED_FILES"
32-
exit 1
30+
echo >&2 "ERROR: the following generated files have not been committed:";
31+
echo >&2 "$MODIFIED_FILES";
32+
exit 1;
3333
fi

0 commit comments

Comments
 (0)