mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 12:49:34 +00:00
Update mirror.yml
build new cache with metadata
This commit is contained in:
parent
f507e48c39
commit
6dbbd47fab
5
.github/workflows/mirror.yml
vendored
5
.github/workflows/mirror.yml
vendored
@ -52,9 +52,9 @@ jobs:
|
|||||||
uses: actions/cache@v2.1.6
|
uses: actions/cache@v2.1.6
|
||||||
with:
|
with:
|
||||||
path: ./src/fhem-mirror
|
path: ./src/fhem-mirror
|
||||||
key: ${{ runner.os }}-fhemsvnmirror-${{ steps.get-date.outputs.timestamp }}
|
key: ${{ runner.os }}-fhemsvnmirror2-${{ steps.get-date.outputs.timestamp }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-fhemsvnmirror-
|
${{ runner.os }}-fhemsvnmirror2-
|
||||||
|
|
||||||
- name: init mirror repository if it is not already a mirror
|
- name: init mirror repository if it is not already a mirror
|
||||||
timeout-minutes: 1800
|
timeout-minutes: 1800
|
||||||
@ -82,7 +82,6 @@ jobs:
|
|||||||
RET=0
|
RET=0
|
||||||
timeout 1200 git svn -q fetch || timeout 120 git svn -q fetch || RET=$?; # Limit each run to 20 minutes to not overload fhem.de servers and build cache in chunks
|
timeout 1200 git svn -q fetch || timeout 120 git svn -q fetch || RET=$?; # Limit each run to 20 minutes to not overload fhem.de servers and build cache in chunks
|
||||||
if [[ $RET == 0 ]]; then
|
if [[ $RET == 0 ]]; then
|
||||||
git config --unset svn-remote.svn.noMetadata;
|
|
||||||
git checkout -f "master"
|
git checkout -f "master"
|
||||||
#git rebase "remotes/svn/trunk"
|
#git rebase "remotes/svn/trunk"
|
||||||
git svn rebase "remotes/svn/trunk"
|
git svn rebase "remotes/svn/trunk"
|
||||||
|
Loading…
Reference in New Issue
Block a user