Skip to content

Commit 3f2800a

Browse files
committed
GitHub Actions YAML syntax for LICENSE/CHANGELOG verification steps
- Add multi-line script syntax (|) to file verification commands - Fixes "Invalid workflow file" error on GitHub Actions - Ensures bash conditionals (||) are properly escaped in YAML
1 parent b7678c6 commit 3f2800a

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,9 @@ jobs:
6767
fi
6868
6969
- name: Verify LICENSE exists
70-
run: test -f LICENSE || (echo "Error: LICENSE file missing" && exit 1)
70+
run: |
71+
test -f LICENSE || (echo "Error: LICENSE file missing" && exit 1)
7172
7273
- name: Verify CHANGELOG exists
73-
run: test -f CHANGELOG.md || (echo "Error: CHANGELOG.md file missing" && exit 1)
74+
run: |
75+
test -f CHANGELOG.md || (echo "Error: CHANGELOG.md file missing" && exit 1)

0 commit comments

Comments
 (0)