Update .gitea/workflows/ci.yml
All checks were successful
Update Community Skins README / Full CI/CD Pipeline (push) Successful in 7s

This commit is contained in:
Arlind
2025-06-20 15:42:20 +02:00
parent ef0cbf208e
commit 8af0c4ac25

View File

@@ -113,7 +113,8 @@ jobs:
avatar_rows_file="${{ steps.find_skins.outputs.avatar_rows_file }}"
README_PATH="README.md" # Assuming README.md is in the root of the repository
cat <<-EOF > "$README_PATH"
# Use `cat >` for the initial content, no indentation inside the heredoc
cat > "$README_PATH" <<-EOF
# osu! Swiss Community Skin collection
Welcome to the osu! Swiss Community Skin collection, this repository archives and showcases Skins osc members use.
@@ -125,6 +126,7 @@ jobs:
If you're interested in adding your skins here please follow this tutorial [how-to-use](/how-to-use.md)
## Skins
<details>
<summary>list instead of icons</summary>
<br />
@@ -141,9 +143,9 @@ jobs:
<tbody>
EOF
sort -t '|' -k1,1n "$user_rows_file" | cut -d'|' -f2- >> "$README_PATH"
sort -t '|' -k1,1n "$user_rows_file" | cut -d'|' -f2- | sed 's/^/ /' >> "$README_PATH"
cat <<-EOF >> "$README_PATH"
cat >> "$README_PATH" <<-EOF
</tbody>
</table>
</details>
@@ -151,9 +153,9 @@ jobs:
<p align="center">
EOF
sort -t '|' -k1,1n "$avatar_rows_file" | cut -d'|' -f2- >> "$README_PATH"
sort -t '|' -k1,1n "$avatar_rows_file" | cut -d'|' -f2- | sed 's/^/ /' >> "$README_PATH"
cat <<-EOF >> "$README_PATH"
cat >> "$README_PATH" <<-EOF
</p>
EOF