Skip to content

Commit

Permalink
Specify artifact name "dist" for upload and download steps.
Browse files Browse the repository at this point in the history
  • Loading branch information
junhaoliao committed Dec 29, 2024
1 parent ae96d98 commit 599c889
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/publish-to-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ jobs:
- name: "Upload build artifacts"
uses: "actions/upload-artifact@v4"
with:
name: "dist"
path: "dist/"
if-no-files-found: "error"
retention-days: 1
Expand All @@ -34,6 +35,7 @@ jobs:
- uses: "actions/checkout@v4"
- uses: "actions/download-artifact@v4"
with:
name: "dist"
path: "dist/"

- uses: "actions/setup-node@v4"
Expand Down

0 comments on commit 599c889

Please sign in to comment.