Skip to content

Commit

Permalink
ci: version consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
edusperoni committed Jan 31, 2024
1 parent 8c8ae67 commit a675500
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/npm_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:

env:
NPM_TAG: "next"
XCODE_VERSION: "^15.0"

jobs:
build:
Expand All @@ -18,7 +19,7 @@ jobs:
steps:
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: "^15.0"
xcode-version: ${{env.XCODE_VERSION}}
- uses: actions/checkout@v3
with:
fetch-depth: 0
Expand Down Expand Up @@ -71,12 +72,12 @@ jobs:
path: dist/dSYMs
test:
name: Test
runs-on: macos-13
runs-on: macos-14
needs: build
steps:
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: "^15.0"
xcode-version: ${{env.XCODE_VERSION}}
- uses: actions/checkout@v3
- name: LLVM cache
uses: actions/cache@v3
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ on:

env:
NPM_TAG: "pr"
XCODE_VERSION: "^15.0"

jobs:
build:
Expand All @@ -11,7 +12,7 @@ jobs:
steps:
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: "^15.0"
xcode-version: ${{env.XCODE_VERSION}}
- uses: actions/checkout@v3
with:
fetch-depth: 0
Expand Down Expand Up @@ -55,12 +56,12 @@ jobs:
path: dist/dSYMs
test:
name: Test
runs-on: macos-latest
runs-on: macos-14
needs: build
steps:
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: latest-stable
xcode-version: ${{env.XCODE_VERSION}}
- uses: actions/checkout@v3
- name: LLVM cache
uses: actions/cache@v3
Expand Down

0 comments on commit a675500

Please sign in to comment.