README formatting correction.
This commit is contained in:
@@ -41,17 +41,23 @@ jobs:
|
||||
- name: Regenerate README
|
||||
run: |
|
||||
{
|
||||
# Insert full system info as a code block, preserving formatting
|
||||
echo "# System Info"
|
||||
echo '```'
|
||||
cat <<'EOF'
|
||||
${{ steps.gen-sysinfo.outputs.stdout }}
|
||||
EOF
|
||||
echo '```'
|
||||
echo
|
||||
echo
|
||||
echo "# List of Services"
|
||||
echo
|
||||
echo
|
||||
echo '```'
|
||||
printf "%s\n" "${{ steps.gen-sysinfo.outputs.stdout }}"
|
||||
echo '```'
|
||||
echo
|
||||
echo
|
||||
# Append the generated service table
|
||||
printf "%s\n" "${{ steps.service-table.outputs.table }}"
|
||||
} > README.md
|
||||
|
||||
|
||||
- name: Add/Commit README.md
|
||||
id: commit-readme
|
||||
uses: EndBug/add-and-commit@a94899bca583c204427a224a7af87c02f9b325d5 # v9.1.4
|
||||
|
||||
Reference in New Issue
Block a user