We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa9f989 commit 24e1698Copy full SHA for 24e1698
.github/workflows/ci.yml
@@ -13,6 +13,9 @@ jobs:
13
compile:
14
name: Compiles
15
runs-on: ubuntu-latest
16
+ defaults:
17
+ run:
18
+ shell: bash --noprofile --norc -eo pipefail {0}
19
steps:
20
- uses: actions/checkout@v4
21
with:
@@ -58,7 +61,7 @@ jobs:
58
61
run: |
59
62
ERRORS=$(cat build.log | sed -E -n '/\[.*error.*\]|npm err|\[vite\] Error/I,$p')
60
63
- if [ -n $ERRORS ]; then
64
+ if [ -n "$ERRORS" ]; then
65
URL=$(gh run view ${{ github.run_id }} --json url --jq '.url')
66
BODY="[Build failed]($URL)\n\n\`\`\`txt\n$ERRORS\n\`\`\`"
67
0 commit comments