Skip to content

Commit

Permalink
Update node.js.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tolerious authored Aug 23, 2024
1 parent 2b90323 commit a25d203
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,15 @@ jobs:
path: |
./src/web-ext-artifacts/
- name: Upload to Release Action
- name: Release package
uses: Shopify/upload-to-release@v2.0.0
- name: Create GitHub Release
id: create_release
uses: actions/create-release@v1
with:
# Artifact name
name: stylish-reader-extension
# Path to the file to upload
path: ./src/web-ext-artifacts/
# secrets.GITHUB_TOKEN
repo-token: ${{ secrets.GITHUB_TOKEN }}
tag_name: ${{ github.ref }} # 基于推送的标签名
release_name: Release ${{ github.ref }}
draft: false # 设置为false以便立即发布
prerelease: true # 如果这是预发布版本,设为true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # GitHub提供的token自动注入


0 comments on commit a25d203

Please sign in to comment.