-
-
Notifications
You must be signed in to change notification settings - Fork 4
40 lines (38 loc) · 1 KB
/
pmml-nightly.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: Python application (PMML, Nightly Build)
on:
schedule:
- cron: 59 23 * * *
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: pmml
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.11
uses: actions/setup-python@v3
with:
python-version: "3.11"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Run All Steps (1-3)
run: |
python run_all_steps.py
- name: Git Config
run: |
git config user.name 'Nya Ξlimu'
git config user.email '[email protected]'
- name: Git Commit
run: |
git add step1_prepare/*.csv
git add step1_prepare/*.png
git add step2_train/*.pmml
git add step3_predict/*.csv
git add step3_predict/*.txt
git commit -m 'chore(ml): nightly build'
- name: Git Push
run: |
git push