Skip to content

Commit

Permalink
改为官方建议的softprops/action-gh-release
Browse files Browse the repository at this point in the history
  • Loading branch information
chexiongsheng committed Aug 26, 2024
1 parent 4df145e commit 02302b5
Showing 1 changed file with 4 additions and 14 deletions.
18 changes: 4 additions & 14 deletions .github/workflows/build_quickjs_qjs_ns.yml
Original file line number Diff line number Diff line change
Expand Up @@ -334,21 +334,11 @@ jobs:
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: softprops/action-gh-release@v2
with:
tag_name: QJS_CN_${{ github.event.inputs.tag_date }}
release_name: QJS_CN_${{ github.event.inputs.tag_date }}
name: QJS_CN_${{ github.event.inputs.tag_date }}
draft: false
prerelease: false

- name: Upload LIB
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./qjs_v8_bin.tgz
asset_name: qjs_v8_bin.tgz
asset_content_type: application/tgz
make_latest: true
files: ./qjs_v8_bin.tgz

0 comments on commit 02302b5

Please sign in to comment.