diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0ccbf0f3..e51dfd97 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,10 +12,11 @@ env: TEMPLATE_PROJ: templates/Fabulous.Avalonia.Templates.proj TEMPLATE_PKG: nupkgs/Fabulous.Avalonia.Templates NUPKG_FOLDER: nupkgs + XCODE_PATH: /Applications/Xcode_15.2.app/Contents/Developer jobs: build: - runs-on: macos-14 + runs-on: macos-13 steps: - name: Checkout sources uses: actions/checkout@v4 @@ -31,11 +32,11 @@ jobs: echo "Nightly version is $NIGHTLY_VERSION" echo "NIGHTLY_VERSION=$NIGHTLY_VERSION" >> "$GITHUB_ENV" - name: Update xcode tools - run: sudo xcode-select -s /Applications/Xcode_16.0.app/Contents/Developer/ + run: sudo xcode-select -s ${XCODE_PATH} - name: Setup .NET uses: actions/setup-dotnet@v4 with: - dotnet-version: 8.0.x + dotnet-version: 8..x - name: Install dotnet workload run: dotnet workload restore - name: Install workload wasm diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 3134df8a..d4bc1cef 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -7,14 +7,14 @@ env: jobs: pull_request: - runs-on: macos-14 + runs-on: macos-13 steps: - name: Checkout sources uses: actions/checkout@v4 - name: Setup .NET uses: actions/setup-dotnet@v4 with: - dotnet-version: 8.0.x + dotnet-version: 8.x - name: Check code formatting run: | dotnet tool restore diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f583abeb..bf5609f7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,7 +19,7 @@ env: jobs: release: - runs-on: macos-14 + runs-on: macos-13 environment: nuget steps: - name: Checkout sources @@ -87,7 +87,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v4 with: - dotnet-version: 8.0.x + dotnet-version: 8.x - name: Install dotnet workload run: dotnet workload restore - name: Restore