|
6 | 6 | - '*'
|
7 | 7 |
|
8 | 8 | jobs:
|
9 |
| - carthage: |
10 |
| - name: Upload Carthage binary |
11 |
| - runs-on: macos-latest |
12 |
| - steps: |
13 |
| - - uses: actions/checkout@v2 |
14 |
| - |
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 |
33 | 34 | cocoapods:
|
34 | 35 | name: Push podspec to Cocoapods trunk
|
35 | 36 | runs-on: macos-latest
|
|
0 commit comments