We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ccbe1ba commit 1a86d6dCopy full SHA for 1a86d6d
1 file changed
.github/workflows/_build-shared.yml
@@ -30,12 +30,16 @@ jobs:
30
certificate_password: ${{ secrets.APPLE_CERTIFICATE_PASSWORD }}
31
keychain_password: ${{ secrets.KEYCHAIN_PASSWORD }}
32
33
+ - name: Get StytchSwiftUtils cache key
34
+ id: swiftutils-hash
35
+ run: echo "hash=$(git log -1 --format=%H -- source/StytchSwiftUtils)" >> $GITHUB_OUTPUT
36
+
37
- name: Cache StytchSwiftUtils xcframework
38
id: cache-swiftutils
39
uses: actions/cache@v4
40
with:
41
path: source/shared/sdk/shared/src/iosMain/interop/StytchSwiftUtils.xcframework
- key: swiftutils-${{ hashFiles('source/StytchSwiftUtils/**/*') }}
42
+ key: swiftutils-${{ steps.swiftutils-hash.outputs.hash }}
43
44
- name: Build StytchSwiftUtils
45
if: steps.cache-swiftutils.outputs.cache-hit != 'true'
0 commit comments