forked from MycroftAI/lingua-franca
-
-
Notifications
You must be signed in to change notification settings - Fork 5
47 lines (45 loc) · 1.18 KB
/
gen_mkdown.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
41
42
43
44
45
46
47
# This workflow will generate a distribution and upload it to PyPI
name: Generate Markdown
on:
push:
branches:
- dev
paths-ignore:
- 'lingua_franca/version.py'
- 'test/**'
- 'examples/**'
- '.github/**'
- '.gitignore'
- 'LICENSE'
- 'CHANGELOG.md'
- 'lang_support.md'
- 'MANIFEST.in'
- 'readme.md'
- 'scripts/**'
workflow_dispatch:
jobs:
gen_mkdown:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: dev
fetch-depth: 0 # otherwise, there would be errors pushing refs to the destination repository.
- name: Setup Python
uses: actions/setup-python@v1
with:
python-version: 3.8
- name: Install Dependencies
run: |
sudo apt-get update
sudo apt install python3-dev
sudo python -m pip install build wheel
sudo pip install .
- name: Generate Markdown
run: |
sudo python scripts/generate_mkdown.py
- name: Commit to dev
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: generate_markdown
branch: dev