test with caching properlye
This commit is contained in:
@ -133,19 +133,19 @@ jobs:
|
||||
uses: https://gitea.com/actions/cache/restore@v3
|
||||
with:
|
||||
path: |
|
||||
~/steamcmd/
|
||||
~/Steam/config/config.vdf
|
||||
./steam_build_output/
|
||||
key: steam-cache-${{ runner.os }}-${{ github.ref_name }}
|
||||
restore-keys: |
|
||||
steam-cache-${{ runner.os }}
|
||||
steam-cache
|
||||
|
||||
# - name: Read Cache
|
||||
# run: |
|
||||
# # The Read Cache step is now handled by the actions/cache@v3 restore process.
|
||||
# # This step can be removed or left for debugging.
|
||||
# echo "Files in steamcmd directory:"
|
||||
# ls -la ~/steamcmd/
|
||||
- name: Read Cache
|
||||
run: |
|
||||
# The Read Cache step is now handled by the actions/cache@v3 restore process.
|
||||
# This step can be removed or left for debugging.
|
||||
echo "Files in steamcmd directory:"
|
||||
ls -la ~/Steam/config/config.vdf
|
||||
|
||||
- name: Update VDF
|
||||
run: |
|
||||
@ -172,10 +172,11 @@ jobs:
|
||||
echo "Files in steam config directory:"
|
||||
ls -la ~/Steam/config
|
||||
|
||||
# - name: Save Cache
|
||||
# uses: https://gitea.com/actions/cache/save@v3
|
||||
# with:
|
||||
# path: |
|
||||
# ~/steamcmd/
|
||||
# ./steam_build_output/
|
||||
# key: steam-cache-${{ runner.os }}-${{ github.ref_name }}
|
||||
# TODO save the Steam/config/config.vdf file to the cache
|
||||
- name: Save Cache
|
||||
uses: https://gitea.com/actions/cache/save@v3
|
||||
with:
|
||||
path: |
|
||||
~/Steam/config/config.vdf
|
||||
./steam_build_output/
|
||||
key: steam-cache-${{ runner.os }}-${{ github.ref_name }}
|
||||
Reference in New Issue
Block a user