Skip to content

Commit

Permalink
Avoid execution of build actions for doc files (#129)
Browse files Browse the repository at this point in the history
Resolves: #122

Signed-off-by: Sergio Arroutbi <[email protected]>
  • Loading branch information
sarroutbi authored Jan 11, 2024
1 parent c39b6dd commit caaf432
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
---
name: build

on: [push, pull_request]
on:
push:
paths-ignore:
- '**.md'
pull_request:
paths-ignore:
- '**.md'

jobs:
build:
Expand Down Expand Up @@ -31,7 +37,8 @@ jobs:
- uses: actions/checkout@v3

- name: Show OS information
run: cat /etc/os-release 2>/dev/null || echo /etc/os-release not available
run: cat /etc/os-release 2>/dev/null || \
echo /etc/os-release not available

- name: Install build dependencies
run: bash .github/workflows/install-dependencies
Expand Down

0 comments on commit caaf432

Please sign in to comment.