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