Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated README & added DeployToCocoapods #46

Merged
merged 1 commit into from
Jan 20, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions .github/workflows/DeployToCocoapods.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Deploy to Cocoapods

on:
push:
tags:
- '*'

jobs:
build:
runs-on: macOS-latest
steps:
- uses: actions/checkout@v1

- name: Install Cocoapods
run: gem install cocoapods

- name: Deploy to Cocoapods
run: |
set -eo pipefail
pod lib lint --allow-warnings
pod trunk push --allow-warnings
env:
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }}
12 changes: 11 additions & 1 deletion Example/FaviconFinder.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
81EF860286A33245010DEEED /* Pods-FaviconFinder_iOS_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-FaviconFinder_iOS_Example.debug.xcconfig"; path = "Target Support Files/Pods-FaviconFinder_iOS_Example/Pods-FaviconFinder_iOS_Example.debug.xcconfig"; sourceTree = "<group>"; };
9C5773D0659DE71F64359322 /* FaviconFinder.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = FaviconFinder.podspec; path = ../FaviconFinder.podspec; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.ruby; };
BE20446C27996CFD00D5D2EB /* BuildTests.yml */ = {isa = PBXFileReference; lastKnownFileType = text.yaml; name = BuildTests.yml; path = ../.github/workflows/BuildTests.yml; sourceTree = "<group>"; };
BE2044712799795400D5D2EB /* DeployToCocoapods.yml */ = {isa = PBXFileReference; lastKnownFileType = text.yaml; name = DeployToCocoapods.yml; path = ../.github/workflows/DeployToCocoapods.yml; sourceTree = "<group>"; };
BE21380723F0D4FD00DCA2CB /* FaviconFinder_iOS_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = FaviconFinder_iOS_Example.app; sourceTree = BUILT_PRODUCTS_DIR; };
BE21380923F0D4FD00DCA2CB /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
BE21380B23F0D4FD00DCA2CB /* SceneDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SceneDelegate.swift; sourceTree = "<group>"; };
Expand Down Expand Up @@ -135,6 +136,15 @@
path = Pods;
sourceTree = "<group>";
};
BE2044702799794400D5D2EB /* Workflows */ = {
isa = PBXGroup;
children = (
BE20446C27996CFD00D5D2EB /* BuildTests.yml */,
BE2044712799795400D5D2EB /* DeployToCocoapods.yml */,
);
name = Workflows;
sourceTree = "<group>";
};
BE21380823F0D4FD00DCA2CB /* FaviconFinder_iOS_Example */ = {
isa = PBXGroup;
children = (
Expand Down Expand Up @@ -202,7 +212,7 @@
ED83F69A20348B650038D96B /* Metadata */ = {
isa = PBXGroup;
children = (
BE20446C27996CFD00D5D2EB /* BuildTests.yml */,
BE2044702799794400D5D2EB /* Workflows */,
9C5773D0659DE71F64359322 /* FaviconFinder.podspec */,
BEDA437C23F226B80086C78A /* Cartfile */,
BEDA437E23F226C20086C78A /* Package.swift */,
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,15 +112,15 @@ FaviconFinder is available through [CocoaPods](http://cocoapods.org). To install
it, simply add the following line to your Podfile:

```ruby
pod 'FaviconFinder', '3.2.0'
pod 'FaviconFinder', '3.2.1'
```

### Carthage
FaviconFinder is also available through [Carthage](https://github.com/Carthage/Carthage). To install
it, simply add the following line to your Cartfile:

```ruby
github "will-lumley/FaviconFinder" == 3.2.0
github "will-lumley/FaviconFinder" == 3.2.1
```

### Swift Package Manager
Expand All @@ -130,7 +130,7 @@ To install it, simply add the dependency to your Package.Swift file:
```swift
...
dependencies: [
.package(url: "https://github.com/will-lumley/FaviconFinder.git", from: "3.2.0"),
.package(url: "https://github.com/will-lumley/FaviconFinder.git", from: "3.2.1"),
],
targets: [
.target( name: "YourTarget", dependencies: ["FaviconFinder"]),
Expand Down