From bd0c7d6152e10cdc6aa6e802269d432d7a396ffc Mon Sep 17 00:00:00 2001 From: Jack Ivanov Date: Thu, 16 Jan 2020 11:16:09 +0100 Subject: [PATCH] test --- .github/workflows/main.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f2e3f2d..f7f3d25 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -14,7 +14,9 @@ jobs: - name: test run: | env - echo ${{ github.event.pull_request.head.ref }} + echo BRANCH: $BRANCH + env: + BRANCH: ${{ github.event.pull_request.head.ref || github.event.push.ref }} - name: Install dependencies run: |