File tree 1 file changed +17
-3
lines changed 1 file changed +17
-3
lines changed Original file line number Diff line number Diff line change 51
51
52
52
steps :
53
53
54
- - name : Bootstrap
55
- run : carthage bootstrap --cache-builds
54
+ - uses : actions/cache@v1
55
+ id : carthage-cache
56
+ with :
57
+ path : Carthage
58
+ key : carthage-${{ hashFiles('**/Cartfile.resolved') }}
59
+ - name : Checkout
60
+ if : steps.carthage-cache.outputs.cache-hit != 'true'
61
+ run : |
62
+ carthage bootstrap --cache-builds
56
63
- name : Build
57
64
run : carthage build --no-skip-current --cache-builds;
58
65
62
69
63
70
steps :
64
71
72
+ - uses : actions/cache@v1
73
+ id : carthage-cache
74
+ with :
75
+ path : Carthage
76
+ key : carthage-${{ hashFiles('**/Cartfile.resolved') }}
65
77
- name : Checkout
66
- run : carthage bootstrap --platform mac --cache-builds
78
+ if : steps.carthage-cache.outputs.cache-hit != 'true'
79
+ run : |
80
+ carthage bootstrap --platform mac --cache-builds
67
81
- name : Build
68
82
run : xcodebuild -project "SwiftQueue.xcodeproj" -scheme "SwiftQueue macOS" -destination "arch=x86_64" -configuration Debug ONLY_ACTIVE_ARCH=NO ENABLE_TESTABILITY=YES test -enableCodeCoverage YES | xcpretty
69
83
- uses : codecov/codecov-action@v1
You can’t perform that action at this time.
0 commit comments