Skip to content

Commit

Permalink
update .github/workflows/js-test-and-release.yml (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
web3-bot authored Apr 4, 2022
1 parent 58ff0c2 commit 70e46db
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/js-test-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ name: test & maybe release
on:
push:
branches:
- master # with #262 - ${{{ github.default_branch }}}
- $default-branch # with #262 - ${{{ github.default_branch }}}
pull_request:
branches:
- master # with #262 - ${{{ github.default_branch }}}
- $default-branch # with #262 - ${{{ github.default_branch }}}

jobs:

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

0 comments on commit 70e46db

Please sign in to comment.