Skip to content

Commit 0f69774

Browse files
committed
release test build cli
1 parent 5a35d88 commit 0f69774

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

.github/workflows/release-test.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,17 @@ jobs:
2424
matrix:
2525
include:
2626
- os: ubuntu-latest
27+
target: linux_x64
2728
binary_name: ndk
2829
asset_name: ndk-${{ github.ref_name }}-linux-x64
2930
content_type: application/octet-stream
3031
- os: macos-latest
32+
target: macos_x64
3133
binary_name: ndk
3234
asset_name: ndk-${{ github.ref_name }}-macos-x64
3335
content_type: application/octet-stream
3436
- os: windows-latest
37+
target: windows_x64
3538
binary_name: ndk.exe
3639
asset_name: ndk-${{ github.ref_name }}-windows-x64.exe
3740
content_type: application/vnd.microsoft.portable-executable
@@ -57,7 +60,7 @@ jobs:
5760
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5861
with:
5962
upload_url: ${{ needs.release.outputs.upload_url }}
60-
asset_path: packages/ndk/build/bin/${{ matrix.binary_name }}
63+
asset_path: packages/ndk/build/cli/${{ matrix.target }}/bundle/bin/${{ matrix.binary_name }}
6164
asset_name: ${{ matrix.asset_name }}
6265
asset_content_type: ${{ matrix.content_type }}
6366

.github/workflows/release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,17 @@ jobs:
2222
matrix:
2323
include:
2424
- os: ubuntu-latest
25+
target: linux_x64
2526
binary_name: ndk
2627
asset_name: ndk-${{ github.ref_name }}-linux-x64
2728
content_type: application/octet-stream
2829
- os: macos-latest
30+
target: macos_x64
2931
binary_name: ndk
3032
asset_name: ndk-${{ github.ref_name }}-macos-x64
3133
content_type: application/octet-stream
3234
- os: windows-latest
35+
target: windows_x64
3336
binary_name: ndk.exe
3437
asset_name: ndk-${{ github.ref_name }}-windows-x64.exe
3538
content_type: application/vnd.microsoft.portable-executable
@@ -55,7 +58,7 @@ jobs:
5558
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5659
with:
5760
upload_url: ${{ needs.release.outputs.upload_url }}
58-
asset_path: packages/ndk/build/bin/${{ matrix.binary_name }}
61+
asset_path: packages/ndk/build/cli/${{ matrix.target }}/bundle/bin/${{ matrix.binary_name }}
5962
asset_name: ${{ matrix.asset_name }}
6063
asset_content_type: ${{ matrix.content_type }}
6164

0 commit comments

Comments
 (0)