File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2323 path : .build
2424 # Key includes product name so any rename (e.g. mlx-server→SwiftLM)
2525 # automatically busts the cache and prevents stale PCH errors.
26- key : ${{ runner.os }}-spm-SwiftLM-${{ hashFiles('Package.resolved') }}
26+ key : ${{ runner.os }}-spm-SwiftLM-v2- ${{ hashFiles('Package.resolved') }}
2727 restore-keys : |
28- ${{ runner.os }}-spm-SwiftLM-
28+ ${{ runner.os }}-spm-SwiftLM-v2-
2929
3030 - name : Resolve dependencies
3131 run : swift package resolve
Original file line number Diff line number Diff line change 2424 uses : actions/cache@v4
2525 with :
2626 path : .build
27- key : ${{ runner.os }}-spm-SwiftLM-${{ hashFiles('Package.resolved') }}
27+ key : ${{ runner.os }}-spm-SwiftLM-v2- ${{ hashFiles('Package.resolved') }}
2828 restore-keys : |
29- ${{ runner.os }}-spm-SwiftLM-
29+ ${{ runner.os }}-spm-SwiftLM-v2-
3030
3131 - name : Clear stale module cache
3232 # Prevents: "PCH was compiled with module cache path '…mlx-server…'
You can’t perform that action at this time.
0 commit comments