Skip to content

Commit c5ddf6e

Browse files
committed
Merge pull request #1 from awareframework/github_actions
GitHub actions
2 parents e3b3b21 + ba87a5c commit c5ddf6e

4 files changed

Lines changed: 23 additions & 22 deletions

File tree

.github/workflows/build.yaml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,22 @@ jobs:
88
runs-on: macos-latest
99

1010
steps:
11-
# - name: Checkout code
12-
# uses: actions/checkout@v3
13-
14-
# - name: Install xcpretty
15-
# run: gem install xcpretty
16-
17-
# - name: Set up Xcode
18-
# run: sudo xcode-select -s /Applications/Xcode.app
19-
20-
# - name: Cache Derived Data
21-
# uses: actions/cache@v3
22-
# with:
23-
# path: ~/Library/Developer/Xcode/DerivedData
24-
# key: ${{ runner.os }}-xcode-deriveddata-${{ github.sha }}
25-
# restore-keys: |
26-
# ${{ runner.os }}-xcode-deriveddata-
11+
- name: Checkout code
12+
uses: actions/checkout@v3
13+
14+
- name: Install xcpretty
15+
run: gem install xcpretty
16+
17+
- name: Set up Xcode
18+
run: sudo xcode-select -s /Applications/Xcode.app
19+
20+
- name: Cache Derived Data
21+
uses: actions/cache@v3
22+
with:
23+
path: ~/Library/Developer/Xcode/DerivedData
24+
key: ${{ runner.os }}-xcode-deriveddata-${{ github.sha }}
25+
restore-keys: |
26+
${{ runner.os }}-xcode-deriveddata-
2727
2828
- name: Run build
2929
run: |

Package.resolved

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Package.swift

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
// swift-tools-version: 5.10.0
1+
// swift-tools-version: 6.0
22
// The swift-tools-version declares the minimum version of Swift required to build this package.
33

44
import PackageDescription
55

66
let package = Package(
77
name: "com.awareframework.ios.core",
8-
platforms: [.iOS(.v13)],
8+
platforms: [.iOS(.v13), .watchOS(.v7)],
99
products: [
1010
// Products define the executables and libraries a package produces, making them visible to other packages.
1111
.library(
@@ -14,7 +14,7 @@ let package = Package(
1414
],
1515
dependencies: [
1616
.package(url: "https://github.com/SwiftyJSON/SwiftyJSON.git", from: "5.0.2"),
17-
.package(url: "https://github.com/groue/GRDB.swift.git", .upToNextMinor(from: "7.3.0")),
17+
.package(url: "https://github.com/groue/GRDB.swift.git", from: "7.3.0"),
1818
.package(url: "https://github.com/ashleymills/Reachability.swift.git", from: "5.2.4")
1919
],
2020
targets: [
@@ -30,5 +30,6 @@ let package = Package(
3030
name: "com.awareframework.ios.coreTests",
3131
dependencies: ["com.awareframework.ios.core"]
3232
)
33-
]
33+
],
34+
swiftLanguageModes: [.v5]
3435
)

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ You can integrate this framework into your project via Swift Package Manager (Sw
1616
* Open `Xcode` -> Select `Menu Bar` -> `File` -> `App Package Dependencies...`
1717

1818
2. Find the package using the manager
19-
* Select `Search Package URL` and type `git@github.com:awareframework/com.awareframework.ios.core.git`
19+
* Select `Search Package URL` and type `https://github.com/awareframework/com.awareframework.ios.core.git`
2020

2121
3. Import the package into your target.
2222

0 commit comments

Comments
 (0)