From 694c3cd6430197ba740f715da8f96e971eb2a053 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Fri, 20 Nov 2020 01:09:38 +0200 Subject: [PATCH] GITHUB_BASE_REF is only for PRs --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bb487b5..17e07e0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -35,7 +35,7 @@ jobs: - name: Setup run: | cd .. - git clone -b $GITHUB_BASE_REF --depth 1 https://github.com/boostorg/boost.git boost-root + git clone -b ${GITHUB_BASE_REF:-$GITHUB_REF} --depth 1 https://github.com/boostorg/boost.git boost-root cd boost-root cp -r $GITHUB_WORKSPACE/* libs/assert git submodule update --init tools/boostdep