Skip to content

Commit 02e3d55

Browse files
committed
fix: reuse restored iOS cache key
1 parent 21fd464 commit 02e3d55

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ runs:
241241
uses: actions/cache/save@v4
242242
with:
243243
path: ${{ steps.load-config.outputs.projectRoot }}/.harness/cache
244-
key: harness-ios-${{ runner.os }}-${{ hashFiles(format('{0}/.harness/cache/**/cache.json', steps.load-config.outputs.projectRoot)) }}
244+
key: ${{ steps.cache-harness-restore.outputs.cache-primary-key }}
245245
- name: Upload crash report artifacts
246246
if: always()
247247
uses: actions/upload-artifact@v4

packages/github-action/src/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ runs:
241241
uses: actions/cache/save@v4
242242
with:
243243
path: ${{ steps.load-config.outputs.projectRoot }}/.harness/cache
244-
key: harness-ios-${{ runner.os }}-${{ hashFiles(format('{0}/.harness/cache/**/cache.json', steps.load-config.outputs.projectRoot)) }}
244+
key: ${{ steps.cache-harness-restore.outputs.cache-primary-key }}
245245
- name: Upload crash report artifacts
246246
if: always()
247247
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)