Skip to content

Commit 37d5956

Browse files
committed
fix: release wst rs
1 parent 6b926ad commit 37d5956

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ jobs:
8989

9090
- runs-on: windows-latest
9191
target: x86_64-pc-windows-msvc
92+
EXT: .exe
9293

9394
- runs-on: macOS-latest
9495
target: x86_64-apple-darwin
@@ -109,16 +110,17 @@ jobs:
109110

110111
- run: |
111112
rm client-rs/target/${{ matrix.platform.target }}/release/client-rs.d
113+
mv client-rs/target/${{ matrix.platform.target }}/release/client-rs${{ matrix.platform.EXT }} client-rs/target/${{ matrix.platform.target }}/release/wst-rs${{ matrix.platform.EXT }}
112114
113115
- name: Upload Binaries
114116
uses: actions/upload-artifact@v4
115117
with:
116118
name: client-rs-${{ matrix.platform.target }}
117-
path: client-rs/target/${{ matrix.platform.target }}/release/client-rs*
119+
path: client-rs/target/${{ matrix.platform.target }}/release/wst-rs*
118120

119121
- name: tar
120122
run: |
121-
tar -C client-rs/target/${{ matrix.platform.target }}/release -czvf client-rs/target/${{ matrix.platform.target }}/release/client-rs-${{ matrix.platform.target }}.tar.gz client-rs*
123+
tar -C client-rs/target/${{ matrix.platform.target }}/release -czvf client-rs/target/${{ matrix.platform.target }}/release/wst-rs-${{ matrix.platform.target }}.tar.gz wst-rs*
122124
123125
- name: Release
124126
if: ${{ startsWith(github.ref, 'refs/tags/') }}
@@ -132,7 +134,7 @@ jobs:
132134
name: ${{ github.ref_name }}
133135
tag_name: ${{ github.ref_name }}
134136
files: |
135-
client-rs/target/${{ matrix.platform.target }}/release/client-rs-${{ matrix.platform.target }}.tar.gz
137+
client-rs/target/${{ matrix.platform.target }}/release/wst-rs-${{ matrix.platform.target }}.tar.gz
136138
137139
release-server:
138140
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)