Skip to content

Commit

Permalink
fix: fail github workflow job if checkPhase failed
Browse files Browse the repository at this point in the history
  • Loading branch information
piotr-semenov committed May 21, 2024
1 parent f7c3021 commit 0406525
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/build-artifacts.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
# yamllint disable rule:line-length
---
name: Build Artifacts

on:
push:
branches: [ main ]
paths-ignore: [ "*.md" ]
branches: [main]
paths-ignore: ["*.md"]
pull_request:
branches: [ main ]
paths-ignore: [ "*.md" ]
branches: [main]
paths-ignore: ["*.md"]

jobs:
Compile-All:
Expand All @@ -23,8 +24,12 @@ jobs:

- name: Compile TextMate Grammar
run: |
set +e
chmod +x ./scripts/compile-grammar.sh
./scripts/compile-grammar.sh
exitcode="$?"
echo "exitcode=$exitcode" >> $GITHUB_OUTPUT
exit "$exitcode"
shell: bash

- name: Compile Coverage Badge SVG
Expand Down

0 comments on commit 0406525

Please sign in to comment.