Skip to content

.

. #63

Workflow file for this run

name: Python package
on: [push]
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v5
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v5
- name: Run the converter
run: python convert.py
- name: Commit files
run: |
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git commit -a -m "Updated the generated typescript files" || echo "No changes to commit"
- name: Push changes
uses: ad-m/github-push-action@master
with:
branch: ${{ github.ref }}