Fixing release assets
This commit is contained in:
parent
1a2f7042d4
commit
132d88a48d
1 changed files with 4 additions and 7 deletions
11
.github/workflows/build-assets.yml
vendored
11
.github/workflows/build-assets.yml
vendored
|
|
@ -3,12 +3,10 @@
|
||||||
|
|
||||||
name: Build release assets
|
name: Build release assets
|
||||||
|
|
||||||
name: Publish
|
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
- '*'
|
- '*'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
draft:
|
draft:
|
||||||
|
|
@ -29,7 +27,7 @@ jobs:
|
||||||
node-version: 16.x
|
node-version: 16.x
|
||||||
- name: Install dependencies and build
|
- name: Install dependencies and build
|
||||||
run: npm run dist
|
run: npm run dist
|
||||||
- name: Upload Release Asset
|
- name: Upload release assets
|
||||||
id: upload-release-asset
|
id: upload-release-asset
|
||||||
uses: svenstaro/upload-release-action@v2
|
uses: svenstaro/upload-release-action@v2
|
||||||
with:
|
with:
|
||||||
|
|
@ -39,4 +37,3 @@ jobs:
|
||||||
asset_name: $tag-dist.tar.gz
|
asset_name: $tag-dist.tar.gz
|
||||||
asset_content_type: application/gzip
|
asset_content_type: application/gzip
|
||||||
overwrite: true
|
overwrite: true
|
||||||
|
|
||||||
|
|
|
||||||
Reference in a new issue