Skip to content

Commit

Permalink
change frequency of caching
Browse files Browse the repository at this point in the history
  • Loading branch information
YigitElma committed Aug 21, 2024
1 parent bf158a0 commit 77d2cea
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pythonpip.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
name: Cache Python and pip dependencies
# This workflow is triggered every Sunday at midnight and updates the Python and pip dependencies cache
# This workflow is triggered every 2 days and updates the Python
# and pip dependencies cache

on:
schedule:
- cron: '0 0 * * 0' # This triggers the workflow every Sunday at midnight
- cron: '0 0 */2 * *' # This triggers the workflow every 2 days at midnight
workflow_dispatch:

jobs:
Expand Down Expand Up @@ -31,7 +32,6 @@ jobs:
${{ runner.os }}-venv-${{ matrix.python-version }}-
- name: Set up virtual environment
if: steps.cache-env.outputs.cache-hit != 'true'
run: |
python -m venv .venv-${{ matrix.python-version }}
source .venv-${{ matrix.python-version }}/bin/activate
Expand Down

0 comments on commit 77d2cea

Please sign in to comment.