From f9548c39e4d21ce6f9399a33e110dc5947598ad3 Mon Sep 17 00:00:00 2001 From: Zaytha Date: Sun, 6 Jul 2025 09:55:25 -0700 Subject: [PATCH] Trying w/ root paths now --- .gitea/workflows/godot-ci.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.gitea/workflows/godot-ci.yml b/.gitea/workflows/godot-ci.yml index b7e5072..0d009c4 100644 --- a/.gitea/workflows/godot-ci.yml +++ b/.gitea/workflows/godot-ci.yml @@ -87,7 +87,7 @@ jobs: name: Steam Publish runs-on: ubuntu-22.04 container: - image: cm2network/steamcmd + image: cm2network/steamcmd:root needs: [export-windows, export-linux] steps: # Need to install nodejs and git, and initalize git lfs for checkout @@ -130,14 +130,14 @@ jobs: - name: Read Cache run: | mkdir -p ./steam_cache - mkdir -p /home/steam/Steam/config - cp ./steam_cache/config.vdf /home/steam/Steam/config/ 2>/dev/null || echo "No cached config file" - cp ./steam_cache/ssfn* /home/steam/Steam/ 2>/dev/null || echo "No cached sentry file" + mkdir -p /root/Steam/config + cp ./steam_cache/config.vdf /root/Steam/config/ 2>/dev/null || echo "No cached config file" + cp ./steam_cache/ssfn* /root/Steam/ 2>/dev/null || echo "No cached sentry file" echo "Files in cache:" ls -la ./steam_cache/ 2>/dev/null || echo "No cache directory" echo "Files in Steam directory:" - ls -la /home/steam/Steam/ 2>/dev/null || echo "No Steam directory" + ls -la /root/Steam/ 2>/dev/null || echo "No Steam directory" - name: Update VDF run: | @@ -154,21 +154,21 @@ jobs: # If that fails, use Steam Guard in single session /home/steam/steamcmd/steamcmd.sh +set_steam_guard_code "${{ secrets.STEAM_GUARD_CODE }}" +login "${{ vars.STEAM_BUILD_USERNAME }}" "${{ secrets.STEAM_BUILD_PASSWORD }}" +run_app_build "$PWD/build/build_dependencies/steam/app_build_2739610.vdf" +quit } - + - name: Write Cache run: | mkdir -p ./steam_cache # Debug: Show all files in Steam directory - echo "All files in /home/steam/Steam:" - find /home/steam/Steam -type f -name "*" 2>/dev/null | head -20 + echo "All files in /root/Steam:" + find /root/Steam -type f -name "*" 2>/dev/null | head -20 # Copy config file - cp /home/steam/Steam/config/config.vdf ./steam_cache/ 2>/dev/null || echo "No config file to cache" + cp /root/Steam/config/config.vdf ./steam_cache/ 2>/dev/null || echo "No config file to cache" # Look for sentry files in various locations - cp /home/steam/Steam/ssfn* ./steam_cache/ 2>/dev/null || echo "No sentry files in /home/steam/Steam/" - cp /home/steam/Steam/config/ssfn* ./steam_cache/ 2>/dev/null || echo "No sentry files in /home/steam/Steam/config/" + cp /root/Steam/ssfn* ./steam_cache/ 2>/dev/null || echo "No sentry files in /root/Steam/" + cp /root/Steam/config/ssfn* ./steam_cache/ 2>/dev/null || echo "No sentry files in /root/Steam/config/" echo "Files cached:" ls -la ./steam_cache/ 2>/dev/null || echo "No cache directory" \ No newline at end of file