Skip to content

Commit

Permalink
Update node.js.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
blanexie authored Apr 28, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 65fb9bc commit ac91421
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
@@ -30,13 +30,20 @@ jobs:
- run: npm run build-only
- name: Compress project into a zip file
run: zip -r dist.zip dist/
- name: Upload to release
uses: JasonEtco/upload-to-release@master
- name: Upload to Release Action
# You may pin to the exact commit or the version.
# uses: Shopify/upload-to-release@c77c9b3e5d288adaef98a7007bf92340ec6ce03b
uses: Shopify/upload-to-release@v2.0.0
with:
args: dist.zip application/zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# Artifact name
name: v.1.1
# Path to the file to upload
path: dist.zip
# Content type for the file
content-type: application/octet-stream
# secrets.GITHUB_TOKEN
repo-token: ${{ secrets.GITHUB_TOKEN }}




0 comments on commit ac91421

Please sign in to comment.