Skip to content

Commit

Permalink
Restore custom checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
jneira committed Feb 22, 2022
1 parent 8d69f3f commit 836b562
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,16 @@ jobs:

steps:

- uses: actions/checkout@v2
# We can't use actions/checkout with the docker container, see:
# https://github.com/actions/checkout/issues/170
# https://github.com/actions/checkout/issues/295
# - uses: actions/checkout@v2
- name: Checkout
run: |
echo $GITHUB_REF $GITHUB_SHA
git clone --depth 1 https://github.com/$GITHUB_REPOSITORY.git .
git fetch origin $GITHUB_SHA:temporary-ci-branch
git checkout $GITHUB_SHA || (git fetch && git checkout $GITHUB_SHA)
- name: Install extra compiler
run: |
Expand Down

0 comments on commit 836b562

Please sign in to comment.