mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 06:39:11 +00:00
Update mirror.yml
checkout main branch to another directory
This commit is contained in:
parent
377aca9cd7
commit
620813148b
8
.github/workflows/mirror.yml
vendored
8
.github/workflows/mirror.yml
vendored
@ -32,7 +32,7 @@ jobs:
|
||||
- name: checkout main branch
|
||||
uses: actions/checkout@v2.4.0
|
||||
with:
|
||||
path: ./src/fhem-mirror
|
||||
path: ./main
|
||||
|
||||
- name: Get current date
|
||||
id: get-date
|
||||
@ -74,14 +74,14 @@ jobs:
|
||||
echo "::set-output name=SVN_FETCH_STATUS::incomplete"
|
||||
# Run fetches after init, go pick up some base refs for the cache on first run only!
|
||||
RET=124
|
||||
c=0
|
||||
c=1
|
||||
while [ $RET -eq 124 ]; do
|
||||
echo "::group::Fetch ${c}/10"
|
||||
echo "::group::Fetch ${c}/4"
|
||||
timeout 600 git svn --log-window-size=200 -q fetch && RET=$? || true
|
||||
if [ "$RET" -ne 0 ] && [ "$RET" -ne 124 ]; then
|
||||
echo "::set-output name=SVN_FETCH_STATUS::error"
|
||||
fi
|
||||
((c++)) && ((c==10)) && break
|
||||
((c++)) && ((c==4)) && break
|
||||
echo "::endgroup::"
|
||||
done
|
||||
if [ "$RET" -eq 0 ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user