Skip to content

Commit

Permalink
Fix github action
Browse files Browse the repository at this point in the history
Remove cache step
Clean before testing
  • Loading branch information
mvasilak committed Oct 25, 2023
1 parent 22bf533 commit 4261ebb
Showing 1 changed file with 5 additions and 13 deletions.
18 changes: 5 additions & 13 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ jobs:
strategy:
matrix:
xcode: ["15.0.0"]
destination:
- platform=iOS Simulator,OS=latest,name=iPhone 15
ios_version: ["17.0"]
device_name: ["iPhone 15"]

steps:
- name: Checkout
Expand All @@ -35,18 +35,10 @@ jobs:
with:
xcode-version: ${{ matrix.xcode }}

- name: Cache DerivedData
uses: actions/cache@v3
with:
path: ~/Library/Developer/Xcode/DerivedData
key: ${{ runner.os }}-iOS_derived_data-xcode_${{ matrix.xcode }}
restore-keys: |
${{ runner.os }}-iOS_derived_data
- name: Build & Test
- name: Clean & Build & Test
uses: sersoft-gmbh/[email protected]
with:
project: Zotero.xcodeproj
scheme: Zotero
destination: ${{ matrix.destination }}
action: test
destination: platform=iOS Simulator,OS=${{ matrix.ios_version }},name=${{ matrix.device_name }}
action: clean test

0 comments on commit 4261ebb

Please sign in to comment.