Added caching the build artifacts
Build Debug Library / Ubuntu (push) Successful in 2m48s
Build Debug Library / macOS (push) Successful in 4m3s
Build Debug Library / Windows (push) Successful in 10m41s

This commit is contained in:
2026-08-27 11:39:02 -07:00
parent 4be33704fd
commit 3b746e285b
2 changed files with 48 additions and 0 deletions
@@ -15,6 +15,14 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: Cache Build
uses: actions/cache@v4
with:
path: .build
key: ${{ runner.os }}-swift-${{ hashFiles('Package.resolved') }}
restore-keys: |
${{ runner.os }}-swift-
- name: Build
run: |
swift build -c release -Xswiftc -no-verify-emitted-module-interface
@@ -40,6 +48,14 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: Cache Build
uses: actions/cache@v4
with:
path: .build
key: ${{ runner.os }}-swift-${{ hashFiles('Package.resolved') }}
restore-keys: |
${{ runner.os }}-swift-
- name: Build
run: |
swift build -c release -Xswiftc -no-verify-emitted-module-interface
@@ -72,6 +88,14 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Cache Build
uses: actions/cache@v4
with:
path: .build
key: ${{ runner.os }}-swift-${{ hashFiles('Package.resolved') }}
restore-keys: |
${{ runner.os }}-swift-
- name: Build
run: |