test: skip checking camoufox browser version if he cache hits

To avoid GitHub repeated rate-limit errors
This commit is contained in:
Karim shoair
2025-12-18 01:23:50 +02:00
parent ecb97d3fd6
commit 381c4eab7f
+4
View File
@@ -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