logseq-publish-excalidraw-t.../action.yml

20 lines
671 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 }}" "${{ github.workspace }}/${{ inputs.home-md-file}}"
shell: bash