From 069ca295d39dbcafd0ea9fd3af5146a8e873f19f Mon Sep 17 00:00:00 2001 From: Zaytha Date: Sun, 6 Jul 2025 05:52:24 -0700 Subject: [PATCH] Fixing sed command --- .gitea/workflows/godot-ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/godot-ci.yml b/.gitea/workflows/godot-ci.yml index c3aa390..65b5272 100644 --- a/.gitea/workflows/godot-ci.yml +++ b/.gitea/workflows/godot-ci.yml @@ -96,9 +96,10 @@ jobs: - name: Update VDF run: | - sed -i -e "s/STEAM_DESCRIPTION/${GITHUB_REF_NAME} - ${GITHUB_SHA:0:8}/" build/build_dependencies/steam/app_build_2739610.vdf + SHORT_SHA=$(echo $GITHUB_SHA | cut -c1-8) + sed -i -e "s/STEAM_DESCRIPTION/${GITHUB_REF_NAME} - ${SHORT_SHA}/" build/build_dependencies/steam/app_build_2739610.vdf - - name: Publish to Steam + - name: Publish to Steam # We don't need to download the artifcts, as they are alread in the container and targeted by the VDF run: | /home/steam/steamcmd/steamcmd.sh +set_steam_guard_code "${{ secrets.STEAM_GUARD_CODE }}" +login "${{ secrets.STEAM_BUILD_USERNAME }}" "${{ secrets.STEAM_BUILD_PASSWORD }}" +run_app_build "$PWD/build/build_dependencies/steam/app_build_2739610.vdf" +quit