feat: UI Kit Italia v3.1.0 #26
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: | |
push: | |
branches: [main] | |
paths: '*.fig' | |
jobs: | |
fig2sketch: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.11' | |
- run: pip install fig2sketch[fast] | |
- run: pip install certifi | |
- run: fig2sketch --force-convert-images --compress UI-Kit-Italia.fig UI-Kit-Italia.sketch | |
- uses: EndBug/add-and-commit@v9 | |
with: | |
add: UI-Kit-Italia.sketch | |
author_name: Bot | |
author_email: [email protected] | |
message: 🤖 update converted Sketch file | |
# Pull before committing, so that HEAD is updated if there | |
# have been any commits while the converter was running. | |
# | |
# `true` would be more elegant once https://github.com/EndBug/add-and-commit/issues/498 | |
# is fixed | |
pull: " " |