Skip to content

Commit 1bd289e

Browse files
authored
update .github/workflows/js-test-and-release.yml (#15)
1 parent f9d0cfc commit 1bd289e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/js-test-and-release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ name: test & maybe release
55
on:
66
push:
77
branches:
8-
- master # with #262 - ${{{ github.default_branch }}}
8+
- $default-branch # with #262 - ${{{ github.default_branch }}}
99
pull_request:
1010
branches:
11-
- master # with #262 - ${{{ github.default_branch }}}
11+
- $default-branch # with #262 - ${{{ github.default_branch }}}
1212

1313
jobs:
1414

@@ -136,7 +136,7 @@ jobs:
136136
release:
137137
needs: [test-node, test-chrome, test-chrome-webworker, test-firefox, test-firefox-webworker, test-electron-main, test-electron-renderer]
138138
runs-on: ubuntu-latest
139-
if: github.event_name == 'push' && github.ref == 'refs/heads/master' # with #262 - 'refs/heads/${{{ github.default_branch }}}'
139+
if: github.event_name == 'push' && github.ref == 'refs/heads/$default-branch' # with #262 - 'refs/heads/${{{ github.default_branch }}}'
140140
steps:
141141
- uses: actions/checkout@v2
142142
with:

0 commit comments

Comments
 (0)