mirror of
https://github.com/darkzoul5/YoutubePlaylistSync.git
synced 2026-07-04 21:04:01 +03:00
fix caching for aria2c binary and display cache status
This commit is contained in:
@@ -141,6 +141,21 @@ jobs:
|
||||
chmod +x "$GITHUB_WORKSPACE/dist/linux/bin/aria2c"
|
||||
rm -rf "$GITHUB_WORKSPACE/dist/linux/aria2c_build" "$GITHUB_WORKSPACE/aria2-1.37.0" "$GITHUB_WORKSPACE/aria2-1.37.0.tar.gz"
|
||||
fi
|
||||
- name: Cache aria2c binary
|
||||
id: aria2-cache
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: |
|
||||
dist/linux/bin
|
||||
key: aria2c-${{ runner.os }}-v1
|
||||
restore-keys: |
|
||||
aria2c-${{ runner.os }}-
|
||||
|
||||
- name: Show cache status and bin contents
|
||||
run: |
|
||||
echo "Cache hit: ${{ steps.aria2-cache.outputs.cache-hit }}"
|
||||
echo "Listing dist/linux/bin:"
|
||||
ls -la dist/linux/bin || true
|
||||
|
||||
- name: Cleanup FFmpeg temp
|
||||
run: rm -rf "$GITHUB_WORKSPACE/dist/linux/ffmpeg_temp" "$GITHUB_WORKSPACE/dist/linux/ffmpeg.tar.xz"
|
||||
|
||||
Reference in New Issue
Block a user