Closed TinkoLiu closed 7 months ago
This commit fixed the wrong configuration in GitHub Workflow.
According to this document, macos-latest is an alias of macos-12 at present, which leads to a wrong build architecture in the assets.
macos-latest
macos-12
This is the executable from the latest release (v0.5.3):
Info: File name: pnpm-shell-completion_aarch64-apple-darwin (053)/pnpm-shell-completion Size: 1980624 Operation system: macOS(12.0.0) Architecture: X86_64 Mode: 64-bit Type: EXECUTE Endianness: LE
And here is the new one:
Info: File name: pnpm-shell-completion_aarch64-apple-darwin/pnpm-shell-completion Size: 1810024 Operation system: macOS(14.0.0) Architecture: ARM64 Mode: 64-bit Type: EXECUTE Endianness: LE
I have not install Rosetta on purpose, and got failed when I try using fish.
If you have Rosetta installed, everything would works just fine. But without Rosetta, it throws Bad CPU type in executable.
Bad CPU type in executable
This commit fixed the wrong configuration in GitHub Workflow.
According to this document,
macos-latest
is an alias ofmacos-12
at present, which leads to a wrong build architecture in the assets.This is the executable from the latest release (v0.5.3):
And here is the new one: