2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 06:39:11 +00:00

Update mirror.yml

build new cache with metadata
This commit is contained in:
sidey79 2021-11-07 12:00:39 +01:00 committed by GitHub
parent f507e48c39
commit 6dbbd47fab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -52,9 +52,9 @@ jobs:
uses: actions/cache@v2.1.6
with:
path: ./src/fhem-mirror
key: ${{ runner.os }}-fhemsvnmirror-${{ steps.get-date.outputs.timestamp }}
key: ${{ runner.os }}-fhemsvnmirror2-${{ steps.get-date.outputs.timestamp }}
restore-keys: |
${{ runner.os }}-fhemsvnmirror-
${{ runner.os }}-fhemsvnmirror2-
- name: init mirror repository if it is not already a mirror
timeout-minutes: 1800
@ -82,7 +82,6 @@ jobs:
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
if [[ $RET == 0 ]]; then
git config --unset svn-remote.svn.noMetadata;
git checkout -f "master"
#git rebase "remotes/svn/trunk"
git svn rebase "remotes/svn/trunk"