release yml
This commit is contained in:
parent
314a1c3189
commit
068b3759e6
1 changed files with 6 additions and 6 deletions
12
.github/workflows/relase.yml
vendored
12
.github/workflows/relase.yml
vendored
|
|
@ -35,10 +35,6 @@ jobs:
|
|||
- name: Create package
|
||||
run: pnpm pack
|
||||
|
||||
# 7. Check generated files
|
||||
- name: List files in the workspace
|
||||
run: ls -la | grep *.tgz
|
||||
|
||||
# 8. Upload artifact
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
|
|
@ -51,13 +47,17 @@ jobs:
|
|||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: ${{github.event.repository.name}}${{ github.event.release.tag_name }}
|
||||
path: ./release
|
||||
path: release
|
||||
|
||||
# 7. Check generated files
|
||||
- name: List files in the workspace
|
||||
run: ls -la
|
||||
|
||||
# 8. Upload the package as a release asset
|
||||
- name: Upload release asset
|
||||
uses: actions/upload-release-asset@v1
|
||||
with:
|
||||
upload_url: ${{ github.event.release.upload_url }}
|
||||
asset_path: ./release
|
||||
asset_path: release
|
||||
asset_name: ${{github.event.repository.name}}${{ github.event.release.tag_name }}.tgz
|
||||
asset_content_type: application/gzip
|
||||
|
|
|
|||
Loading…
Reference in a new issue