Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
dey4ss committed Sep 11, 2024
1 parent 741d9d9 commit 3cf01ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,12 @@ jobs:
# Recent versions of Github's checkout action do not run on older Ubuntu versions because they use a too recent
# Node.js version. Thus, we have to checkout the code manually.
run: |
echo "Repo: $(awk -v a=${{github.event.pull_request.head.repo.clone_url}} -v b=${{github.repositoryUrl}} 'BEGIN { if (a == "") { print b } else { print a } }')"
echo "Repo: $(awk -v a=${{github.event.pull_request.head.repo.clone_url}} -v b="${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}" 'BEGIN { if (a == "") { print b } else { print a } }')"
echo "Branch: ${GITHUB_HEAD_REF}"
apt-get update
apt-get install -y git
git config --global --add safe.directory '*'
git clone $(awk -v a=${{github.event.pull_request.head.repo.clone_url}} -v b=${{github.repositoryUrl}} 'BEGIN { if (a == "") { print b } else { print a } }') .
git clone $(awk -v a=${{github.event.pull_request.head.repo.clone_url}} -v b="${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}" 'BEGIN { if (a == "") { print b } else { print a } }') .
git checkout $GITHUB_HEAD_REF
- name: Setup (macOS)
Expand Down

0 comments on commit 3cf01ae

Please sign in to comment.