Skip to content

Exporting .mlapp files to .m files #416

Exporting .mlapp files to .m files

Exporting .mlapp files to .m files #416

name: export-mlapp-files
run-name: Exporting .mlapp files to .m files
on: [push]
env:
MLM_LICENSE_TOKEN: ${{ secrets.MLM_LICENSE_TOKEN }}
jobs:
export-mlapp-files:
strategy:
matrix:
platform: [ubuntu-latest]
runs-on: ${{ matrix.platform }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Run python extract script
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Export mlapp files
run: python export_mlapp.py
- name: Remove temp files
run: rm -rf ./matlab
- name: Commit and Push to Repository
run: |
git config --local user.name "Github Action"
git config --local user.email "action@github.com"
git commit -am "Exported mlapp files" || exit 0
git push