Skip to content

Commit

Permalink
📦 ci: fix PIF error encounted when using xcodebuild on GH action
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoEidinger committed Feb 17, 2023
1 parent 7511359 commit 04622f3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/swift.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ jobs:

steps:
- uses: actions/checkout@v3
- name: avoid PIF cache issue when running GitHub workflow # https://github.com/apple/swift-package-manager/issues/5767
run: |
swift package dump-pif > /dev/null || true
xcodebuild clean -scheme SwiftPlantUML-Package -destination 'platform=macOS' > /dev/null || true
- name: Build and run Tests
run: xcodebuild -enableCodeCoverage YES -scheme SwiftPlantUML-Package -sdk macosx -destination 'platform=macOS' build test
- name: Upload code coverage results
Expand Down

0 comments on commit 04622f3

Please sign in to comment.