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