update ci

This commit is contained in:
pompurin404 2024-08-07 15:21:59 +08:00
parent 5c60310027
commit 7ea9792c54
No known key found for this signature in database

View File

@ -44,6 +44,7 @@ jobs:
npm_config_target_arch: ${{ matrix.arch }}
run: pnpm build:win --${{ matrix.arch }}
- name: Upload Artifacts
if: startsWith(github.ref, 'refs/head/')
uses: actions/upload-artifact@v4
with:
name: Windows ${{ matrix.arch }}
@ -92,6 +93,7 @@ jobs:
npm_config_target_arch: ${{ matrix.arch }}
run: pnpm build:linux --${{ matrix.arch }}
- name: Upload Artifacts
if: startsWith(github.ref, 'refs/head/')
uses: actions/upload-artifact@v4
with:
name: Linux ${{ matrix.arch }}
@ -142,6 +144,7 @@ jobs:
npm_config_target_arch: ${{ matrix.arch }}
run: pnpm build:mac --${{ matrix.arch }}
- name: Upload Artifacts
if: startsWith(github.ref, 'refs/head/')
uses: actions/upload-artifact@v4
with:
name: MacOS ${{ matrix.arch }}
@ -196,6 +199,7 @@ jobs:
allow_empty_commits: false
aur-git-updater:
if: startsWith(github.ref, 'refs/head/')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4