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

20 lines
671 B
YAML
Raw Normal View History

2023-10-10 01:58:30 +00:00
name: Logseq Excalidraw to SVG
2023-10-10 02:09:37 +00:00
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
2023-10-10 02:09:37 +00:00
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}}"
2023-10-10 02:09:37 +00:00
shell: bash
2023-10-10 01:51:11 +00:00