Skip to content

Commit

Permalink
Specify Carthage build platform
Browse files Browse the repository at this point in the history
  • Loading branch information
devxoul committed Mar 21, 2020
1 parent bbb8802 commit 9bf7c3d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
env:
CARTHAGE_FRAMEWORKS: SwiftyImage
CARTHAGE_FRAMEWORK_NAME: SwiftyImage.framework.zip
CARTHAGE_PLATFORMS: iOS,tvOS

jobs:
build:
Expand All @@ -19,7 +20,7 @@ jobs:
run: swift package generate-xcodeproj

- name: Carthage Build
run: carthage build --no-skip-current
run: carthage build --no-skip-current --platform $CARTHAGE_PLATFORMS

- name: Carthage Archive
run: carthage archive $CARTHAGE_FRAMEWORKS
Expand Down

0 comments on commit 9bf7c3d

Please sign in to comment.