Remove refs/heads/ from GITHUB_REF
@@ -6,7 +6,7 @@ set -x
# Ensure we are on the latest commit
# of the branch where we are converting
# recipes from. Currently this is `master`.
-git checkout "${GITHUB_REF}"
+git checkout "${GITHUB_REF/refs\/heads\//}"
# 2 core available on Travis CI Linux workers: https://docs.travis-ci.com/user/ci-environment/#Virtualization-environments
# CPU_COUNT is passed through conda build: https://github.com/conda/conda-build/pull/1149
