Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
qiweiii committed Jul 17, 2024
1 parent 8140ea8 commit 40cf679
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ jobs:
uses: actions/checkout@v4
with:
submodules: recursive
- name: Get blst submodule commit hash
id: blst-commit-hash
run: |
echo "::set-output name=commit-hash::$(git submodule status Utils/Sources/blst/ | cut -c2-41)"
- name: Cache SPM
uses: actions/cache@v4
with:
Expand All @@ -42,7 +46,7 @@ jobs:
uses: actions/cache@v4
with:
path: .lib
key: ${{ runner.os }}-libs-${{ hashFiles('.lib/*.a') }}
key: ${{ runner.os }}-libs-${{ steps.blst-commit-hash.outputs.commit-hash }}
restore-keys: |
${{ runner.os }}-libs-
- name: Setup Swift
Expand Down

0 comments on commit 40cf679

Please sign in to comment.