diff --git a/.github/workflows/generator-windows.yml b/.github/workflows/generator-windows.yml index 8a1862e..c2489b5 100644 --- a/.github/workflows/generator-windows.yml +++ b/.github/workflows/generator-windows.yml @@ -542,7 +542,7 @@ jobs: continue-on-error: true if: env.UPLOAD_ARTIFACT == 'true' run: | - if [ "${{ inputs.appname }}" != "rustdesk" ] + if [[ "${{ inputs.appname }}" != "rustdesk" ]]; then $myappname = "${{ inputs.appname }}" -replace '\s','_' cp "rustdesk/${{ inputs.appname }}.exe" "rustdesk/${myappname}.exe" fi diff --git a/.github/workflows/pre137-generator-windows.yml b/.github/workflows/pre137-generator-windows.yml index e8f14e9..cef7fbd 100644 --- a/.github/workflows/pre137-generator-windows.yml +++ b/.github/workflows/pre137-generator-windows.yml @@ -540,7 +540,7 @@ jobs: continue-on-error: true if: env.UPLOAD_ARTIFACT == 'true' run: | - if [ "${{ inputs.appname }}" != "rustdesk" ] + if [[ "${{ inputs.appname }}" != "rustdesk" ]]; then $myappname = "${{ inputs.appname }}" -replace '\s','_' cp "rustdesk/${{ inputs.appname }}.exe" "rustdesk/${myappname}.exe" fi