fix: fix artifact

This commit is contained in:
EstrellaXD
2023-06-07 21:23:25 +08:00
parent b70fe6e28b
commit c0d6658bb7
2 changed files with 9 additions and 9 deletions

View File

@@ -47,13 +47,15 @@ jobs:
run_install: true
- name: Build
run: pnpm build && zip -r dist.zip dist
run: |
cd webui
pnpm build && zip -r dist.zip dist
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: dist
path: dist.zip
path: webui/dist.zip
dev-build:
@@ -77,7 +79,6 @@ jobs:
uses: actions/download-artifact@v2
with:
name: dist
path: dist.zip
- name: Docker metadata
id: meta

View File

@@ -106,12 +106,6 @@ jobs:
id: buildx
uses: docker/setup-buildx-action@v2
- name: download artifact
uses: actions/download-artifact@v3
with:
name: dist
path: dist.zip
- name: Docker metadata
id: meta
uses: docker/metadata-action@v4
@@ -139,6 +133,11 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.ACCESS_TOKEN }}
- name: download artifact
uses: actions/download-artifact@v3
with:
name: dist
- name: Build and push
uses: docker/build-push-action@v4
with: