Cache CI build artifacts (#1085)

Co-authored-by: jack <212554440+jackjackbits@users.noreply.github.com>
This commit is contained in:
Islam 2026-04-03 02:37:20 +01:00 committed by GitHub
parent 097d916da7
commit b5834cfc76
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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