Cache CI build artifacts (#1085)

Co-authored-by: jack <212554440+jackjackbits@users.noreply.github.com>
This commit is contained in:
Islam
2026-04-02 20:37:20 -05:00
committed by GitHub
co-authored by jack
parent 097d916da7
commit b5834cfc76
+9
View File
@@ -20,6 +20,15 @@ jobs:
- name: Set up Swift
uses: swift-actions/setup-swift@v2
- name: Cache build artifacts
uses: actions/cache@v4
with:
path: .build
key: ${{ runner.os }}-build-${{ hashFiles('**/*.swift', '**/Package.resolved') }}
restore-keys: |
${{ runner.os }}-build-${{ hashFiles('**/Package.resolved') }}
${{ runner.os }}-build-
- name: Build the package
run: swift build