Skip to content

Commit

Permalink
Add large Tibia.spr file with Git LFS
Browse files Browse the repository at this point in the history
  • Loading branch information
jordanhoare committed Aug 27, 2024
1 parent 40cc767 commit 06c5218
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/build-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,30 @@ jobs:
path: |
${{ github.workspace }}/otclient.exe
- name: Install Git LFS
run: |
git lfs install
- name: Create Temporary Directory
run: |
$tempDir = "$env:GITHUB_WORKSPACE/client"
New-Item -Path $tempDir -ItemType Directory -Force
- name: Download 'things' Folder from GitHub
run: |
git clone --depth 1 --filter=blob:none --sparse https://github.com/tibia-oce/assets.git $env:GITHUB_WORKSPACE/temp-assets
cd $env:GITHUB_WORKSPACE/temp-assets
git sparse-checkout set things
- name: Fetch Git LFS Files
run: |
cd $env:GITHUB_WORKSPACE/temp-assets
git lfs pull
- name: Move 'things' Folder to Client Data Directory
run: |
Move-Item -Path "$env:GITHUB_WORKSPACE/temp-assets/things" -Destination "$env:GITHUB_WORKSPACE/client/data/things" -Recurse -Force
- name: Move Files to Temporary Directory
run: |
Copy-Item -Path "$env:GITHUB_WORKSPACE/data" -Destination "$env:GITHUB_WORKSPACE/client/data" -Recurse -Force
Expand Down
Binary file removed data/things/1098/Tibia.dat
Binary file not shown.

0 comments on commit 06c5218

Please sign in to comment.