2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 12:49:34 +00:00

mirror.yml

- checkout banch after restore cache
This commit is contained in:
sidey79 2021-12-13 22:49:45 +01:00
parent 0161e41010
commit 8b28703e86

View File

@ -29,11 +29,6 @@ jobs:
ref: travis ref: travis
path: ./authors path: ./authors
- name: checkout main branch
uses: actions/checkout@v2.4.0
with:
path: ./main
- name: Get current date - name: Get current date
id: get-date id: get-date
run: | run: |
@ -45,11 +40,23 @@ jobs:
id: cache-fhem id: cache-fhem
uses: actions/cache@v2.1.6 uses: actions/cache@v2.1.6
with: with:
path: ./src/fhem-mirror/.git path: |
./src/fhem-mirror/.git
!./src/fhem-mirror/.git/config
key: ${{ runner.os }}-fhemsvndir-${{ steps.get-date.outputs.timestamp }} key: ${{ runner.os }}-fhemsvndir-${{ steps.get-date.outputs.timestamp }}
restore-keys: | restore-keys: |
${{ runner.os }}-fhemsvndir- ${{ runner.os }}-fhemsvndir-
- name: remove gitconfig
run: |
rm ./src/fhem-mirror/.git/config
- name: checkout main branch
uses: actions/checkout@v2.4.0
clean: false
with:
path: ./src/fhem-mirror
- name: generate merged authors file - name: generate merged authors file
run: | run: |
cd /tmp cd /tmp