-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (34 loc) · 1.36 KB
/
sentence_alignment_build.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
name: Sentence Alignment of Cabinet Speeches CI
on:
workflow_run:
workflows: ['fetch and update cabinent statements']
types:
- completed
workflow_dispatch:
jobs:
SentenceAlignment:
name: perform sentence alignment
runs-on: ubuntu-latest
steps:
- name: Checkout to develop/master branch
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.8"
- name: Install Python requirements
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Install Ubuntu packages
run: |
sudo apt-get install build-essential
sudo apt-get install cmake
sudo apt-get install zip
- name: Perform the sentence alignment
run: |
python3 ./src/sentence_alignment/main.py
- name: Commit and push the changes into the repository (master branch) if there are any
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: "📦(SA): Added new aligned files"