Skip to content

Commit

Permalink
add workflow caching
Browse files Browse the repository at this point in the history
  • Loading branch information
Sup2point0 authored Apr 26, 2024
1 parent 3f3b4a4 commit cbdabb4
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/ai-bot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,14 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: '3.12'


- name: 'Python – restore cache'
uses: actions/cache@v1
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: ${{ runner.os }}-pip-

- name: 'Python – install packages'
run: |
python -m pip install --upgrade pip
Expand Down

0 comments on commit cbdabb4

Please sign in to comment.