Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
byang committed Nov 8, 2024
1 parent 3cdbd01 commit 7092ba8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/go.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,17 @@ jobs:
cat final_result
file_content=""
echo '<<EOF' >> $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/')
file_content+="$modify"$'\n' # Append line and add a newline character
done < final_result
echo $file_content
echo "content=$file_content" >> $GITHUB_OUTPUT
echo 'EOF' >> $GITHUB_OUTPUT
# To be continue for run ANsible script
- name: Run Ansible playbook
Expand Down

0 comments on commit 7092ba8

Please sign in to comment.