[action] Correctly fetch the right branch in the CI

This commit is contained in:
Matthieu Gautier 2020-02-12 11:25:03 +01:00
parent 3569c277a9
commit b790c00187
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ jobs:
shell: bash
run: |
cd $HOME
git clone https://github.com/${REP} --depth=1 --branch ${GITHUB_REF##*/}
git clone https://github.com/${REP} --depth=1 --branch ${GITHUB_REF##*heads/}
pip3 install --user --no-deps ./${REP##*/}
env:
REP: ${{github.repository}}