From c3af68192526f67a5f9e95c314ded31a68695d7a Mon Sep 17 00:00:00 2001 From: Hiddify Date: Tue, 7 Nov 2023 01:43:10 +0100 Subject: [PATCH] fix: distutils --- .github/workflows/build.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cee1e15c..13173b47 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -64,7 +64,13 @@ jobs: steps: - name: checkout uses: actions/checkout@v3 - + - name: Install macos dmg needed tools + if: matrix.platform == 'macos' || matrix.platform == 'ios' + run: | + # xcode-select --install || softwareupdate --all --install --force + brew uninstall --force $(brew list | grep python@) && brew cleanup || echo "python not installed" + brew install create-dmg tree python@3.10 + npm install -g appdmg - name: Setup Flutter uses: subosito/flutter-action@v2 with: @@ -102,13 +108,7 @@ jobs: chmod +x appimagetool mv appimagetool /usr/local/bin/ - - name: Install macos dmg needed tools - if: matrix.platform == 'macos' || matrix.platform == 'ios' - run: | - # xcode-select --install || softwareupdate --all --install --force - python3 -m pip install distutils - brew install create-dmg tree - npm install -g appdmg + - name: Get Geo Assets run: |