From 8dbbfd9254d4b55d30f6c8022807d0d6bcc9b6a4 Mon Sep 17 00:00:00 2001 From: Hendra Gunawan <48410066+JadlionHD@users.noreply.github.com> Date: Fri, 6 Sep 2024 01:50:56 +0700 Subject: [PATCH] fix: test github artifact --- .github/workflows/build.yml | 7 ++----- .github/workflows/release.yml | 4 ++-- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6add334..f117d15 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -33,11 +33,8 @@ jobs: - name: Build website run: pnpm run build - - name: Compress build files - run: zip -r build.zip dist - - name: Upload Artifacts uses: actions/upload-artifact@v4 with: - name: build.zip - path: build.zip + name: build + path: dist diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d2f7baa..39f5843 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,12 +17,12 @@ jobs: - name: Download Artifacts uses: actions/download-artifact@v4 with: - name: build.zip + name: build - name: Upload Artifacts to GitHub Release uses: ncipollo/release-action@v1 with: - artifacts: build.zip + artifacts: build allowUpdates: true omitBodyDuringUpdate: true omitDraftDuringUpdate: true