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