- inspired by this excellent post
- copy clipboard to file, by using png paste
brew install pngpaste
-
write a nodejs program to call pngpaste and upload to s3
-
package up to make an executable program of the the nodejs program
pkg cli.js
-
copy the generated cli-macos and pngpaste binary to the workflow directory
- download this
- click to install
- set env variable
trigger workflow by upload keyword