fix(cd): replace github upload action
This commit is contained in:
parent
769ddb078a
commit
9a526736bb
1 changed files with 15 additions and 3 deletions
18
.github/workflows/cd_github_binary.yml
vendored
18
.github/workflows/cd_github_binary.yml
vendored
|
@ -30,9 +30,21 @@ jobs:
|
|||
- name: Build
|
||||
run: |
|
||||
yarn build
|
||||
- name: Upload the artifacts
|
||||
uses: skx/github-action-publish-binaries@master
|
||||
- name: Upload artifacts
|
||||
uses: xresloader/upload-to-github-release@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
args: 'dist/*'
|
||||
file: "dist/*"
|
||||
tags: true
|
||||
draft: false
|
||||
overwrite: true
|
||||
- name: Upload binaries to release
|
||||
uses: svenstaro/upload-release-action@v2
|
||||
with:
|
||||
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
file: "dist/*"
|
||||
file_glob: true
|
||||
tag: ${{ github.ref }}
|
||||
overwrite: true
|
||||
body: "This is my release text"
|
Loading…
Add table
Add a link
Reference in a new issue