Adding steam publishing
Some checks failed
godot-ci export / Windows Export (push) Successful in 1m15s
godot-ci export / Linux Export (push) Successful in 1m14s
godot-ci export / Steam Publiish (push) Has been cancelled

This commit is contained in:
2025-07-06 05:35:19 -07:00
parent eb537b7579
commit 7fa7dd6b79
7 changed files with 84 additions and 2 deletions

View File

@ -81,4 +81,22 @@ jobs:
uses: https://gitea.com/actions/upload-artifact@v3 # using v3 ad v4 has issues wwith gitea
with:
name: linux
path: build/linux
path: build/linux
steam_publish:
name: Steam Publiish
runs-on: cm2network/steamcmd
needs: [export-windows, export-linux]
steps:
- name: Read Cache
run: |
echo "TODO Read Cache"
- name: Update VDF
run: |
sed -i -e "s/STEAM_DESCRIPTION/${GITHUB_REF_NAME} - ${GITHUB_SHA:0:8}/" build_scripts/steam/app_build_2739610.vdf;
- name: Publish to Steam
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_scripts/steam/app_build_2739610.vdf" +quit
- name: Cache Config and sentry
run: |
echo "TODO Cache Config and sentry"

View File

@ -0,0 +1,14 @@
"AppBuild"
{
"AppID" "2739610"
"Desc" "STEAM_DESCRIPTION"
"Preview" "0"
"SetLive" "gitea-actions"
"ContentRoot" "..\..\bin\"
"BuildOutput" "..\..\steam_build_output\"
"Depots"
{
"2739611" "depot_build_2739611.vdf"
"2739612" "depot_build_2739612.vdf"
}
}

View File

@ -0,0 +1,18 @@
"DepotBuild"
{
"DepotID" "2739611"
"FileMapping"
{
// This can be a full path, or a path relative to ContentRoot
"LocalPath" "windows\*"
// This is a path relative to the install folder of your game
"DepotPath" "."
// If LocalPath contains wildcards, setting this means that all
// matching files within subdirectories of LocalPath will also
// be included.
"Recursive" "1"
}
}

View File

@ -0,0 +1,18 @@
"DepotBuild"
{
"DepotID" "2739612"
"FileMapping"
{
// This can be a full path, or a path relative to ContentRoot
"LocalPath" "linux\*"
// This is a path relative to the install folder of your game
"DepotPath" "."
// If LocalPath contains wildcards, setting this means that all
// matching files within subdirectories of LocalPath will also
// be included.
"Recursive" "1"
}
}

View File

@ -1,4 +1,4 @@
[gd_scene load_steps=5 format=3 uid="uid://bgpec3avuotkt"]
[gd_scene load_steps=6 format=3 uid="uid://bgpec3avuotkt"]
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_no5d7"]
sky_top_color = Color(0.340506, 0.443905, 0.662582, 1)
@ -19,6 +19,8 @@ glow_enabled = true
[sub_resource type="CapsuleMesh" id="CapsuleMesh_ayuu8"]
[sub_resource type="SphereMesh" id="SphereMesh_no5d7"]
[node name="Node3D" type="Node3D"]
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
@ -33,5 +35,9 @@ environment = SubResource("Environment_8n7uv")
transform = Transform3D(0.796688, 0.604391, 0, -0.604391, 0.796688, 0, 0, 0, 1, 0, 0, 0)
mesh = SubResource("CapsuleMesh_ayuu8")
[node name="MeshInstance3D2" type="MeshInstance3D" parent="."]
transform = Transform3D(0.796688, 0.604391, 0, -0.604391, 0.796688, 0, 0, 0, 1, -0.779875, 0.463808, 0)
mesh = SubResource("SphereMesh_no5d7")
[node name="Camera3D" type="Camera3D" parent="."]
transform = Transform3D(-0.998152, 0, -0.0607699, 0, 1, 0, 0.0607699, 0, -0.998152, 0, 0, -2.11699)

7
new_script.gd Normal file
View File

@ -0,0 +1,7 @@
extends Node
# TODO
# Figure out how to name export
# Move export tempaltes out of the upload and into their own space to be downloaded from
# Steam build
# create tag on build with beta, branch, and commit version

1
new_script.gd.uid Normal file
View File

@ -0,0 +1 @@
uid://yj3hgyynjcvp