Update release-steam.yml

master
Vitaly Mikhailov 3 years ago committed by GitHub
parent fa17db9ad7
commit 7f3e335fb9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -92,12 +92,6 @@ jobs:
node-version: 16 node-version: 16
- run: cd ./steam-totp && npm ci - run: cd ./steam-totp && npm ci
- name: Set TOTP
id: steam
run: |
code=$(node steam-totp/src/index.js ${{ secrets.STEAM_AUTH_CODE }})
echo "::add-mask::$code"
echo "::set-output name=totp::$code"
- uses: CyberAndrii/setup-steamcmd@v1 - uses: CyberAndrii/setup-steamcmd@v1
@ -112,4 +106,7 @@ jobs:
} }
EOT EOT
- run: steamcmd +login "${{ secrets.STEAM_LOGIN }}" "${{ secrets.STEAM_PASSWORD }}" "${{ steps.steam.totp }}" +workshop_build_item "./item.vdf" +quit - run: |
code=$(node steam-totp/src/index.js ${{ secrets.STEAM_AUTH_CODE }})
echo "::add-mask::$code"
steamcmd +login "${{ secrets.STEAM_LOGIN }}" "${{ secrets.STEAM_PASSWORD }}" "$code" +workshop_build_item "./item.vdf" +quit

Loading…
Cancel
Save