Skip to content

Commit 022c4d6

Browse files
fix(ci): build failed on Windows
1 parent f9889b3 commit 022c4d6

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/windows.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,11 @@ jobs:
104104
- name: uploadRelease
105105
if: startsWith(github.event.ref, 'refs/tags/')
106106
uses: svenstaro/upload-release-action@v1-release
107+
env:
108+
archiveName: lemon.${{ steps.get_version.outputs.VERSION }}.Windows-${{ matrix.arch }}
107109
with:
108110
repo_token: ${{ secrets.GITHUB_TOKEN }}
109-
file: ./${{ env.packageName }}.zip
110-
asset_name: lemon-win-${{matrix.arch}}.zip
111+
file: ./${{ env.archiveName }}.zip
112+
asset_name: lemon-win-${{matrix.arch}}-${{ matrix.build_type }}.zip
111113
tag: ${{ github.ref }}
112114
overwrite: true

makespec/BUILDVERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
106
1+
119

0 commit comments

Comments
 (0)