Skip to content

Download MLJ ModelDescriptors.toml #897

Download MLJ ModelDescriptors.toml

Download MLJ ModelDescriptors.toml #897

Workflow file for this run

name: Download MLJ ModelDescriptors.toml
on:
schedule:
- cron: "0 */6 * * *"
workflow_dispatch:
jobs:
download-and-commit:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Create directory if it does not exist
run: mkdir -p src/lib/Data
- name: Download file
run: |
curl -o src/lib/Data/ModelDescriptors.toml https://raw.githubusercontent.com/JuliaAI/MLJ.jl/dev/docs/ModelDescriptors.toml
- name: Commit changes
run: |
git config --global user.name "GitHub Actions"
git config --global user.email "[email protected]"
git add src/lib/Data/ModelDescriptors.toml
git commit -m "⬆️ Update ModelDescriptors from MLJ.jl"
git push