mirror of
https://github.com/EstrellaXD/Auto_Bangumi.git
synced 2026-04-24 10:31:09 +08:00
fix: fix artifact
This commit is contained in:
7
.github/workflows/dev-latest.yml
vendored
7
.github/workflows/dev-latest.yml
vendored
@@ -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
|
||||
|
||||
11
.github/workflows/docker.yml
vendored
11
.github/workflows/docker.yml
vendored
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user