Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleksandr Zhuhan committed Feb 5, 2021
1 parent 5cd8fb2 commit 11b7c3f
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 21 deletions.
29 changes: 24 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,25 +7,44 @@ on:
branches: [ master ]

jobs:
build:
spm:
runs-on: macOS-latest

steps:
- uses: actions/checkout@v2

- name: SPM build
run: swift build

cocoapods:
runs-on: macOS-latest
steps:
- name: Lint Podspec
run: |
set -eo pipefail
pod lib lint --allow-warnings --use-libraries
carthage:
runs-on: macOS-latest
steps:
- name: Carthage build
run: ./scripts/carthage.sh build --platform "ios,macos" --no-skip-current


carthage_xcframework:
runs-on: macOS-latest
steps:
- name: Carthage XCFramework build
run: |
brew update
brew upgrade carthage
carthage build --platform "ios,macos" --no-skip-current --use-xcframeworks
deploy_docs:
runs-on: macos-latest
needs: [spm, cocoapods, carthage, carthage_xcframework]
if: ${{ github.event_name == 'push' }}
steps:
- uses: actions/checkout@v2
- name: Publish Jazzy Docs
uses: steven0351/publish-jazzy-docs@v1
with:
personal_access_token: ${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}
config: .jazzy.yml
16 changes: 0 additions & 16 deletions .github/workflows/jazzy.yml

This file was deleted.

0 comments on commit 11b7c3f

Please sign in to comment.