File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -215,4 +215,4 @@ jobs:
215215 upload_url : ${{ steps.create_release.outputs.upload_url }}
216216 asset_path : ./wasm-pack-${{ steps.get_version.outputs.VERSION }}-${{ env.MACOS_ARM64_TARGET }}.tar.gz
217217 asset_content_type : application/gzip
218- asset_name : wasm-pack-${{ steps.get_version.outputs.VERSION }}-${{ env.MACOS_ARM64_TARGET }}.tar.gz
218+ asset_name : wasm-pack-${{ steps.get_version.outputs.VERSION }}-${{ env.MACOS_ARM64_TARGET }}.tar.gz
Original file line number Diff line number Diff line change @@ -18,9 +18,12 @@ const getPlatform = () => {
1818 if ( type === "Linux" && arch === "arm64" ) {
1919 return "aarch64-unknown-linux-musl" ;
2020 }
21- if ( type === "Darwin" && ( arch === "x64" || arch === "arm64" ) ) {
21+ if ( type === "Darwin" && arch === "x64" ) {
2222 return "x86_64-apple-darwin" ;
2323 }
24+ if ( type === "Darwin" && arch === "arm64" ) {
25+ return "aarch64-apple-darwin" ;
26+ }
2427
2528 throw new Error ( `Unsupported platform: ${ type } ${ arch } ` ) ;
2629} ;
You can’t perform that action at this time.
0 commit comments