mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 06:39:11 +00:00
mirror.yml
- checkout banch after restore cache
This commit is contained in:
parent
0161e41010
commit
8b28703e86
19
.github/workflows/mirror.yml
vendored
19
.github/workflows/mirror.yml
vendored
@ -29,11 +29,6 @@ jobs:
|
||||
ref: travis
|
||||
path: ./authors
|
||||
|
||||
- name: checkout main branch
|
||||
uses: actions/checkout@v2.4.0
|
||||
with:
|
||||
path: ./main
|
||||
|
||||
- name: Get current date
|
||||
id: get-date
|
||||
run: |
|
||||
@ -45,11 +40,23 @@ jobs:
|
||||
id: cache-fhem
|
||||
uses: actions/cache@v2.1.6
|
||||
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 }}
|
||||
restore-keys: |
|
||||
${{ 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
|
||||
run: |
|
||||
cd /tmp
|
||||
|
Loading…
Reference in New Issue
Block a user