mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-04-13 12:22:33 -05:00
Compare commits
1 Commits
ab3255b0c7
...
v2026.03.2
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f45f93a5a6 |
18
.github/workflows/build.yml
vendored
18
.github/workflows/build.yml
vendored
@@ -117,6 +117,24 @@ jobs:
|
||||
if: steps.rate.outputs.skip != 'true'
|
||||
run: pip install pyyaml
|
||||
|
||||
- name: Restore large files from release
|
||||
if: steps.rate.outputs.skip != 'true'
|
||||
run: |
|
||||
mkdir -p .cache/large
|
||||
gh release download large-files -D .cache/large/ 2>/dev/null || true
|
||||
for f in .cache/large/*; do
|
||||
[ -f "$f" ] || continue
|
||||
name=$(basename "$f")
|
||||
target=$(grep "$name" .gitignore | head -1)
|
||||
if [ -n "$target" ] && [ ! -f "$target" ]; then
|
||||
mkdir -p "$(dirname "$target")"
|
||||
cp "$f" "$target"
|
||||
echo "Restored: $target"
|
||||
fi
|
||||
done
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Refresh data directories
|
||||
if: steps.rate.outputs.skip != 'true'
|
||||
run: python scripts/refresh_data_dirs.py
|
||||
|
||||
Reference in New Issue
Block a user