Skip to content

Commit 6a88e6e

Browse files
authored
Merge pull request #31 from AckeeCZ/update_xcode
Update Xcode to 12.4
2 parents 0545914 + 0bf01e7 commit 6a88e6e

File tree

4 files changed

+31
-27
lines changed

4 files changed

+31
-27
lines changed

.github/workflows/deploy.yml

+25-24
Original file line numberDiff line numberDiff line change
@@ -6,30 +6,31 @@ on:
66
- '*'
77

88
jobs:
9-
carthage:
10-
name: Upload Carthage binary
11-
runs-on: macos-latest
12-
steps:
13-
- uses: actions/checkout@v2
14-
- uses: AckeeCZ/[email protected]
15-
- uses: actions/cache@v1
16-
with:
17-
path: Carthage
18-
key: ${{ runner.os }}-carthage-${{ hashFiles('**/Cartfile.resolved') }}
19-
restore-keys: |
20-
${{ runner.os }}-carthage-
21-
- name: Build
22-
run: carthage build --no-skip-current --cache-builds
23-
- name: Archive
24-
run: carthage archive Reqres
25-
- uses: xresloader/upload-to-github-release@v1
26-
if: startsWith(github.ref, 'refs/tags/')
27-
env:
28-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
29-
with:
30-
file: Reqres.framework.zip
31-
tags: true
32-
draft: false
9+
# Just comment out for now, uncomment when Carthage supports archives with XCFrameworks
10+
# carthage:
11+
# name: Upload Carthage binary
12+
# runs-on: macos-latest
13+
# steps:
14+
# - uses: actions/checkout@v2
15+
# - uses: AckeeCZ/[email protected]
16+
# - uses: actions/cache@v1
17+
# with:
18+
# path: Carthage
19+
# key: ${{ runner.os }}-carthage-${{ hashFiles('**/Cartfile.resolved') }}
20+
# restore-keys: |
21+
# ${{ runner.os }}-carthage-
22+
# - name: Build
23+
# run: carthage build --no-skip-current --cache-builds
24+
# - name: Archive
25+
# run: carthage archive Reqres
26+
# - uses: xresloader/upload-to-github-release@v1
27+
# if: startsWith(github.ref, 'refs/tags/')
28+
# env:
29+
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
30+
# with:
31+
# file: Reqres.framework.zip
32+
# tags: true
33+
# draft: false
3334
cocoapods:
3435
name: Push podspec to Cocoapods trunk
3536
runs-on: macos-latest

.github/workflows/tests.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@ jobs:
1818
- name: Install Carthage dependencies
1919
env:
2020
GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
21-
run: carthage bootstrap --platform iOS --cache-builds
21+
run: carthage bootstrap --platform iOS --cache-builds --use-xcframeworks
2222
- name: Run tests
2323
run: set -o pipefail && xcodebuild test -scheme Reqres -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 11 Pro Max,OS=latest' ONLY_ACTIVE_ARCH=YES | xcpretty

.github/xcode-version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
11.6
1+
12.4

CHANGELOG.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,10 @@
1111

1212
### Added
1313
<!--- - <description> (#<PR_number, kudos to @<author>) --->
14-
- Run SwiftLint on build if installed locally ([#29](https://github.com/AckeeCZ/ACKategories/pull/29), kudos to @olejnjak)
14+
- Run SwiftLint on build if installed locally ([#29](https://github.com/AckeeCZ/Reqres/pull/29), kudos to @olejnjak)
15+
16+
### Changed
17+
- Use Xcode 12.4 on CI ([#31](https://github.com/AckeeCZ/Reqres/pull/31), kudos to @olejnjak)
1518

1619
## 3.1.1
1720

0 commit comments

Comments
 (0)