Skip to content

Commit 1b67fd0

Browse files
Merge pull request #3 from binh-dam-ibigroup/fix-master-actions
ci(node-ci.yml): Extract event name using different var.
2 parents 5f2010d + f308b00 commit 1b67fd0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/node-ci.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@ jobs:
1010
test-build-release:
1111
env:
1212
GIT_BRANCH_NAME: ${{ github.ref }}
13-
IS_PUSH: ${{ github.event.push }}
13+
IS_PUSH: ${{ github.event_name }}
1414
IS_PUSH_TO_MASTER: ${{ github.event.push && github.ref == 'refs/heads/master' }}
15+
IS_PUSH_TO_MASTER_ALT: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
1516

1617
runs-on: ubuntu-latest
1718

0 commit comments

Comments
 (0)