From 40aa5865978dc526592facc01d85c17427e2bf14 Mon Sep 17 00:00:00 2001 From: Kyle Van Berendonck Date: Sat, 7 Oct 2023 18:59:17 +1100 Subject: [PATCH] When using an output file, also use passthru --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index cec59b5..c3d6391 100644 --- a/action.yml +++ b/action.yml @@ -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) || '' }}