This action converts Figma files to Sketch ones using fig2sketch utility.
The following inputs briefly explained here are fully declared and documented in the action.yaml:
files
[Required] - Figma files to convert separated by|
.output_files
[Required] - Sketch files produced separated by|
.
Include this action in your repo by creating
.github/workflows/fig2sketch.yml
and edit where needed:
jobs:
examplejob:
runs-on: ubuntu-latest
name: Convert Figma files to Sketch ones
steps:
- uses: actions/checkout@v2
- uses: italia/figma-to-sketch-action@v0.1.3
with:
files: "my_ui.fig|my_best.fig"
output_files: "my_ui.sketch|my_best.sketch"
You can test this action creating a test_files
folder, ann .env
file
INPUT_FILES=./test_files/test-ui.fig
INPUT_OUTPUT_FILES=./test_files/test-ui.sketch
and a docker-compose.yml
version: '3.3'
services:
build:
image: italia/figma-to-sketch-action
container_name: figma2sketch-action
build:
context: ./
dockerfile: Dockerfile
env_file:
- .env
volumes:
- ./test_files:/test_files
networks:
- overlay
networks:
overlay:
Contributing is always appreciated. Feel free to open issues, fork or submit a Pull Request. If you want to know more about how to add new fields, check out CONTRIBUTING.md. In order to support other country-specific extensions in addition to Italy some refactoring might be needed.
This software is maintained by the Developers Italia team.
© 2024 Dipartimento per la Trasformazione Digitale - Presidenza del Consiglio dei Ministri
Licensed under the EUPL. The version control system provides attribution for specific lines of code.
This GitHub Action is published in the Github Marketplace. As such, you can find the Terms of Service here. Also, here you can find the GitHub Marketplace Developer Agreement.