Skip to content

Commit

Permalink
Update update_dataset.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
ambarja authored Jul 4, 2024
1 parent 9b0762e commit e2f6081
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/update_dataset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,23 +14,26 @@ jobs:
steps:

- name: checkout repo content
uses: actions/checkout@v2 # checkout the repository content to github runner
uses: actions/checkout@v2

- name: setup python
uses: actions/setup-python@v2
with:
python-version: '3.7.7' # install the python version needed
python-version: '3.7.x' # Use a flexible version

- name: install python packages
run: |
python -m pip install --upgrade pip
pip install -U pip setuptools
pip install pendulum beautifulsoup4 requests
- name: dataset upgrade
run: |
python3 ./.github/db_up.py
- name: file_check
run: ls -l -a

- name: commit files
continue-on-error: true
run: |
Expand All @@ -39,6 +42,7 @@ jobs:
git config --local user.name "GitHub Action"
git add -A
git commit -m "updated datasets ${today}" -a
- name: push changes
continue-on-error: true
uses: ad-m/[email protected]
Expand Down

0 comments on commit e2f6081

Please sign in to comment.