Skip to content

Commit

Permalink
fix: input from body
Browse files Browse the repository at this point in the history
  • Loading branch information
PraneethJain committed Mar 4, 2024
1 parent 0f015fd commit 7b9e2be
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,17 @@ jobs:
mkdir libcxxwrap && cd libcxxwrap
body="${{github.event.pull_request.body}}"
echo $body
read -r repo_url
read -r branch
while IFS= read -r line || [ -n "$line" ]; do
if [ -z "$line1" ]; then
repo_url="$line"
else
branch="$line"
fi
done <<< "$content"
echo $repo_url
echo $branch
git clone --branch $branch --single-branch $repo_url . .
echo "done cloning"
if [[ "$OSTYPE" != "darwin"* ]]; then
rm -f /opt/hostedtoolcache/julia/1.6*/x64/lib/julia/libstdc++.so.6
fi
Expand Down

0 comments on commit 7b9e2be

Please sign in to comment.