Skip to content

Commit

Permalink
ci(build): create build workflow for base branches
Browse files Browse the repository at this point in the history
  • Loading branch information
akantcheff committed Mar 12, 2024
1 parent 5f90fae commit a769490
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Build

on:
push:
branches:
- "[0-9]+.[0-9]+.x"
- "master"
- "release-*"
- "dev"
paths-ignore:
- ".github/**"
- "**/README.md"
- "!.github/workflows/build.yml"
- "!.github/workflows/_reusable_build.yml"

jobs:
build:
uses: ./.github/workflows/_reusable_build.yml
with:
publish: true
secrets: inherit
5 changes: 5 additions & 0 deletions .github/workflows/build_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ name: Build Pull Request

on:
pull_request:
paths-ignore:
- ".github/**"
- "**/README.md"
- "!.github/workflows/build_pr.yml"
- "!.github/workflows/_reusable_build.yml"

jobs:
build-pr:
Expand Down

0 comments on commit a769490

Please sign in to comment.