From a675500b6b581fc891c6292fd4320db578f61c48 Mon Sep 17 00:00:00 2001 From: Eduardo Speroni Date: Wed, 31 Jan 2024 12:46:30 -0300 Subject: [PATCH] ci: version consistency --- .github/workflows/npm_release.yml | 7 ++++--- .github/workflows/pull_request.yml | 7 ++++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/npm_release.yml b/.github/workflows/npm_release.yml index aa3931dc..47d87c3a 100644 --- a/.github/workflows/npm_release.yml +++ b/.github/workflows/npm_release.yml @@ -7,6 +7,7 @@ on: env: NPM_TAG: "next" + XCODE_VERSION: "^15.0" jobs: build: @@ -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 @@ -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 diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index c8343a9c..bcf49227 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -3,6 +3,7 @@ on: env: NPM_TAG: "pr" + XCODE_VERSION: "^15.0" jobs: build: @@ -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 @@ -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