Skip to content

Commit 8f45d3c

Browse files
committed
Update GitHub Actions workflow to support both main and master branches
- Modified the CI configuration to trigger on pushes and pull requests to both 'main' and 'master' branches. - Adjusted the publish job condition to accommodate the 'master' branch for better flexibility in deployment.
1 parent 38e9e8e commit 8f45d3c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: Run Tests
22

33
on:
44
push:
5-
branches: [main]
5+
branches: [main, master]
66
pull_request:
7-
branches: [main]
7+
branches: [main, master]
88
workflow_dispatch:
99

1010
jobs:
@@ -49,7 +49,7 @@ jobs:
4949
publish:
5050
needs: test
5151
runs-on: ubuntu-latest
52-
if: github.ref == 'refs/heads/main'
52+
if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master'
5353

5454
steps:
5555
- name: Download test results artifact

0 commit comments

Comments
 (0)