Skip to content

Commit

Permalink
chore: Bump Xcode version in CI (#134)
Browse files Browse the repository at this point in the history
* chore: Bump Xcode version in CI:

* Bump windows swift version

* Update ci.yml

* Update ci.yml

* Update release.yml
  • Loading branch information
cbaker6 authored Sep 24, 2023
1 parent fc516a6 commit dc3af59
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ on:

env:
CI_XCODE_OLDEST: '/Applications/Xcode_13.3.1.app/Contents/Developer'
CI_XCODE_LATEST: '/Applications/Xcode_14.3.1.app/Contents/Developer'
CI_XCODE_14: '/Applications/Xcode_14.3.1.app/Contents/Developer'
CI_XCODE_LATEST: '/Applications/Xcode_15.0.app/Contents/Developer'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down Expand Up @@ -135,8 +136,8 @@ jobs:
- uses: actions/checkout@v4
- uses: compnerd/[email protected]
with:
branch: swift-5.8-release
tag: 5.8-RELEASE
branch: swift-5.9-release
tag: 5.9-RELEASE
- name: Build
run: |
swift build -v
Expand Down Expand Up @@ -173,4 +174,4 @@ jobs:
- name: CocoaPods
run: pod lib lint --allow-warnings
env:
DEVELOPER_DIR: ${{ env.CI_XCODE_LATEST }}
DEVELOPER_DIR: ${{ env.CI_XCODE_14 }}
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ on:
release:
types: [published]
env:
CI_XCODE_13: '/Applications/Xcode_13.4.1.app/Contents/Developer'
CI_XCODE_LATEST: '/Applications/Xcode_14.3.app/Contents/Developer'
CI_XCODE_14: '/Applications/Xcode_14.3.1.app/Contents/Developer'
CI_XCODE_LATEST: '/Applications/Xcode_15.0.app/Contents/Developer'

jobs:
cocoapods:
Expand All @@ -23,7 +23,7 @@ jobs:
run: set -o pipefail && env NSUnbufferedIO=YES pod trunk push ParseSwiftOG.podspec --allow-warnings --verbose
env:
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }}
DEVELOPER_DIR: ${{ env.CI_XCODE_LATEST }}
DEVELOPER_DIR: ${{ env.CI_XCODE_14 }}

docs:
runs-on: macos-13
Expand Down

0 comments on commit dc3af59

Please sign in to comment.