ci: Remove Swift package cache steps from CI workflow ...because we

don't have dependencies at this moment, so Package.resolved wasn't even
there.
This commit is contained in:
Shibo Lyu 2025-08-20 21:16:28 +08:00
parent b0d9e8895a
commit dca866c3a9

View file

@ -19,15 +19,6 @@ jobs:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Cache Swift packages
uses: actions/cache@v4
with:
path: .build
key: ${{ runner.os }}-swift-${{ matrix.swift-version }}-${{ hashFiles('**/Package.resolved') }}
restore-keys: |
${{ runner.os }}-swift-${{ matrix.swift-version }}-
${{ runner.os }}-swift-
- name: Build package - name: Build package
run: swift build --verbose run: swift build --verbose
@ -49,15 +40,6 @@ jobs:
with: with:
swift-version: ${{ matrix.swift-version }} swift-version: ${{ matrix.swift-version }}
- name: Cache Swift packages
uses: actions/cache@v4
with:
path: .build
key: ${{ runner.os }}-swift-${{ matrix.swift-version }}-${{ hashFiles('**/Package.resolved') }}
restore-keys: |
${{ runner.os }}-swift-${{ matrix.swift-version }}-
${{ runner.os }}-swift-
- name: Build package - name: Build package
run: swift build --verbose run: swift build --verbose