Skip to content

Commit

Permalink
Cleanup from v2 to v3 removing ssfn files (#58)
Browse files Browse the repository at this point in the history
* Cleanup from v2 to v3 removing ssfn files

* Remove first depot override
  • Loading branch information
davidmfinol authored Jun 14, 2023
1 parent 26412a2 commit 962e5e9
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 15 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,8 @@ jobs:
- uses: ./
with:
username: ${{ secrets.STEAM_USERNAME }}
password: ${{ secrets.STEAM_PASSWORD }}
configVdf: ${{ secrets.STEAM_CONFIG_VDF}}
ssfnFileName: ${{ secrets.STEAM_SSFN_FILE_NAME }}
ssfnFileContents: ${{ secrets.STEAM_SSFN_FILE_CONTENTS }}
configVdf: ${{ secrets.STEAM_CONFIG_VDF }}
appId: ${{ secrets.TEST_APP_ID }}
firstDepotIdOverride: ${{ secrets.TEST_FIRST_DEPOT_ID_OVERRIDE }}
buildDescription: v0.0.1
rootPath: build
depot1Path: StandaloneWindows64
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
deployToSteam:
runs-on: ubuntu-latest
steps:
- uses: game-ci/steam-deploy@v2
- uses: game-ci/steam-deploy@v3
with:
username: ${{ secrets.STEAM_USERNAME }}
configVdf: ${{ secrets.STEAM_CONFIG_VDF}}
Expand All @@ -61,7 +61,7 @@ jobs:
id: steam-totp
with:
shared_secret: ${{ secrets.STEAM_SHARED_SECRET }}
- uses: game-ci/steam-deploy@v2
- uses: game-ci/steam-deploy@v3
with:
username: ${{ secrets.STEAM_USERNAME }}
totp: ${{ steps.steam-totp.outputs.code }}
Expand All @@ -87,7 +87,7 @@ Deploying to Steam using TOTP. If this is not passed, `configVdf` is required.

Deploying to Steam requires using Multi-Factor Authentication (MFA) through Steam Guard unless `totp` is passed.
This means that simply using username and password isn't enough to authenticate with Steam.
However, it is possible to go through the MFA process only once by setting up GitHub Secrets for configVdf with these steps:
However, it is possible to go through the MFA process only once by setting up GitHub Secrets for `configVdf` with these steps:
1. Install [Valve's offical steamcmd](https://partner.steamgames.com/doc/sdk/uploading#1) on your local machine. All following steps will also be done on your local machine.
1. Try to login with `steamcmd +login <username> <password> +quit`, which may prompt for the MFA code. If so, type in the MFA code that was emailed to your builder account's email address.
1. Validate that the MFA process is complete by running `steamcmd +login <username> +quit` again. It should not ask for the MFA code again.
Expand Down
11 changes: 4 additions & 7 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ inputs:
username:
required: true
default: ''
description: 'The username of your builder account.'
description: 'The username of your builder account.'
totp:
required: false
description: 'The TOTP to use for login. If set, `configVdf`, `ssfnFileName`, and `ssfnFileContents` will be ignored.'
description: 'The TOTP to use for login. If set, `configVdf` will be ignored.'
configVdf:
required: false
description: 'The contents of STEAM_HOME/config/config.vdf. Required if `totp` is not set.'
description: 'The contents of STEAM_HOME/config/config.vdf. Required if `totp` is not set.'
appId:
required: true
default: ''
Expand Down Expand Up @@ -63,11 +63,8 @@ runs:
image: Dockerfile
env:
steam_username: ${{ inputs.username }}
steam_password: ${{ inputs.password }}
steam_totp: ${{ inputs.totp }}
configVdf: ${{ inputs.configVdf }}
ssfnFileName: ${{ inputs.ssfnFileName }}
ssfnFileContents: ${{ inputs.ssfnFileContents }}
appId: ${{ inputs.appId }}
firstDepotIdOverride: ${{ inputs.firstDepotIdOverride }}
buildDescription: ${{ inputs.buildDescription }}
Expand All @@ -81,4 +78,4 @@ runs:
depot7Path: ${{ inputs.depot7Path }}
depot8Path: ${{ inputs.depot8Path }}
depot9Path: ${{ inputs.depot9Path }}
releaseBranch: ${{ inputs.releaseBranch }}
releaseBranch: ${{ inputs.releaseBranch }}

0 comments on commit 962e5e9

Please sign in to comment.