File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11.idea
2+ build_output.log
Original file line number Diff line number Diff line change @@ -92,6 +92,8 @@ inputs:
9292outputs :
9393 manifest :
9494 description : " The path to the generated manifest.vdf"
95+ buildId :
96+ description : " The Steam BuildID of the uploaded build"
9597runs :
9698 using : " docker"
9799 image : Dockerfile
Original file line number Diff line number Diff line change @@ -164,7 +164,7 @@ echo "# Uploading build #"
164164echo " #################################"
165165echo " "
166166
167- steamcmd +login " $steam_username " +run_app_build " $manifest_path " +quit || (
167+ steamcmd +login " $steam_username " +run_app_build " $manifest_path " +quit | tee build_output.log | | (
168168 echo " "
169169 echo " #################################"
170170 echo " # Errors #"
@@ -212,4 +212,7 @@ steamcmd +login "$steam_username" +run_app_build "$manifest_path" +quit || (
212212 exit 1
213213 )
214214
215+ buildId=$( grep -oP ' \(BuildID \K\d+(?=\))' build_output.log || echo " " )
216+
215217echo " manifest=${manifest_path} " >> $GITHUB_OUTPUT
218+ echo " buildId=${buildId} " >> $GITHUB_OUTPUT
You can’t perform that action at this time.
0 commit comments