Skip to content

Commit 060928e

Browse files
committed
Fix caching of downloaded runtimes
1 parent 1e84ce0 commit 060928e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/actions/prepare-simulator/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ runs:
3838
echo "::group::Available runtimes:"
3939
xcodes runtimes
4040
echo "::endgroup::"
41-
sudo xcodes runtimes install "$RUNTIME";
41+
sudo xcodes runtimes install "$RUNTIME" --keep-archive;
4242
fi
4343
4444
- name: "Create and boot simulator"

.github/workflows/xcode.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- name: "Cache downloaded simulator runtimes"
3030
uses: actions/cache@v4
3131
with:
32-
path: ~/Library/Caches/XcodeInstall/*.dmg
32+
path: ~/Downloads/*.dmg
3333
key: Xcode ${{ matrix.env.xcode }}+${{ matrix.env.runtime }}
3434
- name: "Prepare simulator"
3535
id: prepare-simulator
@@ -75,7 +75,7 @@ jobs:
7575
- name: "Cache downloaded simulator runtimes"
7676
uses: actions/cache@v4
7777
with:
78-
path: ~/Library/Caches/XcodeInstall/*.dmg
78+
path: ~/Downloads/*.dmg
7979
key: Xcode ${{ matrix.env.xcode }}+${{ matrix.env.runtime }}
8080
- name: "Prepare simulator"
8181
id: prepare-simulator

0 commit comments

Comments
 (0)