Added caching the build artifacts
This commit is contained in:
@@ -16,6 +16,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 -Xswiftc -no-verify-emitted-module-interface
|
||||
@@ -41,6 +49,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 -Xswiftc -no-verify-emitted-module-interface
|
||||
@@ -74,6 +90,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 -Xswiftc -no-verify-emitted-module-interface
|
||||
|
||||
Reference in New Issue
Block a user