From 8fa8d1e67fc5fcccdf0eed6aa77b8e98edca34c1 Mon Sep 17 00:00:00 2001 From: E99p1ant Date: Sun, 11 Feb 2024 17:34:19 +0800 Subject: [PATCH] ci(frontend.yml): update working directory --- .github/workflows/frontend.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/frontend.yml b/.github/workflows/frontend.yml index 991d165..9de2833 100644 --- a/.github/workflows/frontend.yml +++ b/.github/workflows/frontend.yml @@ -18,13 +18,15 @@ jobs: with: version: 8 - name: Install dependencies + working-directory: web run: pnpm install - name: Build + working-directory: web run: pnpm run build - name: Upload to release uses: actions/upload-release-asset@v1 with: - asset-path: dist + asset-path: web/dist asset-name: fe-production.zip release-id: ${{ github.event.release.id }} repo-token: ${{ secrets.GITHUB_TOKEN }} @@ -42,13 +44,15 @@ jobs: with: version: 8 - name: Install dependencies + working-directory: web run: pnpm install - name: Build + working-directory: web run: pnpm run umd - name: Upload to release uses: actions/upload-release-asset@v1 with: - asset-path: dist + asset-path: web/dist asset-name: fe-umd.zip release-id: ${{ github.event.release.id }} repo-token: ${{ secrets.GITHUB_TOKEN }}