We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c47e11a commit 3988518Copy full SHA for 3988518
.github/workflows/github-pipelines.yml
@@ -24,12 +24,12 @@ jobs:
24
npm test # Replace with the appropriate test command for your app
25
26
- name: Simulate failure scenario
27
- if: github.ref == 'refs/heads/test-failure'
+ if: github.ref == 'refs/heads/test-failures'
28
run: |
29
echo "Simulating build failure"
30
exit 1
31
32
- name: Simulate syntax error
33
if: github.ref == 'refs/heads/test-failures'
34
35
- bash -c 'echo "Simulating syntax error"; ( syntax error here'
+ bash -c 'echo "Simulating syntax error"; if [ true ]; then echo "missing fi"'
0 commit comments