Skip to content

Commit

Permalink
Add CI builds for release branches
Browse files Browse the repository at this point in the history
Issue-Id: #335
  • Loading branch information
windsource committed Aug 22, 2024
1 parent 3120962 commit 9ca8487
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- main
- release-**
workflow_dispatch:
workflow_call:

Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ on:
push:
branches:
- main
- release-**
pull_request:
workflow_dispatch:
workflow_call:
Expand Down Expand Up @@ -61,8 +62,8 @@ jobs:
DOCVER=$(expr match ${{ github.ref_name }} 'v\([0-9]\+\.[0-9]\+\)\.')
tools/generate_docs.sh deploy-release "$DOCVER"
- name: Generate documentation (for pull requests)
if: ${{ github.event_name == 'pull_request' }}
- name: Generate documentation (for pull requests and release branches)
if: ${{ github.event_name == 'pull_request' || startsWith(github.ref_name, 'release-') }}
run: |
tools/generate_docs.sh build
lint:
Expand Down

0 comments on commit 9ca8487

Please sign in to comment.