Skip to content

Commit c7f9861

Browse files
committed
fix: windows build
1 parent f96a619 commit c7f9861

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

.github/workflows/release.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
- name: Rename Artifacts (windows)
4545
if: matrix.os == 'windows-latest'
4646
run: |
47-
mv dist/windows/server client-server-${{ matrix.os }}
47+
mv dist/windows/server.exe client-server-${{ matrix.os }}.exe
4848
shell: bash
4949

5050
- name: Rename Artifacts (macos)
@@ -53,11 +53,20 @@ jobs:
5353
mv dist/darwin/server client-server-${{ matrix.os }}
5454
shell: bash
5555

56-
- name: Upload Artifact
56+
- name: Upload Artifact (macos)
57+
if: matrix.os == 'macos-latest'
5758
uses: actions/upload-artifact@v4
5859
with:
5960
name: binaries-${{matrix.os}}
6061
path: client-server-${{matrix.os}}
62+
63+
- name: Upload Artifact (windows)
64+
if: matrix.os == 'windows-latest'
65+
uses: actions/upload-artifact@v4
66+
with:
67+
name: binaries-${{matrix.os}}
68+
path: client-server-${{matrix.os}}.exe
69+
6170
release:
6271
needs: build
6372
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)