Skip to content

Commit

Permalink
chore: 预适配 MaaFramework v2.0 (#179)
Browse files Browse the repository at this point in the history
  • Loading branch information
MistEO authored Sep 13, 2024
1 parent 279ba65 commit 9bf611d
Show file tree
Hide file tree
Showing 3 changed files with 143 additions and 115 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ jobs:
repository: MaaXYZ/MaaFramework
fileName: "MAA-win-${{ matrix.arch }}*"
latest: true
preRelease: true
out-file-path: "deps"
extract: true

Expand Down Expand Up @@ -100,6 +101,7 @@ jobs:
repository: MaaXYZ/MaaFramework
fileName: "MAA-linux-${{ matrix.arch }}*"
latest: true
preRelease: true
out-file-path: "deps"
extract: true

Expand Down Expand Up @@ -132,6 +134,7 @@ jobs:
repository: MaaXYZ/MaaFramework
fileName: "MAA-macos-${{ matrix.arch }}*"
latest: true
preRelease: true
out-file-path: "deps"
extract: true

Expand All @@ -145,6 +148,39 @@ 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/[email protected]
with:
repository: MaaXYZ/MaaFramework
fileName: "MAA-android-${{ matrix.arch }}*"
latest: true
preRelease: 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]
Expand Down
Loading

0 comments on commit 9bf611d

Please sign in to comment.