diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index f4567f6..8fae0b3 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -30,9 +30,6 @@ jobs: - run: brew test-bot --only-tap-syntax - - run: brew test-bot --only-formulae - if: github.event_name == 'pull_request' - - name: Upload bottles as artifact if: always() && github.event_name == 'pull_request' uses: actions/upload-artifact@v4 diff --git a/Casks/jsonschema.rb b/Casks/jsonschema.rb new file mode 100644 index 0000000..e7afe22 --- /dev/null +++ b/Casks/jsonschema.rb @@ -0,0 +1,14 @@ +cask "jsonschema" do + version "0.1.0" + sha256 "f87daa4440958d1bd2823f6713d14f345892533756adc2957c92de0d833ebdc3" + url "https://github.com/Intelligence-AI/jsonschema/releases/download/v#{version}/jsonschema-#{version}-darwin-arm64.zip" + name "JSON Schema CLI" + desc "The CLI for working with JSON Schema" + homepage "https://github.com/Intelligence-AI/jsonschema" + binary "jsonschema-#{version}-darwin-arm64/bin/jsonschema" + postflight do + system_command "xattr", args: ["-c", "#{staged_path}/jsonschema-#{version}-darwin-arm64/bin/jsonschema"] + # As a test + system_command "#{staged_path}/jsonschema-#{version}-darwin-arm64/bin/jsonschema" + end +end