From 2d99c8199b59677bf3025b41eb6ce11f0a76e629 Mon Sep 17 00:00:00 2001 From: Zijing Zhang <50045289+pluveto@users.noreply.github.com> Date: Sun, 23 Jun 2024 23:50:12 +0800 Subject: [PATCH] ci: add step "Upload binaries to release" --- .github/workflows/release.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f1caa38..3cf1d17 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -122,6 +122,14 @@ jobs: tag_name: ${{ github.event.inputs.tag }} release_name: Upgit ${{ github.event.inputs.tag }} body: ${{ steps.changelog.outputs.changes }} - asset_files: 'dist/' draft: false prerelease: ${{ github.event.inputs.prerelease }} + + - name: Upload binaries to release + uses: svenstaro/upload-release-action@v2 + with: + repo_token: ${{ secrets.GITHUB_TOKEN }} + file: dist/**/* + tag: ${{ github.ref }} + overwrite: true + file_glob: true