Skip to content

Commit

Permalink
fix: test github artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
JadlionHD committed Sep 5, 2024
1 parent 88f21c9 commit 8dbbfd9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8dbbfd9

Please sign in to comment.