Skip to content

GitHub action performing workaround so Carthage is capable of building dependencies without M1 arch

License

Notifications You must be signed in to change notification settings

olejnjak/carthage-workaround

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Carthage workaround

GitHub action performing workaround so Carthage is capable of building dependencies without M1 arch

Usage

Just call this action instead of direct carthage call. Use action parameter to pass desired arguments to carthage call.

name: Build

on: [pull_request, push]

jobs:
  tests:
    name: Build
    runs-on: macos-latest
    steps:
      - uses: actions/checkout@v2
      - uses: olejnjak/carthage-workaround@v1
        with:
          action: bootstrap --platform iOS --cache-builds

By default the workaround script will be used only if you are building using Xcode 12.0 and higher and also if you are not using the --use-xcframeworks parameter. If you still want to use the workaround script, you can use the force input parameter.

name: Build

on: [pull_request, push]

jobs:
  tests:
    name: Build
    runs-on: macos-latest
    steps:
      - uses: actions/checkout@v2
      - uses: olejnjak/carthage-workaround@v1
        with:
          action: bootstrap --platform iOS --cache-builds
          force: true

About

GitHub action performing workaround so Carthage is capable of building dependencies without M1 arch

Resources

License

Stars

Watchers

Forks

Packages

No packages published