File tree Expand file tree Collapse file tree 2 files changed +6
-11
lines changed
Expand file tree Collapse file tree 2 files changed +6
-11
lines changed Original file line number Diff line number Diff line change 6060 with :
6161 python-version : ' 3.11'
6262
63- - name : Cache session file
64- uses : actions/cache@v4
65- with :
66- path : backend/session-${{ secrets.USERNAME }}
67- key : ${{ runner.os }}-instaloader-session-${{ secrets.USERNAME }}
68-
6963 - name : Cache pip
7064 uses : actions/cache@v4
7165 with :
@@ -75,12 +69,12 @@ jobs:
7569 ${{ runner.os }}-pip-
7670
7771 - name : Cache Instaloader session
78- uses : actions/cache@v3
72+ uses : actions/cache@v4
7973 with :
8074 path : .insta_cache
81- key : insta- session-${{ hashFiles('**/requirements.txt') }}
75+ key : ${{ runner.os }}-instaloader- session-${{ secrets.USERNAME }}
8276 restore-keys : |
83- insta -session-
77+ ${{ runner.os }}-instaloader -session-
8478
8579 - name : Install dependencies
8680 working-directory : backend
10397 if : always()
10498 uses : actions/upload-artifact@v4
10599 with :
106- name : scraping- logs-${{ github.run_number }}
100+ name : logs-${{ github.run_number }}
107101 path : |
108102 backend/scraping/logs/
109103 backend/scraping/*.log
@@ -114,7 +108,6 @@ jobs:
114108 id : generate_static
115109 working-directory : backend/scraping
116110 run : python generate_static_data.py
117-
118111
119112 - name : Commit and push changes
120113 if : steps.generate_static.outcome == 'success'
Original file line number Diff line number Diff line change 88
99logging .getLogger ("urllib3" ).setLevel (logging .WARNING )
1010logging .getLogger ("requests" ).setLevel (logging .WARNING )
11+ logging .getLogger ("botocore" ).setLevel (logging .WARNING )
12+ logging .getLogger ("httpcore" ).setLevel (logging .WARNING )
1113logging .basicConfig (
1214 level = logging .DEBUG ,
1315 format = "%(asctime)s - %(name)s - %(levelname)s - %(message)s" ,
You can’t perform that action at this time.
0 commit comments