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:
parent
0161e41010
commit
8b28703e86
19
.github/workflows/mirror.yml
vendored
19
.github/workflows/mirror.yml
vendored
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user