test: skip checking camoufox browser version if he cache hits
To avoid GitHub repeated rate-limit errors
This commit is contained in:
@@ -108,7 +108,11 @@ jobs:
|
|||||||
- name: Install Camoufox browser
|
- name: Install Camoufox browser
|
||||||
run: |
|
run: |
|
||||||
echo "Cache hit: ${{ steps.camoufox-cache.outputs.cache-hit }}"
|
echo "Cache hit: ${{ steps.camoufox-cache.outputs.cache-hit }}"
|
||||||
|
if [ "${{ steps.camoufox-cache.outputs.cache-hit }}" != "true" ]; then
|
||||||
python3 -m camoufox fetch --browserforge
|
python3 -m camoufox fetch --browserforge
|
||||||
|
else
|
||||||
|
echo "Skipping fetch - using cached Camoufox browser"
|
||||||
|
fi
|
||||||
|
|
||||||
# Cache tox environments
|
# Cache tox environments
|
||||||
- name: Cache tox environments
|
- name: Cache tox environments
|
||||||
|
|||||||
Reference in New Issue
Block a user