XComp commented on code in PR #23964:
URL: https://github.com/apache/flink/pull/23964#discussion_r1445934152


##########
tools/azure-pipelines/debug_files_utils.sh:
##########
@@ -21,7 +21,11 @@ function prepare_debug_files {
        MODULE=$@
        export DEBUG_FILES_OUTPUT_DIR="$AGENT_TEMPDIRECTORY/debug_files"
        export DEBUG_FILES_NAME="$(echo $MODULE | tr -c '[:alnum:]\n\r' 
'_')-$(date +%s)"
+       # make environment variables available in AzureCI workflow 
configurations
        echo "##vso[task.setvariable 
variable=DEBUG_FILES_OUTPUT_DIR]$DEBUG_FILES_OUTPUT_DIR"
        echo "##vso[task.setvariable 
variable=DEBUG_FILES_NAME]$DEBUG_FILES_NAME"
+       # make environment variables available in Github Actions workflow 
configuration
+       echo "debug-files-output-dir=${DEBUG_FILES_OUTPUT_DIR}" >> 
$GITHUB_OUTPUT
+       echo "debug-files-name=${DEBUG_FILES_NAME}" >> $GITHUB_OUTPUT

Review Comment:
   I added a if branch checking for the existence of the file, anyway.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to