2023-10-10 01:51:11 +00:00
|
|
|
name: GitHub Actions Demo
|
|
|
|
run-name: Convert excalidraw to svg references
|
|
|
|
on: [push]
|
|
|
|
jobs:
|
|
|
|
Excalidraw-To-SVG:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Check out repository code
|
|
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Set up Python 3.12
|
|
|
|
uses: actions/setup-python@v4
|
2023-10-10 01:57:25 +00:00
|
|
|
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'
|
2023-10-10 01:51:11 +00:00
|
|
|
- run: python main.py ${{ github.workspace }}
|
|
|
|
|