Skip to content

Commit

Permalink
chore: build
Browse files Browse the repository at this point in the history
  • Loading branch information
MliKiowa committed Aug 11, 2024
1 parent 6d863ac commit 016a742
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
permissions: write-all

jobs:
build-linux:
build-liteloader:
runs-on: ubuntu-latest
strategy:
fail-fast: false
Expand All @@ -24,17 +24,16 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: 20.x
- name: Build NuCat Linux
- name: Build NuCat LiteLoader
run: |
npm i --arch=${{ matrix.target_arch }} --platform=${{ matrix.target_platform }}
npm run build:prod
cd dist
npm i --omit=dev --arch=${{ matrix.target_arch }} --platform=${{ matrix.target_platform }}
npm i --omit=dev
cd ..
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: NapCat.${{ matrix.target_platform }}.${{ matrix.target_arch }}
name: NapCat.LiteLoader.${{ matrix.target_arch }}
path: dist
build-win32:
runs-on: ubuntu-latest
Expand All @@ -55,15 +54,15 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: 20.x
- name: Build NuCat Linux
- name: Build NuCat Shell
run: |
npm i --arch=${{ matrix.target_arch }} --platform=${{ matrix.target_platform }}
npm run build:prod
npm i
npm run build:shell
cd dist
npm i --omit=dev --arch=${{ matrix.target_arch }} --platform=${{ matrix.target_platform }}
npm i --omit=dev
cd ..
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: NapCat.${{ matrix.target_platform }}.${{ matrix.target_arch }}
name: NapCat.Shell.${{ matrix.target_arch }}
path: dist

0 comments on commit 016a742

Please sign in to comment.