Update release-steam.yml

master
Vitaly Mikhailov 3 years ago committed by GitHub
parent 08221ed271
commit 1edf7719d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -85,7 +85,7 @@ jobs:
- run: | - run: |
cat << EOT > steam-totp/src/index.js cat << EOT > steam-totp/src/index.js
console.log(require('steam-totp').generateAuthCode(process.argv[0])); console.log(require('steam-totp').generateAuthCode(process.argv[2]));
- uses: actions/setup-node@v3.4.1 - uses: actions/setup-node@v3.4.1
with: with:
@ -95,7 +95,7 @@ jobs:
- name: Set TOTP - name: Set TOTP
id: steam id: steam
run: | run: |
code=$(node ./steam-totp/src/index.js ${{ secrets.STEAM_AUTH_CODE }}) code=$(node steam-totp/src/index.js ${{ secrets.STEAM_AUTH_CODE }})
echo '::add-mask::$code' echo '::add-mask::$code'
echo '::set-output name=totp::$code' echo '::set-output name=totp::$code'
@ -108,7 +108,7 @@ jobs:
"appid" "261550" "appid" "261550"
"publishedfileid" "2859188632" "publishedfileid" "2859188632"
"contentfolder" "./artifact" "contentfolder" "./artifact"
"changenote" "${{ steps.version.outputs.mod_description }}" "changenote" "${{ inputs.mod_description }}"
} }
EOT EOT

Loading…
Cancel
Save