Adding steam publishing
This commit is contained in:
@ -82,3 +82,21 @@ jobs:
|
||||
with:
|
||||
name: 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"
|
||||
14
build/build_dependencies/steam/app_build_2739610.vdf
Normal file
14
build/build_dependencies/steam/app_build_2739610.vdf
Normal 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"
|
||||
}
|
||||
}
|
||||
18
build/build_dependencies/steam/depot_build_2739611.vdf
Normal file
18
build/build_dependencies/steam/depot_build_2739611.vdf
Normal 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"
|
||||
}
|
||||
}
|
||||
18
build/build_dependencies/steam/depot_build_2739612.vdf
Normal file
18
build/build_dependencies/steam/depot_build_2739612.vdf
Normal 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"
|
||||
}
|
||||
}
|
||||
@ -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
7
new_script.gd
Normal 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
1
new_script.gd.uid
Normal file
@ -0,0 +1 @@
|
||||
uid://yj3hgyynjcvp
|
||||
Reference in New Issue
Block a user