mirror of
https://github.com/vrtmrz/obsidian-livesync.git
synced 2026-10-17 14:52:32 +00:00
Preserve the multi-platform CLI build cache during validation
This commit is contained in:
@@ -58,8 +58,11 @@ jobs:
|
||||
load: true
|
||||
tags: livesync-cli
|
||||
platforms: linux/amd64
|
||||
cache-from: type=gha,scope=cli-image
|
||||
cache-to: type=gha,scope=cli-image,mode=max
|
||||
cache-from: |
|
||||
type=gha,scope=cli-image-amd64
|
||||
type=gha,scope=cli-image
|
||||
# Keep amd64 validation from replacing the cache for both platforms.
|
||||
cache-to: type=gha,scope=cli-image-amd64,mode=max
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v5
|
||||
|
||||
@@ -129,5 +129,7 @@ jobs:
|
||||
push: ${{ steps.meta.outputs.push }}
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
platforms: linux/amd64,linux/arm64
|
||||
cache-from: type=gha,scope=cli-image
|
||||
cache-from: |
|
||||
type=gha,scope=cli-image-amd64
|
||||
type=gha,scope=cli-image
|
||||
cache-to: type=gha,scope=cli-image,mode=max
|
||||
|
||||
Reference in New Issue
Block a user