From 6dab4d84defd5d3f6d8a1c938b48b37ec7465618 Mon Sep 17 00:00:00 2001 From: Zaytha Date: Sun, 6 Jul 2025 13:07:18 -0700 Subject: [PATCH] test with caching properlye --- .gitea/workflows/godot-ci.yml | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/.gitea/workflows/godot-ci.yml b/.gitea/workflows/godot-ci.yml index 2525cef..c49f641 100644 --- a/.gitea/workflows/godot-ci.yml +++ b/.gitea/workflows/godot-ci.yml @@ -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 }} \ No newline at end of file + # 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 }} \ No newline at end of file