.
This commit is contained in:
@@ -9,11 +9,14 @@ on:
|
||||
paths:
|
||||
- "cars/**" # Only run if archives in cars/ change
|
||||
|
||||
jobs:
|
||||
prepare-server-content:
|
||||
container:
|
||||
volumes:
|
||||
- $HOME/assetto-corsa/assetto/content:/content
|
||||
env:
|
||||
GIT_DEFAULT_HASH: sha1
|
||||
|
||||
jobs:
|
||||
prepare-server-content:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
|
||||
@@ -25,9 +25,6 @@ find "$SOURCE_ROOT" -type f \( -name "*.zip" -o -name "*.7z" -o -name "*.rar" \)
|
||||
# Extract contents
|
||||
7z x "$archive" -o"$temp_dir" -y > /dev/null
|
||||
|
||||
echo "Extracted to: $temp_dir"
|
||||
tree "$temp_dir" # DEBUG
|
||||
|
||||
# FILTERING LOGIC
|
||||
find "$temp_dir/$car_name" -type f \
|
||||
-not -path "**/skins/*/livery.png" \
|
||||
|
||||
Reference in New Issue
Block a user