game-ci / steam-deploy

Github Action to deploy a game to Steam
MIT License
221 stars 63 forks source link

Setup a Steam App Id for tests #18

Closed davidmfinol closed 2 years ago

davidmfinol commented 2 years ago

In order to get .github/workflows/main.yml to validate any changes to this action, we should setup a proper Steam Build Account that can upload to a Steam App Id that would be used exclusively for testing this action.

webbertakken commented 2 years ago

GameCI has donations that we could use to register an application to steam partner.

The costs were ~100 USD per application last time I registered one. Unless someone would like to sponsor their existing steam builder account :)

Not sure about which legal entity to use though. Any ideas?

bilalakil commented 2 years ago

I think I can volunteer one. Looks like I can use User Groups in Steamworks to restrict the permissions to a single app, and I'll make a new DLC that's never going to see the light of day dedicated to this. That means you'll get passing builds but you won't really be able to see what's going on behind it though - is that acceptable? Also it'd be under my Doodad Games PTY LTD Steam account legally speaking.

Although theoretically any of you can do this if you find it more trustable:

Side note: I wonder if there's a way, once this is done, to automatically download the game from Steam and verify the contents for a proper end-to-end test 🤔

webbertakken commented 2 years ago

That's very kind of you, we'll keep that in mind.

For now we're also exploring which legal entity to use for game-ci, not just limited to steam. It might be worth it in the long run.

See discord #game-ci-legal-entity

bilalakil commented 2 years ago

I've skimmed the channel and that's admittedly a deeper topic than I can provide useful input for. I've done all the legalities by hand here in Australia but I've no knowledge if I've done it "the best way" or not 😅

However, I'll still offer using mine as a stop-gap to get passing tests if you like. Should just be a matter of changing secrets once the entity is set up. Let me know 🙂

webbertakken commented 2 years ago

That's admittedly still a very good idea. I've given you temporary maintainer status to this repo. Feel free to set it up as you suggested.

bilalakil commented 2 years ago

I've accepted the maintainer invite, but I don't seem to be able to modify the secrets, if that was the intention. If not, then what's the plan? 😛

bilalakil commented 2 years ago

After having gotten things working, I've learned there's a little more to the steps listed above to get things working with a DLC:

On an admin account:

On the Steam Build Account:

You should now be good to go

webbertakken commented 2 years ago

I've accepted the maintainer invite, but I don't seem to be able to modify the secrets, if that was the intention. If not, then what's the plan? 😛

I see, maybe must be admin to edit secrets. I've upgraded your status.

bilalakil commented 2 years ago

Thanks! I've updated the secrets, although I'd suggest waiting until #26 is merged before taking back the authority in case I need to change anything (because I can't tell if it's all right yet - turns out secrets aren't passed to PRs from forked repos).

webbertakken commented 2 years ago

No rush :) Thanks again for thinking along and helping out the community.

bilalakil commented 2 years ago

main has successfully deployed to the test DLC and passed tests 😀 You can remove my admin privileges now 😛

Although if you think it's ok, I wouldn't mind being left as a collaborator so I could work in branches in this repo instead of in a fork?

webbertakken commented 2 years ago

Great. I've changed your privilege to write access.