Skip to content

Commit cc56c7e

Browse files
committed
ci: use SwiftPM caches
1 parent aa244a0 commit cc56c7e

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,14 @@ jobs:
99
runs-on: ubuntu-24.04-arm
1010
steps:
1111
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
12+
- uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
13+
with:
14+
path: |
15+
~/.cache/org.swift.swiftpm
16+
~/.swiftpm
17+
.build
18+
key: ${{ runner.os }}-swiftpm-${{ hashFiles('Package.resolved') }}
19+
restore-keys: ${{ runner.os }}-swiftpm-
1220
- run: ./scripts/ci-install-swift.sh
1321
- run: swift --version
1422
- run: swift build -c release --triple aarch64-none-none-elf --toolset toolset.json

0 commit comments

Comments
 (0)