diff --git a/.github/workflows/install.yml b/.github/workflows/install.yml index 9f1f14e..0a5a4fd 100644 --- a/.github/workflows/install.yml +++ b/.github/workflows/install.yml @@ -67,7 +67,7 @@ jobs: with: repository: MaaXYZ/MaaFramework fileName: "MAA-win-${{ matrix.arch }}*" - latest: true + # latest: true out-file-path: "deps" extract: true @@ -99,7 +99,7 @@ jobs: with: repository: MaaXYZ/MaaFramework fileName: "MAA-linux-${{ matrix.arch }}*" - latest: true + # latest: true out-file-path: "deps" extract: true @@ -131,7 +131,7 @@ jobs: with: repository: MaaXYZ/MaaFramework fileName: "MAA-macos-${{ matrix.arch }}*" - latest: true + # latest: true out-file-path: "deps" extract: true @@ -145,6 +145,38 @@ jobs: name: M9A-macos-${{ matrix.arch }} path: "install" + android: + needs: meta + runs-on: macos-latest + strategy: + matrix: + arch: [aarch64, x86_64] + fail-fast: false + + steps: + - uses: actions/checkout@v3 + with: + submodules: true + + - name: Download MaaFramework + uses: robinraju/release-downloader@v1.8 + with: + repository: MaaXYZ/MaaFramework + fileName: "MAA-android-${{ matrix.arch }}*" + # latest: true + out-file-path: "deps" + extract: true + + - name: Install + shell: bash + run: | + python ./install.py ${{ needs.meta.outputs.tag }} + + - uses: actions/upload-artifact@v3 + with: + name: M9A-android-${{ matrix.arch }} + path: "install" + release: if: ${{ needs.meta.outputs.is_release == 'true' }} needs: [meta, windows, ubuntu, macos]