From 75c4d2dbb98b92213916393f484fc008f0448b58 Mon Sep 17 00:00:00 2001 From: d1y Date: Mon, 24 Jun 2024 10:46:33 +0800 Subject: [PATCH] chore: workflow macOS use latest version MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit xcode 和 macos --- .github/workflows/release.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3de71dc..dbe2459 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,7 +10,7 @@ env: jobs: - build-with-windows: + build-windows: runs-on: windows-latest steps: @@ -40,7 +40,7 @@ jobs: name: windows path: build/windows/x64/runner/Release/yy-windows.zip - build-with-linux-x86_64: + build-linux-x86_64: runs-on: ubuntu-22.04 env: @@ -77,12 +77,12 @@ jobs: name: x86_64_linux path: build/linux/x64/release/${{ env.TARBALL_NAME }} - build-cross-platform-and-release: - runs-on: macos-12 + build-macOS-and-release: + runs-on: macos-latest steps: - uses: maxim-lobanov/setup-xcode@v1 with: - xcode-version: '13.4.1' + xcode-version: latest-stable - uses: actions/checkout@v3 with: fetch-depth: 0 @@ -122,7 +122,7 @@ jobs: cd .. zip -r yoyo.ipa Payload - - name: Build macos + - name: Build macOS run: | flutter config --enable-macos-desktop flutter build macos --release