Skip to content

Commit

Permalink
CI:更新生成文件
Browse files Browse the repository at this point in the history
  • Loading branch information
overflow65537 committed Dec 27, 2024
1 parent 1ce3b17 commit 80087ca
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 6 deletions.
24 changes: 20 additions & 4 deletions .github/workflows/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,28 @@ jobs:
latest: true
out-file-path: "deps"
extract: true
- name: Download MFA
uses: robinraju/release-downloader@v1
if: matrix.arch == 'x86_64'
with:
repository: SweetSmellFox/MFAWPF
fileName: "MFAWPF-*"

latest: true
out-file-path: "MFA"
extract: true

- name: Install
shell: bash
run: |
python ./install.py ${{ needs.meta.outputs.tag }}
- name: Install MFA
if: matrix.arch == 'x86_64'
shell: bash
run: |
cp ./MFA/MFAWPF.exe ./install/MFAWPF.exe
- uses: actions/upload-artifact@v4
with:
name: MPA-win-${{ matrix.arch }}
Expand All @@ -101,7 +117,7 @@ jobs:
- uses: actions/upload-artifact@v4
if: matrix.arch == 'x86_64'
with:
name: MPA-win-x86_64-${{ matrix.arch }}_MFW-PyQt
name: MPA-win-${{ matrix.arch }}-MFW-PyQt
path: "MFW"

ubuntu:
Expand Down Expand Up @@ -156,7 +172,7 @@ jobs:
- uses: actions/upload-artifact@v4
if: matrix.arch == 'x86_64'
with:
name: MPA-linux-x86_64-${{ matrix.arch }}_MFW-PyQt
name: MPA-linux-${{ matrix.arch }}-MFW-PyQt
path: "MFW"

macos:
Expand Down Expand Up @@ -211,7 +227,7 @@ jobs:
- uses: actions/upload-artifact@v4
if: matrix.arch == 'x86_64'
with:
name: MPA-macos-x86_64-${{ matrix.arch }}_MFW-PyQt
name: MPA-macos-${{ matrix.arch }}-MFW-PyQt
path: "MFW"

release:
Expand Down
3 changes: 1 addition & 2 deletions deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,7 @@
source_path,
destination_path,
dirs_exist_ok=True,
ignore=shutil.ignore_patterns("MaaCommonAssets"),
ignore=shutil.ignore_patterns("config"),
ignore=shutil.ignore_patterns("MaaCommonAssets")
)

pi_config = {
Expand Down

0 comments on commit 80087ca

Please sign in to comment.