Skip to content

Commit

Permalink
github-ci: use replace git-repo url
Browse files Browse the repository at this point in the history
Signed-off-by: Francesco Pham <[email protected]>
  • Loading branch information
Francesco Pham committed Sep 5, 2024
1 parent e5f99c1 commit c0f8cff
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
- name: Set up git-repo
run: |
if [ ! -f /bin/repo ]; then
curl https://gitee.com/oschina/repo/raw/fork_flow/repo-py3 -o /bin/repo
curl https://storage.googleapis.com/git-repo-downloads/repo -o /bin/repo
chmod a+x /bin/repo
fi
Expand Down Expand Up @@ -79,7 +79,7 @@ jobs:
mkdir -p "$REPO_MIRROR" ;
pushd "$REPO_MIRROR" ;
repo init -u "$GITHUB_WORKSPACE" -m "$CI_MANIFEST_NAME" --mirror ;
repo sync -c --no-repo-verify --force-sync -v;
repo sync -c --no-repo-verify --force-sync;
popd ;
else
echo "Reusing repo mirror @ $REPO_MIRROR" ;
Expand Down Expand Up @@ -113,7 +113,7 @@ jobs:
--reference /__w/repo-mirrors \
--manifest-url "$GITHUB_WORKSPACE" \
--manifest-name "$CI_MANIFEST_NAME"
repo sync -c --no-repo-verify --force-sync -v
repo sync -c --no-repo-verify --force-sync
repo forall -c 'git lfs pull'
- name: Cache restore OpenHarmony prebuilts
Expand Down

0 comments on commit c0f8cff

Please sign in to comment.