Fixing push workflow

Signed-off-by: Chris Patterson <chrispat@github.com>
This commit is contained in:
Chris Patterson 2021-01-29 15:38:04 -05:00
parent be3670387f
commit da9a88bc97
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ jobs:
GO111MODULE: "auto"
GOPATH: ${{ github.workspace }}
GOOS: linux
COMMIT_RANGE: ${{ github.event_name == 'pull_request' && format('{0}..{1}',github.event.pull_request.base.sha, github.event.pull_request.head.sha) || github.sha }}
COMMIT_RANGE: ${{ github.event_name == 'pull_request' && format('{0}..{1}',github.event.pull_request.base.sha, github.event.pull_request.head.sha) || format('{0}..{1}', github.event.before, github.event.after) }}
steps:
- uses: actions/checkout@v2