Update python-app.yml
This commit is contained in:
parent
f573015254
commit
8b4e0de501
1 changed files with 6 additions and 2 deletions
8
.github/workflows/python-app.yml
vendored
8
.github/workflows/python-app.yml
vendored
|
|
@ -40,7 +40,7 @@ jobs:
|
|||
uses: actions/cache@v3
|
||||
with:
|
||||
path: /home/runner/work/today.isangjeong/today.isangjeong/app/temp/auth
|
||||
key: ${{ runner.os }}-cookie-${{ hashFiles('/home/runner/work/today.isangjeong/today.isangjeong/app/temp/auth') }}
|
||||
key: ${{ runner.os }}-cookie-${{ hashFiles('/home/runner/work/today.isangjeong/today.isangjeong/app/temp/auth/cookies.json') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-cookie-
|
||||
|
||||
|
|
@ -48,7 +48,11 @@ jobs:
|
|||
run: |
|
||||
pwd
|
||||
python -m pip install --upgrade pip
|
||||
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
|
||||
if [ -f requirements.txt ] && ! pip freeze | diff - requirements.txt > /dev/null; then
|
||||
pip install -r requirements.txt
|
||||
else
|
||||
echo "No changes in requirements.txt, skipping installation"
|
||||
fi
|
||||
|
||||
- name: Set Permission
|
||||
run: |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue