From 09fef5f3d47ab2307dbc31649713071be530a945 Mon Sep 17 00:00:00 2001 From: hangpersonal Date: Mon, 20 Oct 2025 18:51:33 -0700 Subject: [PATCH] Add .gitea/workflows/*.yaml --- .gitea/workflows/cache-verify.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.gitea/workflows/cache-verify.yml b/.gitea/workflows/cache-verify.yml index 34b5ccd..979352b 100644 --- a/.gitea/workflows/cache-verify.yml +++ b/.gitea/workflows/cache-verify.yml @@ -17,21 +17,21 @@ 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) # - Second run => HIT - name: Use actions/cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.cache/demo key: cache-verify-${{ runner.os }}-v1