diff --git a/.github/workflows/go.yaml b/.github/workflows/go.yaml index 50937ae..ba1b809 100644 --- a/.github/workflows/go.yaml +++ b/.github/workflows/go.yaml @@ -19,7 +19,7 @@ jobs: cat final_result file_content="" - echo 'start<> $GITHUB_OUTPUT + echo 'KAFKA_RESTART<> $GITHUB_OUTPUT while read -r line; do #new_string=$(echo "$line" | sed -E 's/.*-([0-9]+)\.kafka-us-east-1b\.vungle\.io ([0-9]{1,3})$/\1_\2/') modify=$(echo "$line" | sed -E 's/.*-([0-9]+)\.kafka-us-east-1b\.vungle\.io ([0-9]+)/\1_\2/') @@ -28,11 +28,11 @@ jobs: echo $file_content - echo "content=$file_content" >> $GITHUB_OUTPUT + echo "$file_content" >> $GITHUB_OUTPUT # echo 'EOF' >> $GITHUB_OUTPUT # To be continue for run ANsible script - name: Run Ansible playbook run: | - echo "${{ steps.get_ref.outputs.content }}" + echo "${{ steps.get_ref.outputs.* }}" \ No newline at end of file