Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix-github-actions #5

Merged
merged 8 commits into from
Apr 23, 2024
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
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

- name: Cache Homebrew Bundler RubyGems
id: cache
uses: actions/cache@v1
uses: actions/cache@v4
with:
path: ${{ steps.set-up-homebrew.outputs.gems-path }}
key: ${{ runner.os }}-rubygems-${{ steps.set-up-homebrew.outputs.gems-hash }}
Expand All @@ -37,7 +37,7 @@ jobs:

- name: Upload bottles as artifact
if: always() && github.event_name == 'pull_request'
uses: actions/upload-artifact@main
uses: actions/upload-artifact@v4
with:
name: bottles
path: '*.bottle.*'
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/tmp/
6 changes: 3 additions & 3 deletions Casks/kensington-trackball-works.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
cask "kensington-trackball-works" do
version "3.1.10"
sha256 :no_check # use ':no_check' if you trust the source or calculate the sha256 of the pkg file
sha256 "1fe6c19c74d75c7b5263975502218b991bbd199254ee77df5062bd4bb76102f2"

url "https://www.kensington.com/siteassets/software-support/kensingtonworks/2024-update/kensingtonworks_3.1.10_1706808646.pkg"
url "https://www.kensington.com/siteassets/software-support/kensingtonworks/2024-update/kensingtonworks_#{version}_1706808646.pkg"
name "Kensington Trackball Works"
desc "Software driver for Kensington Trackball"
homepage "https://www.kensington.com/software/kensingtonworks-customization-software/"
Expand All @@ -12,7 +12,7 @@
uninstall pkgutil: "com.kensington.trackballworks.pkg"

zap trash: [
"~/Library/Application Support/Kensington",
"~/Library/Preferences/com.kensington.trackballworks.plist",
"~/Library/Application Support/Kensington"
]
end
11 changes: 10 additions & 1 deletion development.mk
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
.PHONY: all install
.PHONY: all install sha256

all: install

install:
brew install --cask Casks/kensington-trackball-works.rb

sha256: tmp/kensingtonworks_3.1.10_1706808646.pkg
shasum -a 256 kensingtonworks_3.1.10_1706808646.pkg | awk '{print $$1}'

tmp/kensingtonworks_3.1.10_1706808646.pkg: tmp
curl -so $@ https://www.kensington.com/siteassets/software-support/kensingtonworks/2024-update/kensingtonworks_3.1.10_1706808646.pkg

tmp:
mkdir -p $@
1 change: 1 addition & 0 deletions steps_output.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
All steps passed!
Loading