贪吃蛇动画

This commit is contained in:
jimmy committed 2025-01-05 21:49:26 +08:00
1 parent 21d8c8d591
commit 558da72143
2 files changed
+15 -1

No files matched your search

+9
View File
@@ -40,6 +40,15 @@ jobs:
env:
HUGO_VERSION: ${{ github.event.inputs.hugoVersion || '0.125.7' }}
steps:
- # generates a snake game from a github user (<github_user_name>) contributions graph, output a svg animation at <svg_out_path>
- name: generate github-contribution-grid-snake.svg
- uses: Platane/snk/svg-only@v3
- with:
- github_user_name: ${{ github.repository_owner }}
- outputs: |
- dist/github-contribution-grid-snake.svg
- dist/github-contribution-grid-snake-dark.svg?palette=github-dark
- name: Install Hugo CLI
run: |
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_${HUGO_VERSION}_linux-amd64.deb \