diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b6558ab5..c50f42d8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -89,7 +89,7 @@ jobs: cache-dependency-path: | web/package-lock.json docs-site/package-lock.json - - uses: actions/cache/restore@v4 + - uses: actions/cache/restore@v6 id: cargo-cache with: path: | @@ -145,7 +145,7 @@ jobs: path: target/release-rust-audit.json if-no-files-found: ignore - name: Preserve reusable Rust build cache after checks - uses: actions/cache/save@v4 + uses: actions/cache/save@v6 if: ${{ always() && !cancelled() && steps.cargo-cache.outputs.cache-hit != 'true' && steps.cargo-cache.outputs.cache-primary-key != '' }} with: path: | @@ -188,7 +188,7 @@ jobs: - uses: actions/checkout@v7 - name: Prepare private build directory run: mkdir -p "$RUNNER_TEMP/codifix-linux-build" && chmod 700 "$RUNNER_TEMP/codifix-linux-build" - - uses: actions/cache/restore@v4 + - uses: actions/cache/restore@v6 id: build-cache with: path: | @@ -208,7 +208,7 @@ jobs: fi bash packaging/ca-bookworm/release.sh "$GITHUB_SHA" "$RUNNER_TEMP/codifix-linux-build" "$(cat "$RUNNER_TEMP/bookworm-image-id")" "$ARCH" - name: Preserve reusable Bookworm cache after package checks - uses: actions/cache/save@v4 + uses: actions/cache/save@v6 if: ${{ always() && !cancelled() && steps.build-cache.outputs.cache-hit != 'true' && steps.build-cache.outputs.cache-primary-key != '' }} with: path: | @@ -277,7 +277,7 @@ jobs: node-version: 24 cache: npm cache-dependency-path: web/package-lock.json - - uses: actions/cache/restore@v4 + - uses: actions/cache/restore@v6 id: build-cache with: path: | @@ -313,7 +313,7 @@ jobs: fs.writeFileSync(`target/codifix-${application_version}-macos-${architecture}-build.json`,JSON.stringify({format:'codifix-macos-build-v1',application_version,architecture,source_commit,signing_status:'unsigned',notarized:false,native_package_acceptance:true,runtime_preservation_check:'sentinel-files-only',runtime_bundled:false,artifacts,toolchains:{rustc:command('rustc',['-vV']),node:process.version,npm:command('npm',['--version']),macos:command('sw_vers',['-productVersion']),xcode:command('xcodebuild',['-version'])}},null,2)+'\n'); NODE - name: Preserve reusable Mac build cache after package checks - uses: actions/cache/save@v4 + uses: actions/cache/save@v6 if: ${{ always() && !cancelled() && steps.build-cache.outputs.cache-hit != 'true' && steps.build-cache.outputs.cache-primary-key != '' }} with: path: | @@ -350,7 +350,7 @@ jobs: - uses: actions/setup-dotnet@v6 with: dotnet-version: 10.0.x - - uses: actions/cache/restore@v4 + - uses: actions/cache/restore@v6 id: build-cache with: path: | @@ -400,7 +400,7 @@ jobs: if ($LASTEXITCODE -ne 0) { throw 'Disposable PostgreSQL shutdown failed' } } - name: Preserve reusable Windows build cache after package checks - uses: actions/cache/save@v4 + uses: actions/cache/save@v6 if: ${{ always() && !cancelled() && steps.build-cache.outputs.cache-hit != 'true' && steps.build-cache.outputs.cache-primary-key != '' }} with: path: |