Skip to content

Commit a56f965

Browse files
committed
macos stuff
1 parent a45bc0a commit a56f965

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

.github/workflows/generator-macos.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ env:
6969
TAG_NAME: "${{ inputs.upload-tag }}"
7070
VCPKG_BINARY_SOURCES: "clear;x-gha,readwrite"
7171
# vcpkg version: 2024.07.12
72-
VCPKG_COMMIT_ID: "460551b0ec06be1ba6b918448bf3b0f44add813d"
72+
VCPKG_COMMIT_ID: "6f29f12e82a8293156836ad81cc9bf5af41fe836"
7373
VERSION: "${{ fromJson(inputs.extras).version }}"
7474
NDK_VERSION: "r27c"
7575
#signing keys env variable checks
@@ -87,7 +87,7 @@ jobs:
8787

8888
build-for-macos-flutter:
8989
name: Build macOS
90-
runs-on: macos-latest
90+
runs-on: ${{ matrix.job.os }}
9191
needs: [generate-bridge]
9292
strategy:
9393
fail-fast: false
@@ -524,11 +524,6 @@ jobs:
524524
525525
- name: Build rustdesk
526526
run: |
527-
MIN_MACOS_VERSION="10.14"
528-
sed -i -e "s/MACOSX_DEPLOYMENT_TARGET\=[0-9]*.[0-9]*/MACOSX_DEPLOYMENT_TARGET=${MIN_MACOS_VERSION}/" build.py
529-
sed -i -e "s/platform :osx, '.*'/platform :osx, '${MIN_MACOS_VERSION}'/" flutter/macos/Podfile
530-
sed -i -e "s/osx_minimum_system_version = \"[0-9]*.[0-9]*\"/osx_minimum_system_version = \"${MIN_MACOS_VERSION}\"/" Cargo.toml
531-
sed -i -e "s/MACOSX_DEPLOYMENT_TARGET = [0-9]*.[0-9]*;/MACOSX_DEPLOYMENT_TARGET = ${MIN_MACOS_VERSION};/" flutter/macos/Runner.xcodeproj/project.pbxproj
532527
if [ "${{ matrix.job.target }}" = "aarch64-apple-darwin" ]; then
533528
MIN_MACOS_VERSION="12.3"
534529
sed -i -e "s/MACOSX_DEPLOYMENT_TARGET\=[0-9]*.[0-9]*/MACOSX_DEPLOYMENT_TARGET=${MIN_MACOS_VERSION}/" build.py

0 commit comments

Comments
 (0)