File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
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
Original file line number Diff line number Diff 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
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
You can’t perform that action at this time.
0 commit comments