perform sentence alignment #33
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: perform sentence alignment | |
on: | |
schedule: | |
- cron: '0 12 1 */2 *' | |
workflow_dispatch: | |
jobs: | |
sentence_alignmet: | |
name: perform sentence alignment | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout repo content | |
uses: actions/checkout@v2 | |
- name: setup python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.8" | |
- name: install python packages | |
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: execute script | |
run: | | |
python3 src/sentence_alignment/main.py | |
- name: commit changes if any | |
uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: "Updated sentence_align files on `date` with GitHub Actions" |