Skip to content

Commit

Permalink
[c] Use Python v3.8 for cron task and install necessary packages
Browse files Browse the repository at this point in the history
  • Loading branch information
lamle-ea committed Sep 27, 2023
1 parent ee5a6b9 commit 9fba9d2
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/archive.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,18 +31,18 @@ jobs:
sudo openvpn --config /etc/openvpn/ovpn.conf --daemon
sleep 120
- name: Set up Python 3.7
- name: Set up Python 3.8
uses: actions/setup-python@v1
with:
python-version: 3.7
python-version: 3.8

- name: Install Pipenv
uses: dschep/install-pipenv-action@v1

- name: Install dependencies
run: pipenv sync
env:
PIPENV_DEFAULT_PYTHON_VERSION: 3.7
PIPENV_DEFAULT_PYTHON_VERSION: 3.8

- name: Run scrapers
run: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,18 +36,18 @@ jobs:
sudo openvpn --config /etc/openvpn/ovpn.conf --daemon
sleep 120
- name: Set up Python 3.7
- name: Set up Python 3.8
uses: actions/setup-python@v1
with:
python-version: 3.7
python-version: 3.8

- name: Install Pipenv
uses: dschep/install-pipenv-action@v1

- name: Install dependencies
run: pipenv sync
env:
PIPENV_DEFAULT_PYTHON_VERSION: 3.7
PIPENV_DEFAULT_PYTHON_VERSION: 3.8

- name: Run scrapers
run: |
Expand Down
27 changes: 26 additions & 1 deletion Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9fba9d2

Please sign in to comment.