Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
dey4ss committed Sep 10, 2024
1 parent 6622ef1 commit 3e25203
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,11 @@ 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_URL=$(awk -v a=${github.event.pull_request.head.repo.clone_url} -v b=${github.repositoryUrl} 'BEGIN { if (a == "") { print b } else { print a } }')" >> $GITHUB_ENV
echo $GITHUB_ENV
echo $REPO_URL
echo $(awk -v a=${{github.event.pull_request.head.repo.clone_url}} -v b=${{github.repositoryUrl}} 'BEGIN { if (a == "") { print b } else { print a } }')
apt-get update
apt-get install -y git
git config --global --add safe.directory '*'
git clone "${REPO_URL}" .
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 checkout $GITHUB_HEAD_REF
- name: Setup (macOS)
Expand Down

0 comments on commit 3e25203

Please sign in to comment.