Skip to content

Commit

Permalink
When using an output file, also use passthru
Browse files Browse the repository at this point in the history
  • Loading branch information
kvanbere committed Oct 7, 2023
1 parent 136ad17 commit 40aa586
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ runs:
METHOD: ${{ format(' -Method ''{0}''', inputs.method) }}
URI: ${{ format(' -Uri ''{0}''', inputs.uri) }}
CONTENT_TYPE: ${{ format(' -ContentType ''{0}''', inputs.content-type) }}
FILENAME: ${{ inputs.filename != '' && format(' -OutFile ''{0}''', inputs.filename) || '' }}
FILENAME: ${{ inputs.filename != '' && format(' -PassThru -OutFile ''{0}''', inputs.filename) || '' }}
USER_AGENT: ${{ inputs.user-agent != '' && format(' -UserAgent ''{0}''', inputs.user-agent) || '' }}
MAX_REDIRECTIONS: ${{ inputs.max-redirections != 5 && format(' -MaximumRedirection {0}', inputs.max-redirections) || '' }}
RETRIES: ${{ inputs.retries != 3 && format(' -MaximumRetryCount {0}', inputs.retries) || '' }}
Expand Down

0 comments on commit 40aa586

Please sign in to comment.