Skip to content

Commit 1a86d6d

Browse files
committed
hash try again
1 parent ccbe1ba commit 1a86d6d

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/_build-shared.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,16 @@ jobs:
3030
certificate_password: ${{ secrets.APPLE_CERTIFICATE_PASSWORD }}
3131
keychain_password: ${{ secrets.KEYCHAIN_PASSWORD }}
3232

33+
- name: Get StytchSwiftUtils cache key
34+
id: swiftutils-hash
35+
run: echo "hash=$(git log -1 --format=%H -- source/StytchSwiftUtils)" >> $GITHUB_OUTPUT
36+
3337
- name: Cache StytchSwiftUtils xcframework
3438
id: cache-swiftutils
3539
uses: actions/cache@v4
3640
with:
3741
path: source/shared/sdk/shared/src/iosMain/interop/StytchSwiftUtils.xcframework
38-
key: swiftutils-${{ hashFiles('source/StytchSwiftUtils/**/*') }}
42+
key: swiftutils-${{ steps.swiftutils-hash.outputs.hash }}
3943

4044
- name: Build StytchSwiftUtils
4145
if: steps.cache-swiftutils.outputs.cache-hit != 'true'

0 commit comments

Comments
 (0)