Skip to content

Commit 6f09795

Browse files
committed
remove path from artifact
1 parent 2c4e457 commit 6f09795

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/release.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ jobs:
7171
- uses: actions-rs/cargo@v1
7272
with:
7373
command: build
74-
args: '--release -v'
74+
args: '--release'
7575
- uses: actions/upload-artifact@v2
7676
with:
7777
name: jg-${{ matrix.target }}
@@ -160,39 +160,39 @@ jobs:
160160
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
161161
with:
162162
upload_url: '${{ steps.create_release.outputs.upload_url }}'
163-
asset_path: ./jg-x86_64-unknown-linux-gnu/jg
163+
asset_path: jg-x86_64-unknown-linux-gnu
164164
asset_name: jg-x86_64-unknown-linux-gnu
165165
asset_content_type: application/octet-stream
166166
- uses: actions/[email protected]
167167
env:
168168
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
169169
with:
170170
upload_url: '${{ steps.create_release.outputs.upload_url }}'
171-
asset_path: ./jg-x86_64-unknown-linux-musl/jg
171+
asset_path: jg-x86_64-unknown-linux-musl
172172
asset_name: jg-x86_64-unknown-linux-musl
173173
asset_content_type: application/octet-stream
174174
- uses: actions/[email protected]
175175
env:
176176
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
177177
with:
178178
upload_url: '${{ steps.create_release.outputs.upload_url }}'
179-
asset_path: ./jg-wasm32-wasi/jg
179+
asset_path: jg-wasm32-wasi
180180
asset_name: jg-wasm32-wasi
181181
asset_content_type: application/octet-stream
182182
- uses: actions/[email protected]
183183
env:
184184
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
185185
with:
186186
upload_url: '${{ steps.create_release.outputs.upload_url }}'
187-
asset_path: ./jg-x86_64-apple-darwin/jg
187+
asset_path: jg-x86_64-apple-darwin
188188
asset_name: jg-x86_64-apple-darwin
189189
asset_content_type: application/octet-stream
190190
- uses: actions/[email protected]
191191
env:
192192
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
193193
with:
194194
upload_url: '${{ steps.create_release.outputs.upload_url }}'
195-
asset_path: ./jg-x86_64-pc-windows-msvc/jg.exe
195+
asset_path: jg-x86_64-pc-windows-msvc.exe
196196
asset_name: jg-x86_64-pc-windows-msvc.exe
197197
asset_content_type: application/octet-stream
198198
- uses: actions/download-artifact@v2

0 commit comments

Comments
 (0)