6
0

Attempt to use TOTP instead

This commit is contained in:
Jon Michael Aanes 2024-01-25 23:09:25 +01:00
parent dc44c65fb1
commit f09c935626

View File

@ -29,7 +29,7 @@ on:
STEAM_USERNAME:
type: string
required: false
STEAM_CONFIG_VDF:
STEAM_SHARED_SECRET:
type: string
required: false
@ -80,12 +80,6 @@ jobs:
echo "love="$(ls bin/*.love) >> "$GITHUB_OUTPUT"
echo "win64="$(ls bin/*-win64.zip) >> "$GITHUB_OUTPUT"
- name: Debugging publish
run: |
echo "github.event_name" = ${{ github.event_name }}
echo "ITCH_GAME_ID" = ${{ inputs.ITCH_GAME_ID }}
echo "STEAM_APP_ID" = ${{ inputs.STEAM_APP_ID }}
# Upload to itch
- uses: KikimoraGames/itch-publish@v0.0.3
@ -108,11 +102,17 @@ jobs:
# Upload to steam
- uses: CyberAndrii/steam-totp@v1
name: Generate TOTP
id: steam-totp
with:
shared_secret: ${{ secrets.STEAM_SHARED_SECRET }}
- uses: game-ci/steam-deploy@v3
if: always() && github.event_name == 'release' && inputs.STEAM_APP_ID
with:
username: ${{ secrets.STEAM_USERNAME }}
configVdf: ${{ secrets.STEAM_CONFIG_VDF }}
totp: ${{ steps.steam-totp.outputs.code }}
appId: ${{ inputs.STEAM_APP_ID }}
buildDescription: ${{ inputs.VERSION }}
rootPath: .