Skip to content

Commit

Permalink
try fetch instead of clone
Browse files Browse the repository at this point in the history
  • Loading branch information
deemru committed Apr 3, 2024
1 parent 54caf07 commit c2527f1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,11 @@ jobs:
git submodule update --init --recursive --depth 1
CHROMIUM_TAG=$(cat VERSION)
BORINGSSL_REVISION=$(curl -s https://raw.githubusercontent.com/chromium/chromium/$CHROMIUM_TAG/DEPS | grep "'boringssl_revision':" | awk -F"'" '{print $4}')
git clone https://github.com/google/boringssl.git
mkdir boringssl
cd boringssl
git checkout -b temp $BORINGSSL_REVISION
git init
git remote add origin https://github.com/google/boringssl.git
git fetch origin $BORINGSSL_REVISION
git config user.name "temp"
git config user.email "[email protected]"
git am --3way --ignore-space-change < ../patch/boringssl.patch
Expand Down

0 comments on commit c2527f1

Please sign in to comment.