.github/workflows/create-animation.yml #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
workflow_dispatch: | |
jobs: | |
create_anim: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: Platane/snk@v3 | |
with: | |
# github user name to read the contribution graph from (**required**) | |
# using action context var `github.repository_owner` or specified user | |
github_user_name: ${{ github.repository_owner }} | |
# list of files to generate. | |
# one file per line. Each output can be customized with options as query string. | |
outputs: | | |
dist/github-snake.svg | |
dist/github-snake.gif | |
# Upload generated files | |
- name: Upload artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: animations | |
path: | | |
dist |