Skip to content

Commit

Permalink
try without caching .repo and --current-branch flag
Browse files Browse the repository at this point in the history
Signed-off-by: Francesco Pham <[email protected]>
  • Loading branch information
Francesco Pham committed Mar 1, 2024
1 parent c4a54bf commit 567d14e
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ jobs:
with:
path: |
/bin/repo
/__w/repo-mirrors/.repo
/__w/repo-mirrors/developtools_smartperf_host.git
/__w/repo-mirrors/developtools_profiler.git
/__w/repo-mirrors/docs.git
Expand Down Expand Up @@ -101,16 +100,14 @@ jobs:
pushd "$REPO_MIRROR" ;
repo init -u "$GITHUB_WORKSPACE" -m "$CI_MANIFEST_NAME";
fi ;
repo sync --current-branch --no-repo-verify --force-sync -v;
repo sync --no-repo-verify --force-sync -v;
popd ;
- name: Cache save gitee repositories
uses: actions/cache/save@v4
if: always()
with:
path: |
/bin/repo
/__w/repo-mirrors/.repo
/__w/repo-mirrors/developtools_smartperf_host.git
/__w/repo-mirrors/developtools_profiler.git
/__w/repo-mirrors/docs.git
Expand All @@ -134,7 +131,7 @@ jobs:
--reference /__w/repo-mirrors \
--manifest-url "$GITHUB_WORKSPACE" \
--manifest-name "$CI_MANIFEST_NAME"
repo sync --current-branch --no-repo-verify --force-sync -v
repo sync --no-repo-verify --force-sync -v
repo forall -c 'git lfs pull'
# Release repo mirror lock if held
if [ -n "$REPO_MIRROR_ARG" ] ; then exec 9>&- ; fi
Expand Down

0 comments on commit 567d14e

Please sign in to comment.