mirror of
https://gh.catmak.name/https://github.com/mihomo-party-org/mihomo-party
synced 2025-12-27 05:00:30 +08:00
update ci
This commit is contained in:
parent
5c60310027
commit
7ea9792c54
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@ -44,6 +44,7 @@ jobs:
|
|||||||
npm_config_target_arch: ${{ matrix.arch }}
|
npm_config_target_arch: ${{ matrix.arch }}
|
||||||
run: pnpm build:win --${{ matrix.arch }}
|
run: pnpm build:win --${{ matrix.arch }}
|
||||||
- name: Upload Artifacts
|
- name: Upload Artifacts
|
||||||
|
if: startsWith(github.ref, 'refs/head/')
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: Windows ${{ matrix.arch }}
|
name: Windows ${{ matrix.arch }}
|
||||||
@ -92,6 +93,7 @@ jobs:
|
|||||||
npm_config_target_arch: ${{ matrix.arch }}
|
npm_config_target_arch: ${{ matrix.arch }}
|
||||||
run: pnpm build:linux --${{ matrix.arch }}
|
run: pnpm build:linux --${{ matrix.arch }}
|
||||||
- name: Upload Artifacts
|
- name: Upload Artifacts
|
||||||
|
if: startsWith(github.ref, 'refs/head/')
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: Linux ${{ matrix.arch }}
|
name: Linux ${{ matrix.arch }}
|
||||||
@ -142,6 +144,7 @@ jobs:
|
|||||||
npm_config_target_arch: ${{ matrix.arch }}
|
npm_config_target_arch: ${{ matrix.arch }}
|
||||||
run: pnpm build:mac --${{ matrix.arch }}
|
run: pnpm build:mac --${{ matrix.arch }}
|
||||||
- name: Upload Artifacts
|
- name: Upload Artifacts
|
||||||
|
if: startsWith(github.ref, 'refs/head/')
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: MacOS ${{ matrix.arch }}
|
name: MacOS ${{ matrix.arch }}
|
||||||
@ -196,6 +199,7 @@ jobs:
|
|||||||
allow_empty_commits: false
|
allow_empty_commits: false
|
||||||
|
|
||||||
aur-git-updater:
|
aur-git-updater:
|
||||||
|
if: startsWith(github.ref, 'refs/head/')
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user