Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .github/workflows/casks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Cask CI

on:
pull_request:
paths:
- 'Casks/**'

permissions: {}

jobs:
casks:
permissions:
contents: read
uses: meigma/release/.github/workflows/homebrew-tap-ci.yml@c9335805068db1bc64c33d9af66cbb8d58657864
22 changes: 10 additions & 12 deletions Casks/ghd.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,29 +3,28 @@
version "0.1.2"

on_macos do
on_intel do
sha256 "fede4025bc5d9c88e384af661060ec62eb2f4664eb2700cbd703018c1db2e7b9"
url "https://github.com/meigma/ghd/releases/download/v#{version}/ghd_#{version}_darwin_amd64"
binary "ghd_0.1.2_darwin_amd64", target: "ghd"
end
on_arm do
sha256 "f40205e7b87862272f4a5b3dcd437afc29bbb60184ea07e9c13797201ba5102e"
url "https://github.com/meigma/ghd/releases/download/v#{version}/ghd_#{version}_darwin_arm64"
binary "ghd_0.1.2_darwin_arm64", target: "ghd"
end
end

on_linux do
on_intel do
sha256 "c70008189f60c1ce4d029add3369cf2d5380ec107b5ee948c7559b864ae6e108"
url "https://github.com/meigma/ghd/releases/download/v#{version}/ghd_#{version}_linux_amd64"
binary "ghd_0.1.2_linux_amd64", target: "ghd"
sha256 "fede4025bc5d9c88e384af661060ec62eb2f4664eb2700cbd703018c1db2e7b9"
url "https://github.com/meigma/ghd/releases/download/v#{version}/ghd_#{version}_darwin_amd64"
binary "ghd_0.1.2_darwin_amd64", target: "ghd"
end
end
on_linux do
on_arm do
sha256 "400ea252e33dab1226fc4d787b7e4192b340adba5e7baaccc75cf3a1573c46da"
url "https://github.com/meigma/ghd/releases/download/v#{version}/ghd_#{version}_linux_arm64"
binary "ghd_0.1.2_linux_arm64", target: "ghd"
end
on_intel do
sha256 "c70008189f60c1ce4d029add3369cf2d5380ec107b5ee948c7559b864ae6e108"
url "https://github.com/meigma/ghd/releases/download/v#{version}/ghd_#{version}_linux_amd64"
binary "ghd_0.1.2_linux_amd64", target: "ghd"
end
end

name "ghd"
Expand All @@ -37,5 +36,4 @@
end

# No zap stanza required

end