test yml
This commit is contained in:
parent
bb9586d644
commit
314a1c3189
1 changed files with 14 additions and 1 deletions
15
.github/workflows/relase.yml
vendored
15
.github/workflows/relase.yml
vendored
|
|
@ -39,12 +39,25 @@ jobs:
|
|||
- name: List files in the workspace
|
||||
run: ls -la | grep *.tgz
|
||||
|
||||
# 8. Upload artifact
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: ${{github.event.repository.name}}${{ github.event.release.tag_name }}
|
||||
path: ./*.tgz
|
||||
|
||||
# 9. Download artifact
|
||||
- name: Download artifact
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: ${{github.event.repository.name}}${{ github.event.release.tag_name }}
|
||||
path: ./release
|
||||
|
||||
# 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: ./
|
||||
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