This commit is contained in:
2026-02-08 16:16:35 +01:00
parent ba5cfbdeec
commit fcd442dbeb
2 changed files with 6 additions and 6 deletions

View File

@@ -9,11 +9,14 @@ on:
paths: paths:
- "cars/**" # Only run if archives in cars/ change - "cars/**" # Only run if archives in cars/ change
env:
GIT_DEFAULT_HASH: sha1
jobs: jobs:
prepare-server-content: prepare-server-content:
container:
volumes:
- $HOME/assetto-corsa/assetto/content:/content
env:
GIT_DEFAULT_HASH: sha1
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:

View File

@@ -25,9 +25,6 @@ find "$SOURCE_ROOT" -type f \( -name "*.zip" -o -name "*.7z" -o -name "*.rar" \)
# Extract contents # Extract contents
7z x "$archive" -o"$temp_dir" -y > /dev/null 7z x "$archive" -o"$temp_dir" -y > /dev/null
echo "Extracted to: $temp_dir"
tree "$temp_dir" # DEBUG
# FILTERING LOGIC # FILTERING LOGIC
find "$temp_dir/$car_name" -type f \ find "$temp_dir/$car_name" -type f \
-not -path "**/skins/*/livery.png" \ -not -path "**/skins/*/livery.png" \