mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Lock lfs to 2.X
This commit is contained in:
parent
d9ca0f4c0c
commit
9078cc29f8
17
.github/workflows/mirror.yml
vendored
17
.github/workflows/mirror.yml
vendored
@ -10,14 +10,23 @@ jobs:
|
|||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- name: Install git-lfs 2.0
|
||||||
|
run: wget https://github.com/git-lfs/git-lfs/releases/download/v2.13.3/git-lfs-linux-amd64-v2.13.3.tar.gz;
|
||||||
|
tar xzf git-lfs-linux-amd64-v2.13.3.tar.gz;
|
||||||
|
|
||||||
|
- name: Install LFS
|
||||||
|
run: ./git-lfs install;
|
||||||
|
|
||||||
- name: Clone Gitlab repo
|
- name: Clone Gitlab repo
|
||||||
run: git lfs install;
|
run: git clone https://gitlab.com/veloren/veloren.git;
|
||||||
git clone https://gitlab.com/veloren/veloren.git;
|
|
||||||
|
|
||||||
- name: Uninstall LFS
|
- name: Uninstall LFS
|
||||||
run: cd veloren;
|
run: cd veloren;
|
||||||
git lfs uninstall;
|
../git-lfs uninstall;
|
||||||
git lfs migrate export --include="*" --everything;
|
|
||||||
|
- name: Migrate LFS
|
||||||
|
run: cd veloren;
|
||||||
|
../git-lfs migrate export --verbose --include="*" --everything --skip-fetch --yes 2>&1;
|
||||||
|
|
||||||
- name: Push changes
|
- name: Push changes
|
||||||
uses: ad-m/github-push-action@master
|
uses: ad-m/github-push-action@master
|
||||||
|
Loading…
Reference in New Issue
Block a user