Update artifact paths in build and release workflows
Artifacts for NapCat.Framework and NapCat.Shell are now moved to 'framework-dist' and 'shell-dist' directories before upload. This change standardizes output locations and updates the upload paths accordingly in both build.yml and release.yml.
This commit is contained in:
1 parent
6bec765fb1
commit
31a94106f4
2 files changed
+12
-8
No files matched your search
@@ -23,13 +23,14 @@ jobs:
|
|||||||
pnpm i
|
pnpm i
|
||||||
pnpm --filter napcat-webui-frontend run build || exit 1
|
pnpm --filter napcat-webui-frontend run build || exit 1
|
||||||
pnpm run build:framework
|
pnpm run build:framework
|
||||||
cd packages/napcat-framework/dist
|
mv packages/napcat-framework/dist framework-dist
|
||||||
|
cd framework-dist
|
||||||
pnpm install --production
|
pnpm install --production
|
||||||
- name: Upload Artifact
|
- name: Upload Artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: NapCat.Framework
|
name: NapCat.Framework
|
||||||
path: packages/napcat-framework/dist
|
path: framework-dist
|
||||||
Build-Shell:
|
Build-Shell:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
@@ -45,10 +46,11 @@ jobs:
|
|||||||
pnpm i
|
pnpm i
|
||||||
pnpm --filter napcat-webui-frontend run build || exit 1
|
pnpm --filter napcat-webui-frontend run build || exit 1
|
||||||
pnpm run build:shell
|
pnpm run build:shell
|
||||||
cd packages/napcat-shell/dist
|
mv packages/napcat-shell/dist shell-dist
|
||||||
|
cd shell-dist
|
||||||
pnpm install --production
|
pnpm install --production
|
||||||
- name: Upload Artifact
|
- name: Upload Artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: NapCat.Shell
|
name: NapCat.Shell
|
||||||
path: packages/napcat-shell/dist
|
path: shell-dist
|
||||||
@@ -21,13 +21,14 @@ jobs:
|
|||||||
pnpm i
|
pnpm i
|
||||||
pnpm --filter napcat-webui-frontend run build || exit 1
|
pnpm --filter napcat-webui-frontend run build || exit 1
|
||||||
pnpm run build:framework
|
pnpm run build:framework
|
||||||
cd packages/napcat-framework/dist
|
mv packages/napcat-framework/dist framework-dist
|
||||||
|
cd framework-dist
|
||||||
pnpm install --production
|
pnpm install --production
|
||||||
- name: Upload Artifact
|
- name: Upload Artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: NapCat.Framework
|
name: NapCat.Framework
|
||||||
path: packages/napcat-framework/dist
|
path: framework-dist
|
||||||
|
|
||||||
Build-Shell:
|
Build-Shell:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@@ -44,13 +45,14 @@ jobs:
|
|||||||
pnpm i
|
pnpm i
|
||||||
pnpm --filter napcat-webui-frontend run build || exit 1
|
pnpm --filter napcat-webui-frontend run build || exit 1
|
||||||
pnpm run build:shell
|
pnpm run build:shell
|
||||||
cd packages/napcat-shell/dist
|
mv packages/napcat-shell/dist shell-dist
|
||||||
|
cd shell-dist
|
||||||
pnpm install --production
|
pnpm install --production
|
||||||
- name: Upload Artifact
|
- name: Upload Artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: NapCat.Shell
|
name: NapCat.Shell
|
||||||
path: packages/napcat-shell/dist
|
path: shell-dist
|
||||||
|
|
||||||
release-napcat:
|
release-napcat:
|
||||||
needs: [Build-LiteLoader, Build-Shell]
|
needs: [Build-LiteLoader, Build-Shell]
|
||||||
|
|||||||
Reference in new issue
Block a user