fix steams ci (#10)

This commit is contained in:
extrawurst
2025-03-20 21:45:42 +01:00
committed by GitHub
parent af709eb4d9
commit 2e0778afe9
2 changed files with 18 additions and 23 deletions

View File

@@ -3,28 +3,24 @@
see https://partner.steamgames.com/doc/sdk/uploading#Build_Account
# buildmachine auth key
go on a linux x86 machine:
# buildmachine auth key (on mac)
```
mkdir ~/Steam && cd ~/Steam
curl -sqL "https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz" | tar zxvf -
chmod +x ~/Steam/
~/Steam/steamcmd.sh +help +quit
./builder_osx/steamcmd +login $STEAM_USR $STEAM_PWD +quit
```
now we have to login with out ci account:
verify credentials cached locally work:
```
~/Steam/steamcmd.sh +login USERNAME +quit
./builder_osx/steamcmd +login $STEAM_USR +quit
```
If succesfull this creates `~/Steam/config/config.vdf`.
If succesfull this creates `~/Library/Application\ Support/Steam/config/config.vdf`.
On a mac:
```
cp ~/Library/Application\ Support/Steam/config/config.vdf config.vdf
cat config.vdf | gzip | base64 | pbcopy
```
The gzipped and base64 encoded file is now in the clipboard and ready to be put into a CI secret.
The gzipped and base64 encoded file is now in the clipboard and ready to be put into a CI secret.