logseq-publish-excalidraw-t.../action.yml
2023-10-13 19:03:04 +02:00

20 lines
643 B
YAML

name: Logseq Excalidraw to SVG
description: Converts excalidraw to svg references
inputs:
home-md-file:
description: Markdown file of the page you see when accessing the published site
required: false
runs:
using: composite
steps:
- name: Set up Python 3.12
uses: actions/setup-python@v4
with:
# Semantic version range syntax or exact version of a Python version
python-version: '3.12'
# Optional - x64 or x86 architecture, defaults to x64
architecture: 'x64'
- run: python ${{ github.action_path }}/main.py ${{ github.workspace }} ${{ inputs.home-md-file}}
shell: bash