Skip to content

Commit

Permalink
Enhance GitHub Actions workflow by adding cache cleaning and dependen…
Browse files Browse the repository at this point in the history
…cy fetching steps

- Added a step to clean the Tuist cache, removing derived data and temporary files.
- Introduced a step to fetch Tuist dependencies before generating the Xcode project.
  • Loading branch information
ygsgdbd committed Dec 6, 2024
1 parent 3da1815 commit a65c753
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,18 @@ jobs:
run: |
mise install tuist@latest
- name: Clean Tuist Cache
run: |
rm -rf ~/Library/Developer/Xcode/DerivedData
rm -rf ~/.tuist/Cache/PinsCache.xcworkspace
rm -rf .tuist-bin
rm -rf Derived
rm -rf *.xcodeproj
rm -rf *.xcworkspace
- name: Fetch Tuist Dependencies
run: tuist fetch

- name: Generate Xcode Project
run: tuist generate

Expand Down

0 comments on commit a65c753

Please sign in to comment.