mirror of
https://github.com/vgmstream/vgmstream.git
synced 2024-12-01 01:27:20 +01:00
Actions: Clear Ubuntu cache between releases
This commit is contained in:
parent
b0b1091554
commit
2fbe627c84
16
.github/workflows/cmake-lx.yml
vendored
16
.github/workflows/cmake-lx.yml
vendored
@ -32,7 +32,9 @@ jobs:
|
||||
- name: Create build environment
|
||||
# Some projects don't allow in-source building, so create a separate build directory
|
||||
# We'll use this as our working directory for all subsequent commands
|
||||
run: cmake -E make_directory ${{runner.workspace}}/build
|
||||
run: |
|
||||
cmake -E make_directory ${{runner.workspace}}/build
|
||||
echo "RELEASE=$(lsb_release -sr)" >> $GITHUB_ENV
|
||||
|
||||
- name: Cache celt
|
||||
uses: actions/cache@v3
|
||||
@ -42,7 +44,7 @@ jobs:
|
||||
${{runner.workspace}}/dependencies/celt-0110
|
||||
${{runner.workspace}}/build/dependencies/celt-0061/libcelt/.libs
|
||||
${{runner.workspace}}/build/dependencies/celt-0110/libcelt/.libs
|
||||
key: linux-celt-${{ hashFiles('cmake/dependencies/celt.cmake') }}
|
||||
key: linux-${{ env.RELEASE }}-celt-${{ hashFiles('cmake/dependencies/celt.cmake') }}
|
||||
|
||||
- name: Cache ffmpeg
|
||||
uses: actions/cache@v3
|
||||
@ -50,21 +52,21 @@ jobs:
|
||||
path: |
|
||||
${{runner.workspace}}/build/dependencies/ffmpeg/bin/usr/local/include
|
||||
${{runner.workspace}}/build/dependencies/ffmpeg/bin/usr/local/lib
|
||||
key: linux-ffmpeg-${{ hashFiles('cmake/dependencies/ffmpeg.cmake') }}
|
||||
key: linux-${{ env.RELEASE }}-ffmpeg-${{ hashFiles('cmake/dependencies/ffmpeg.cmake') }}
|
||||
|
||||
- name: Cache atrac9
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: |
|
||||
${{runner.workspace}}/build/dependencies/LibAtrac9/bin
|
||||
key: linux-atrac9-${{ hashFiles('cmake/dependencies/atrac9.cmake') }}
|
||||
key: linux-${{ env.RELEASE }}-atrac9-${{ hashFiles('cmake/dependencies/atrac9.cmake') }}
|
||||
|
||||
- name: Cache g719
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: |
|
||||
${{runner.workspace}}/build/dependencies/libg719_decode/libg719_decode.a
|
||||
key: linux-g719-${{ hashFiles('cmake/dependencies/g719.cmake') }}
|
||||
key: linux-${{ env.RELEASE }}-g719-${{ hashFiles('cmake/dependencies/g719.cmake') }}
|
||||
|
||||
- name: Cache mpg123
|
||||
uses: actions/cache@v3
|
||||
@ -72,14 +74,14 @@ jobs:
|
||||
path: |
|
||||
${{runner.workspace}}/dependencies/mpg123
|
||||
${{runner.workspace}}/build/dependencies/mpg123/src/libmpg123/.libs
|
||||
key: linux-mpg123-${{ hashFiles('cmake/dependencies/mpg123.cmake') }}
|
||||
key: linux-${{ env.RELEASE }}-mpg123-${{ hashFiles('cmake/dependencies/mpg123.cmake') }}
|
||||
|
||||
- name: Cache speex
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: |
|
||||
${{runner.workspace}}/build/dependencies/speex/libspeex/.libs
|
||||
key: linux-speex-${{ hashFiles('cmake/dependencies/speex.cmake') }}
|
||||
key: linux-${{ env.RELEASE }}-speex-${{ hashFiles('cmake/dependencies/speex.cmake') }}
|
||||
|
||||
- name: Configure CMake
|
||||
# Use a bash shell so we can use the same syntax for environment variable
|
||||
|
Loading…
Reference in New Issue
Block a user