Skip to content

Commit 243f012

Browse files
committed
fix: cache SwiftLint even when lint fails
1 parent fa97331 commit 243f012

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/swiftlint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242

4343
- name: Save swiftlint cache
4444
uses: actions/cache/save@v4
45-
if: steps.cache-swiftlint-restore.outputs.cache-hit != 'true'
45+
if: always() && steps.cache-swiftlint-restore.outputs.cache-hit != 'true'
4646
with:
4747
path: /usr/local/bin/swiftlint
4848
key: ${{ runner.os }}-swiftlint-0.62.2

0 commit comments

Comments
 (0)