Skip to content

Commit

Permalink
Use Carthage
Browse files Browse the repository at this point in the history
  • Loading branch information
firewood committed Oct 10, 2020
1 parent 51907ae commit 84b896e
Showing 1 changed file with 29 additions and 2 deletions.
31 changes: 29 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,35 @@ jobs:
with:
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
submodules: true
- name: CocoaPods
run: pod install
- name: Cache Gems
uses: actions/cache@v2
with:
path: vendor/bundle
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: |
${{ runner.os }}-gems-
- name: Install Bundled Gems
run: make install-bundler
- name: Cache Carthage packages
uses: actions/cache@v2
with:
path: Carthage
key: ${{ runner.os }}-carthage-${{ hashFiles('**/Cartfile.resolved') }}
restore-keys: |
${{ runner.os }}-carthage-
- name: Install Carthage frameworks
run: make install-carthage
env:
GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Cache Pods
uses: actions/cache@v2
with:
path: Pods
key: ${{ runner.os }}-pods-${{ hashFiles('**/Podfile.lock') }}
restore-keys: |
${{ runner.os }}-pods-
- name: Generate Xcode project and install Pods
run: make generate-xcodeproj
- name: Archive
run: |
zip -r ${{ steps.version.outputs.filename }}.zip ./ -x "*.git*"
Expand Down

0 comments on commit 84b896e

Please sign in to comment.