File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1919 target : darwin-x64
2020 - os : ubuntu-latest
2121 target : linux-x64
22- - os : ubuntu-latest
23- target : linux-arm64
22+ # Note: linux-arm64 requires native ARM runner, skipped for now
2423
2524 runs-on : ${{ matrix.os }}
2625
9695 echo "darwin_arm64=$(grep darwin-arm64 *.sha256 | head -1 | cut -d' ' -f1)" >> $GITHUB_OUTPUT
9796 echo "darwin_x64=$(grep darwin-x64 *.sha256 | head -1 | cut -d' ' -f1)" >> $GITHUB_OUTPUT
9897 echo "linux_x64=$(grep linux-x64 *.sha256 | head -1 | cut -d' ' -f1)" >> $GITHUB_OUTPUT
99- echo "linux_arm64=$(grep linux-arm64 *.sha256 | head -1 | cut -d' ' -f1)" >> $GITHUB_OUTPUT
10098
10199 - name : Create Release
102100 uses : softprops/action-gh-release@v2
@@ -118,7 +116,6 @@ jobs:
118116 DARWIN_ARM64="${{ steps.checksums.outputs.darwin_arm64 }}"
119117 DARWIN_X64="${{ steps.checksums.outputs.darwin_x64 }}"
120118 LINUX_X64="${{ steps.checksums.outputs.linux_x64 }}"
121- LINUX_ARM64="${{ steps.checksums.outputs.linux_arm64 }}"
122119
123120 cat > Formula/devproc.rb << EOF
124121 # typed: false
@@ -141,13 +138,8 @@ jobs:
141138 end
142139
143140 on_linux do
144- if Hardware::CPU.arm?
145- url "https://github.com/captjt/devproc/releases/download/v${VERSION}/devproc-v${VERSION}-linux-arm64.tar.gz"
146- sha256 "${LINUX_ARM64}"
147- else
148- url "https://github.com/captjt/devproc/releases/download/v${VERSION}/devproc-v${VERSION}-linux-x64.tar.gz"
149- sha256 "${LINUX_X64}"
150- end
141+ url "https://github.com/captjt/devproc/releases/download/v${VERSION}/devproc-v${VERSION}-linux-x64.tar.gz"
142+ sha256 "${LINUX_X64}"
151143 end
152144
153145 def install
Original file line number Diff line number Diff line change @@ -20,13 +20,8 @@ class Devproc < Formula
2020 end
2121
2222 on_linux do
23- if Hardware ::CPU . arm?
24- url "https://github.com/captjt/devproc/releases/download/v#{ version } /devproc-v#{ version } -linux-arm64.tar.gz"
25- sha256 "PLACEHOLDER_LINUX_ARM64_SHA256"
26- else
27- url "https://github.com/captjt/devproc/releases/download/v#{ version } /devproc-v#{ version } -linux-x64.tar.gz"
28- sha256 "PLACEHOLDER_LINUX_X64_SHA256"
29- end
23+ url "https://github.com/captjt/devproc/releases/download/v#{ version } /devproc-v#{ version } -linux-x64.tar.gz"
24+ sha256 "PLACEHOLDER_LINUX_X64_SHA256"
3025 end
3126
3227 def install
You can’t perform that action at this time.
0 commit comments