Skip to content

Commit 939c3a3

Browse files
committed
fix release
1 parent 72dd56d commit 939c3a3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -144,14 +144,14 @@ jobs:
144144

145145
- name: Compress binaries
146146
if: matrix.platform.os_name != 'macOS-x86_64'
147-
run: cd target/${{ matrix.platform.target }}/release && tar -czvf ${{ matrix.platform.target }}-paperclip_cli.tar.gz paperclip_cli
147+
run: tar -czvf ${{ matrix.platform.target }}-paperclip_cli.tar.gz -C target/${{ matrix.platform.target }}/release paperclip_cli
148148

149149
- name: Upload binaries to release
150150
if: matrix.platform.target != 'x86_64-apple-darwin'
151151
uses: svenstaro/upload-release-action@v2
152152
with:
153153
repo_token: ${{ secrets.GITHUB_TOKEN }}
154-
file: target/${{ matrix.platform.target }}/release/${{ matrix.platform.target }}-paperclip_cli.tar.gz
154+
file: ${{ matrix.platform.target }}-paperclip_cli.tar.gz
155155
asset_name: ${{ matrix.asset_name }}
156156
tag: ${{ github.ref }}
157157
publish:

0 commit comments

Comments
 (0)