Skip to content

Commit 74d731e

Browse files
authored
Cache Carthage output (#39)
* Cache Carthage output * Put spm first * Update badge
1 parent c57e603 commit 74d731e

File tree

2 files changed

+17
-12
lines changed

2 files changed

+17
-12
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,13 @@ jobs:
1919
run: xcodebuild -workspace SQLiteMigrationManager.xcworkspace -scheme "SQLiteMigrationManager iOS" -showdestinations
2020
- name: destinations-macos
2121
run: xcodebuild -workspace SQLiteMigrationManager.xcworkspace -scheme "SQLiteMigrationManager macOS" -showdestinations
22+
- name: cache
23+
uses: actions/cache@v2
24+
with:
25+
path: Carthage
26+
key: ${{ runner.os }}-carthage-${{ hashFiles('**/Cartfile.resolved') }}
27+
restore-keys: |
28+
${{ runner.os }}-carthage-
2229
- name: setup
2330
run: ./bin/setup
2431
- name: tests

README.md

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# SQLiteMigrationManager.swift
2-
3-
[![CI Status](http://img.shields.io/travis/garriguv/SQLiteMigrationManager.swift.svg?style=flat)](https://travis-ci.org/garriguv/SQLiteMigrationManager.swift)
4-
[![Version](https://img.shields.io/cocoapods/v/SQLiteMigrationManager.swift.svg?style=flat)](http://cocoapods.org/pods/SQLiteMigrationManager.swift)
2+
[![Build](https://github.com/garriguv/SQLiteMigrationManager.swift/actions/workflows/build.yml/badge.svg)](https://github.com/garriguv/SQLiteMigrationManager.swift/actions/workflows/build.yml) [![Version](https://img.shields.io/cocoapods/v/SQLiteMigrationManager.swift.svg?style=flat)](http://cocoapods.org/pods/SQLiteMigrationManager.swift)
53
[![License](https://img.shields.io/cocoapods/l/SQLiteMigrationManager.swift.svg?style=flat)](http://cocoapods.org/pods/SQLiteMigrationManager.swift)
64
[![Platform](https://img.shields.io/cocoapods/p/SQLiteMigrationManager.swift.svg?style=flat)](http://cocoapods.org/pods/SQLiteMigrationManager.swift)
75
[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)
@@ -98,6 +96,15 @@ print("needsMigration() \(manager.needsMigration())")
9896

9997
## Installation
10098

99+
### Swift Package Manager
100+
101+
SQLiteMigrationManager.swift is availabel through [Swift Package Manager](https://swift.org/package-manager/).
102+
To install it, add the following dependency to your `Package.swift` file:
103+
104+
```swift
105+
.package(url: "https://github.com/garriguv/SQLiteMigrationManager.swift.git", from: "0.12.0")
106+
```
107+
101108
### CocoaPods
102109

103110
SQLiteMigrationManager.swift is available through [CocoaPods](https://cocoapods.org). To install
@@ -116,15 +123,6 @@ it, add the following line to your `Cartfile`:
116123
github "garriguv/SQLiteMigrationManager.swift"
117124
```
118125

119-
### Swift Package Manager
120-
121-
SQLiteMigrationManager.swift is availabel through [Swift Package Manager](https://swift.org/package-manager/).
122-
To install it, add the following dependency to your `Package.swift` file:
123-
124-
```swift
125-
.package(url: "https://github.com/garriguv/SQLiteMigrationManager.swift.git", from: "0.7.0")
126-
```
127-
128126
## Contributing
129127

130128
1. Fork it ( https://github.com/garriguv/SQLiteMigrationManager.swift/fork )

0 commit comments

Comments
 (0)