Skip to content

Commit

Permalink
Merge pull request #289 from newrelic/mainGhaFix
Browse files Browse the repository at this point in the history
Use macos-13 and xcode 14.3 for now w prod
  • Loading branch information
cdillard-NewRelic authored Aug 20, 2024
2 parents 2ddcdd1 + 3d10d8f commit 2a5de9f
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ jobs:
name : TestIOS
# runs-on: will be set to macos-latest when running on actual GHA.
# *** runs-on: ubuntu-latest is used when running via act on mac os. ***
runs-on: macos-latest
runs-on: macos-13
steps:
- uses: actions/checkout@master
with:
submodules: true

- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: '15.4'
xcode-version: '14.3'

- name: Install lcov
run: |
Expand All @@ -40,11 +40,6 @@ jobs:
- name: Run tests on iOS (using fastlane)
run: bundle exec fastlane runIOSTests

- uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: coverage.xml

testTVOS:
name : TestTVOS
# runs-on: will be set to macos-latest when running on actual GHA.
Expand All @@ -57,7 +52,7 @@ jobs:

- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: '15.4'
xcode-version: '14.3'

- name: Install lcov
run: brew install lcov
Expand All @@ -83,7 +78,7 @@ jobs:

- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: '15.4'
xcode-version: '14.3'

- name: Install lcov
run: brew install lcov
Expand All @@ -101,7 +96,7 @@ jobs:
name: DeployS3
# runs-on: will be set to macos-latest when running on actual GHA.
# *** runs-on: ubuntu-latest is used when running via act on mac os. ***
runs-on: macos-latest
runs-on: macos-13
needs: [testIOS, testTVOS, testWatchOS]
if: github.ref == 'refs/heads/staging' || github.ref == 'refs/heads/main'
outputs:
Expand All @@ -113,7 +108,7 @@ jobs:

- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: '15.4'
xcode-version: '14.3'

- name: Install the Apple certificate and provisioning profile
env:
Expand Down

0 comments on commit 2a5de9f

Please sign in to comment.