diff --git a/.gitea/workflows/cache-verify.yml b/.gitea/workflows/cache-verify.yml index 979352b..6c3fe96 100644 --- a/.gitea/workflows/cache-verify.yml +++ b/.gitea/workflows/cache-verify.yml @@ -17,15 +17,15 @@ jobs: echo "ACTIONS_RUNTIME_URL=${ACTIONS_RUNTIME_URL}" # 2) Ping the cache status endpoint (works with either host IP or service name) - #- name: Probe cache server - # run: | - # URL="${ACTIONS_CACHE_URL%/}/_apis/artifactcache/status" - # echo "Checking: $URL" - # if command -v curl >/dev/null 2>&1; then - # curl -fsS "$URL" - # else - # wget -qO- "$URL" - # fi + - name: Probe cache server + run: | + URL="${ACTIONS_CACHE_URL%/}/_apis/artifactcache/status" + echo "Checking: $URL" + if command -v curl >/dev/null 2>&1; then + curl -fsS "$URL" + else + wget -qO- "$URL" + fi # 3) Use the cache action with a stable key # - First run => MISS (will SAVE at the end)