Skip to content

:octocat: 🚀 An action that generates Steam auth codes.

License

Notifications You must be signed in to change notification settings

main-quest/fork-steam-totp

 
 

Repository files navigation

steam-totp

Test License: MIT

This action generates Steam's two factor auth codes for use in actions.

Usage

The following example logins into SteamCMD.

steps:
- name: Setup steamcmd
  uses: CyberAndrii/setup-steamcmd@v1
  
- name: Generate auth code
  id: generate
  uses: CyberAndrii/steam-totp@v1
  with:
    shared_secret: ${{ secrets.STEAM_SHARED_SECRET }}
  
- run: steamcmd +login ${{ secrets.STEAM_USERNAME }} ${{ secrets.STEAM_PASSWORD }} ${{ steps.generate.outputs.code }} +quit

It also uses setup-steamcmd action.

Inputs

name description required default
shared_secret Shared secret from the .maFile. true
time_offset The number of seconds that will be added to the current time. false 0

Outputs

name description
code Generated auth code.

About

:octocat: 🚀 An action that generates Steam auth codes.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 70.9%
  • Shell 29.1%