diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1d5c575a25..1c2170c700 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -143,6 +143,7 @@ jobs: - name: Cache .nuke/temp, ~/.nuget/packages id: cache-nuget uses: actions/cache@v4 + continue-on-error: true with: path: | .nuke/temp @@ -224,8 +225,8 @@ jobs: - name: Cache MaaDeps id: cache-maadeps - continue-on-error: true uses: actions/cache@v4 + continue-on-error: true with: path: ./src/MaaUtils/MaaDeps key: ${{ runner.os }}-${{ matrix.arch == 'x86_64' && 'x64' || 'arm64' }}-maadeps-${{ hashFiles('tools/maadeps-download.py') }} @@ -348,8 +349,8 @@ jobs: - name: Cache MaaDeps id: cache-maadeps - continue-on-error: true uses: actions/cache@v4 + continue-on-error: true with: path: ./src/MaaUtils/MaaDeps key: ${{ runner.os }}-${{ matrix.arch == 'x86_64' && 'x64' || 'arm64' }}-maadeps-${{ hashFiles('tools/maadeps-download.py') }} diff --git a/.github/workflows/markdown-checker.yml b/.github/workflows/markdown-checker.yml index 5336338e22..7d5d5b10c1 100644 --- a/.github/workflows/markdown-checker.yml +++ b/.github/workflows/markdown-checker.yml @@ -37,6 +37,7 @@ jobs: - name: Cache lychee responses uses: actions/cache@v4 + continue-on-error: true with: path: .lycheecache key: lychee-cache diff --git a/.github/workflows/optimize-templates.yml b/.github/workflows/optimize-templates.yml index b79304c411..f581988417 100644 --- a/.github/workflows/optimize-templates.yml +++ b/.github/workflows/optimize-templates.yml @@ -58,6 +58,7 @@ jobs: # id: cache_python # if: steps.check_push.outputs.is_pr != 'True' && always() # uses: actions/cache@v4 + # continue-on-error: true # with: # path: ${{ env.pythonLocation }}/lib/python3.11/site-packages # key: ${{ runner.os }}-pip-optimize-templates-${{ hashFiles('./tools/OptimizeTemplates/requirements.txt') }} diff --git a/.github/workflows/release-nightly-ota.yml b/.github/workflows/release-nightly-ota.yml index 2b08e96961..1a77db485c 100644 --- a/.github/workflows/release-nightly-ota.yml +++ b/.github/workflows/release-nightly-ota.yml @@ -172,6 +172,7 @@ jobs: - name: Cache MaaDeps id: cache-maadeps uses: actions/cache@v4 + continue-on-error: true with: path: | ./src/MaaUtils/MaaDeps @@ -201,6 +202,7 @@ jobs: - name: Cache .nuke/temp, ~/.nuget/packages id: cache-nuget uses: actions/cache@v4 + continue-on-error: true with: path: | .nuke/temp diff --git a/.github/workflows/res-update-game.yml b/.github/workflows/res-update-game.yml index 7fb58f2e9c..a581419556 100644 --- a/.github/workflows/res-update-game.yml +++ b/.github/workflows/res-update-game.yml @@ -147,6 +147,7 @@ jobs: - name: Restore ResourceUpdater from cache id: resupd-cache uses: actions/cache/restore@v4 + continue-on-error: true with: key: ResourceUpdater-${{ runner.os }}-${{ hashFiles('tools/ResourceUpdater/main.cpp') }} path: | @@ -157,6 +158,7 @@ jobs: if: steps.resupd-cache.outputs.cache-hit != 'true' id: maadeps-cache uses: actions/cache@v4 + continue-on-error: true with: path: | ./src/MaaUtils/MaaDeps @@ -192,6 +194,7 @@ jobs: - name: Save ResourceUpdater to cache if: always() && steps.resupd-cache.outputs.cache-hit != 'true' uses: actions/cache/save@v4 + continue-on-error: true with: key: ResourceUpdater-${{ runner.os }}-${{ hashFiles('tools/ResourceUpdater/main.cpp') }} path: | @@ -256,6 +259,7 @@ jobs: if: always() && steps.update_version.outputs.contains_png == 'True' id: cache_python uses: actions/cache@v4 + continue-on-error: true with: path: ${{ env.pythonLocation }}/Lib/site-packages key: ${{ runner.os }}-pip-optimize-templates-${{ hashFiles('./tools/OptimizeTemplates/requirements.txt') }} diff --git a/.github/workflows/smoke-testing.yml b/.github/workflows/smoke-testing.yml index 9be3d03162..f4e4d3092c 100644 --- a/.github/workflows/smoke-testing.yml +++ b/.github/workflows/smoke-testing.yml @@ -51,6 +51,7 @@ jobs: - name: Restore cache for Smoke Test id: smoke-cache uses: actions/cache/restore@v4 + continue-on-error: true with: key: ${{ steps.cache_key.outputs.key }} path: | @@ -70,6 +71,7 @@ jobs: if: steps.smoke-cache.outputs.cache-hit != 'true' id: maadeps-cache uses: actions/cache@v4 + continue-on-error: true with: path: ./src/MaaUtils/MaaDeps key: ${{ runner.os }}-arm64-maadeps-${{ hashFiles('tools/maadeps-download.py') }} @@ -115,6 +117,7 @@ jobs: - name: Save cache for Smoke Test (only in dev) if: steps.smoke-cache.outputs.cache-hit != 'true' && github.ref == 'refs/heads/dev' uses: actions/cache/save@v4 + continue-on-error: true with: key: ${{ steps.cache_key.outputs.key }} path: |