Skip to content

Commit

Permalink
chore: 部署体验优化 TencentBlueKing#4193
Browse files Browse the repository at this point in the history
github下载路径规则固定, 放弃在文件名中添加版本号.
见 https://docs.github.com/en/rest/reference/repos#releases
搜索 browser_download_url
  • Loading branch information
vuuv committed May 14, 2021
1 parent 7c7b299 commit 36f8152
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -167,13 +167,13 @@ jobs:
draft: true
prerelease: true

- run: tar czvf bkci-${{ steps.create-artifact.outputs.version }}-slim.tar.gz ci
- run: tar czvf bkci-slim.tar.gz ci
- name: Upload Release Asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./bkci-${{ steps.create-artifact.outputs.version }}-slim.tar.gz
asset_name: bkci-${{ steps.create-artifact.outputs.version }}-slim.tar.gz
asset_path: ./bkci-slim.tar.gz
asset_name: bkci-slim.tar.gz
asset_content_type: application/gzip

0 comments on commit 36f8152

Please sign in to comment.