Skip to content

Commit 2a38e18

Browse files
authored
[CICD] Fix asset path for rust binaries on release pipeline (#1882)
1 parent 4b39422 commit 2a38e18

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/release-pipeline.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ jobs:
427427
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
428428
with:
429429
upload_url: ${{ steps.create_release.outputs.upload_url }}
430-
asset_path: rust-binaries/openrqd-${{ env.BUILD_ID }}-x86_64-unknown-linux-gnu
430+
asset_path: ${{ github.workspace }}/artifacts/openrqd-${{ env.BUILD_ID }}-x86_64-unknown-linux-gnu
431431
asset_name: openrqd-${{ env.BUILD_ID }}-x86_64-unknown-linux-gnu
432432
asset_content_type: application/octet-stream
433433

@@ -437,7 +437,7 @@ jobs:
437437
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
438438
with:
439439
upload_url: ${{ steps.create_release.outputs.upload_url }}
440-
asset_path: rust-binaries/openrqd-${{ env.BUILD_ID }}-x86_64-unknown-linux-musl
440+
asset_path: ${{ github.workspace }}/artifacts/openrqd-${{ env.BUILD_ID }}-x86_64-unknown-linux-musl
441441
asset_name: openrqd-${{ env.BUILD_ID }}-x86_64-unknown-linux-musl
442442
asset_content_type: application/octet-stream
443443

@@ -447,7 +447,7 @@ jobs:
447447
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
448448
with:
449449
upload_url: ${{ steps.create_release.outputs.upload_url }}
450-
asset_path: rust-binaries/openrqd-${{ env.BUILD_ID }}-x86_64-apple-darwin
450+
asset_path: ${{ github.workspace }}/artifacts/openrqd-${{ env.BUILD_ID }}-x86_64-apple-darwin
451451
asset_name: openrqd-${{ env.BUILD_ID }}-x86_64-apple-darwin
452452
asset_content_type: application/octet-stream
453453

@@ -457,6 +457,6 @@ jobs:
457457
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
458458
with:
459459
upload_url: ${{ steps.create_release.outputs.upload_url }}
460-
asset_path: rust-binaries/openrqd-${{ env.BUILD_ID }}-aarch64-apple-darwin
460+
asset_path: ${{ github.workspace }}/artifacts/openrqd-${{ env.BUILD_ID }}-aarch64-apple-darwin
461461
asset_name: openrqd-${{ env.BUILD_ID }}-aarch64-apple-darwin
462462
asset_content_type: application/octet-stream

0 commit comments

Comments
 (0)