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
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: /home/runner/work/today.isangjeong/today.isangjeong/app/temp/auth
|
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: |
|
restore-keys: |
|
||||||
${{ runner.os }}-cookie-
|
${{ runner.os }}-cookie-
|
||||||
|
|
||||||
|
|
@ -48,7 +48,11 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
pwd
|
pwd
|
||||||
python -m pip install --upgrade pip
|
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
|
- name: Set Permission
|
||||||
run: |
|
run: |
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue