Update python-app.yml

This commit is contained in:
암냥 2025-02-02 14:20:57 +09:00 committed by GitHub
commit 8b4e0de501
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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: |