···11+# ---> Go
22+# If you prefer the allow list template instead of the deny list, see community template:
33+# https://github.com/github/gitignore/blob/main/community/Golang/Go.AllowList.gitignore
44+#
55+# Binaries for programs and plugins
66+*.exe
77+*.exe~
88+*.dll
99+*.so
1010+*.dylib
1111+1212+# Test binary, built with `go test -c`
1313+*.test
1414+1515+# Output of the go coverage tool, specifically when used with LiteIDE
1616+*.out
1717+1818+# Dependency directories (remove the comment below to include it)
1919+# vendor/
2020+2121+# Go workspace file
2222+go.work
2323+go.work.sum
2424+2525+# env file
2626+.env
2727+2828+steamci
···11+# SteamCI
22+33+This is a all contained Woodpecker CI plugins that will generate the .vdf of Steam for you, and then upload your game on the specified depot.
44+55+## Settings
66+- steam_username: The username linked with the auth vdf
77+- steam_auth_vdf: (More doc coming) A base64 encoded string that contains all the content of config.vdf that you will get when you execute the local +login command. A bit clanky because Steam don't provide easy access token, so you have to login on local to pass SteamGuard, and then copy the content of the file
88+- app_id: Your Steam App Id
99+- content_root: The root of the published folder
1010+- depot_id: Can be a single int or a mapping from matrix:depot_id
1111+- local_path: Where your builded game finish. Can be a single string or a mapping from matrix:local_path
1212+- matrix: A parameter to map your depot_id and local_path (Like Windows, Linux...)
1313+- set_live: Optionnal, deploy the build on a Steam branch. Can't be *default* due to security reason
1414+- description: Optionnal, a description that you may find on your Steamworks Dashboard (Default to the commit SHA)
1515+1616+## Example
1717+```yml
1818+when:
1919+ - event: push
2020+ branch: main
2121+2222+matrix:
2323+ TARGET:
2424+ - Windows
2525+ - Linux
2626+2727+steps:
2828+ - name: Build the game for ${TARGET}
2929+ image: ghcr.io/bigaston/godotci:4.5-beta3
3030+ commands:
3131+ - godot --version
3232+ - godot --headless --editor --import
3333+ - mkdir -p .build/${TARGET}
3434+ - godot --headless --export-release ${TARGET}
3535+3636+ - name: Upload Steam
3737+ image: ghcr.io/bigaston/steamci
3838+ settings:
3939+ steam_username: something_deploy
4040+ steam_auth_vdf:
4141+ from_secret: STEAM_AUTH_VDF
4242+ app_id: 000
4343+ content_root: ".build"
4444+ depot_id:
4545+ Windows: 000
4646+ Linux: 001
4747+ local_path:
4848+ Windows: "Windows/*"
4949+ Linux: "Linux/*"
5050+ matrix: ${TARGET}
5151+ set_live: "beta"
5252+```