Update release-steam.yml

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

@ -48,7 +48,6 @@ jobs:
shell: pwsh shell: pwsh
- name: Set Description - name: Set Description
if: ${{ inputs.mod_description == '' }}
id: set_description id: set_description
run: | run: |
if ${{ inputs.mod_description == '' }} if ${{ inputs.mod_description == '' }}
@ -59,7 +58,11 @@ jobs:
desc="${desc//$'\r'/'%0D'}" desc="${desc//$'\r'/'%0D'}"
echo "::set-output name=mod_description::$desc" echo "::set-output name=mod_description::$desc"
else else
echo "::set-output name=mod_description::${{ inputs.mod_description }}" desc="${{ inputs.mod_description }}"
desc="${desc//'%'/'%25'}"
desc="${desc//$'\n'/'%0A'}"
desc="${desc//$'\r'/'%0D'}"
echo "::set-output name=mod_description::$desc"
fi fi
- run: | - run: |
@ -132,7 +135,7 @@ jobs:
"appid" "261550" "appid" "261550"
"publishedfileid" "${{ inputs.workshop_id }}" "publishedfileid" "${{ inputs.workshop_id }}"
"contentfolder" "$GITHUB_WORKSPACE/artifact/Modules/${{ inputs.mod_id }}" "contentfolder" "$GITHUB_WORKSPACE/artifact/Modules/${{ inputs.mod_id }}"
"changenote" "${{ inputs.mod_description }}" "changenote" "${{ steps.set_description.outputs.mod_description }}"
} }
EOT EOT

Loading…
Cancel
Save