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: |