Skip to content
This repository was archived by the owner on Mar 7, 2026. It is now read-only.

Commit be305c9

Browse files
authored
Fix order of caching and resolving swift packages
1 parent 13d0edf commit be305c9

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

.github/workflows/build-unsigned-ipa.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -98,15 +98,6 @@ jobs:
9898
echo "project.pbxproj header (first 60 lines):"
9999
sed -n '1,60p' prostore.xcodeproj/project.pbxproj || true
100100
101-
- name: Cache Swift Packages
102-
uses: actions/cache@v3
103-
id: swift-packages
104-
with:
105-
path: ${{ github.workspace }}/DerivedData/ProStore/SourcePackages
106-
key: swift-packages-${{ runner.os }}-${{ hashFiles('project.yml') }}
107-
restore-keys: |
108-
swift-packages-${{ runner.os }}-
109-
110101
- name: Resolve Swift Packages (Auto)
111102
run: |
112103
set -e
@@ -117,6 +108,15 @@ jobs:
117108
-configuration Release \
118109
-derivedDataPath "$PWD/DerivedData"
119110
111+
- name: Cache Swift Packages
112+
uses: actions/cache@v3
113+
id: swift-packages
114+
with:
115+
path: ${{ github.workspace }}/DerivedData/ProStore/SourcePackages
116+
key: swift-packages-${{ runner.os }}-${{ hashFiles('project.yml') }}
117+
restore-keys: |
118+
swift-packages-${{ runner.os }}-
119+
120120
- name: Build IPA
121121
id: cache_object_version
122122
run: |

0 commit comments

Comments
 (0)