mirror of
https://github.com/delibae/claude-prism.git
synced 2026-08-28 05:14:59 +00:00
ci: drop macOS x64 build, arm64 only
GitHub Actions no longer supports macos-13 Intel runners. macOS Intel users can run the arm64 build via Rosetta 2. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
7dd6b8325e
commit
8d09eac810
2 changed files with 6 additions and 20 deletions
15
.github/workflows/build-desktop.yml
vendored
15
.github/workflows/build-desktop.yml
vendored
|
|
@ -21,9 +21,6 @@ jobs:
|
|||
- platform: macos-latest
|
||||
target: aarch64-apple-darwin
|
||||
label: macos-arm64
|
||||
- platform: macos-13
|
||||
target: x86_64-apple-darwin
|
||||
label: macos-x64
|
||||
- platform: ubuntu-22.04
|
||||
target: x86_64-unknown-linux-gnu
|
||||
label: linux-x64
|
||||
|
|
@ -258,9 +255,8 @@ jobs:
|
|||
| Platform | Architecture | File | Install |
|
||||
|:--------:|:------------:|:----:|:--------|
|
||||
| **Windows** | x64 | \`.msi\` / \`.exe\` | Run the installer |
|
||||
| **macOS** | Apple Silicon | \`.dmg\` (aarch64) | Open \`.dmg\` → drag to Applications |
|
||||
| **macOS** | Intel | \`.dmg\` (x64) | Open \`.dmg\` → drag to Applications |
|
||||
| **macOS** | Both | **Homebrew** | \`brew install --cask claude-prism\` |
|
||||
| **macOS** | Apple Silicon | \`.dmg\` | Open \`.dmg\` → drag to Applications |
|
||||
| **macOS** | Any | **Homebrew** | \`brew install --cask claude-prism\` |
|
||||
| **Linux** | x64 | \`.AppImage\` | \`chmod +x\` and run |
|
||||
| **Linux** | x64 | \`.deb\` | \`sudo dpkg -i claude-prism_*.deb\` |
|
||||
|
||||
|
|
@ -298,18 +294,13 @@ jobs:
|
|||
|
||||
# Calculate SHA256
|
||||
SHA_ARM64=$(sha256sum /tmp/dmg/ClaudePrism_${VERSION}_aarch64.dmg | awk '{print $1}')
|
||||
SHA_X64=$(sha256sum /tmp/dmg/ClaudePrism_${VERSION}_x64.dmg | awk '{print $1}')
|
||||
|
||||
echo "ARM64 SHA256: $SHA_ARM64"
|
||||
echo "X64 SHA256: $SHA_X64"
|
||||
|
||||
# Update Cask file
|
||||
CASK_FILE="homebrew/Casks/claude-prism.rb"
|
||||
sed -i "s/version \".*\"/version \"${VERSION}\"/" "$CASK_FILE"
|
||||
# Update arm64 SHA256 (first sha256 occurrence)
|
||||
sed -i "0,/sha256 \".*\"/{s/sha256 \".*\"/sha256 \"${SHA_ARM64}\"/}" "$CASK_FILE"
|
||||
# Update x64 SHA256 (second sha256 occurrence)
|
||||
sed -i "0,/sha256 \".*\"/! {0,/sha256 \".*\"/s/sha256 \".*\"/sha256 \"${SHA_X64}\"/}" "$CASK_FILE"
|
||||
sed -i "s/sha256 \".*\"/sha256 \"${SHA_ARM64}\"/" "$CASK_FILE"
|
||||
|
||||
# Commit and push
|
||||
git config user.name "github-actions[bot]"
|
||||
|
|
|
|||
|
|
@ -1,15 +1,10 @@
|
|||
cask "claude-prism" do
|
||||
version "0.0.1"
|
||||
|
||||
on_arm do
|
||||
sha256 "PLACEHOLDER_ARM64_SHA256"
|
||||
url "https://github.com/delibae/claude-prism/releases/download/v#{version}/ClaudePrism_#{version}_aarch64.dmg"
|
||||
end
|
||||
sha256 "PLACEHOLDER_SHA256"
|
||||
url "https://github.com/delibae/claude-prism/releases/download/v#{version}/ClaudePrism_#{version}_aarch64.dmg"
|
||||
|
||||
on_intel do
|
||||
sha256 "PLACEHOLDER_X64_SHA256"
|
||||
url "https://github.com/delibae/claude-prism/releases/download/v#{version}/ClaudePrism_#{version}_x64.dmg"
|
||||
end
|
||||
depends_on arch: :arm64
|
||||
|
||||
name "ClaudePrism"
|
||||
desc "Desktop app for Claude-powered academic research workflows"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue