Add files via upload #32
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
name: Generate SVGs | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.8' | |
- name: Install dependencies | |
run: | | |
pip install svgwrite | |
- name: Run script | |
run: | | |
python Joyo-kanji.py | |
- name: Upload SVG files | |
uses: actions/upload-artifact@v3 | |
with: | |
name: svg-files | |
path: svg_files/ |