From 010c320e459e74318c6580acaa6b18f444ecfa64 Mon Sep 17 00:00:00 2001 From: Rajiv Shah Date: Tue, 16 Apr 2024 19:50:25 -0400 Subject: [PATCH] Use `gon` fork for notarizing macOS Node.js bindings --- .github/workflows/bindings-nodejs-publish.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/bindings-nodejs-publish.yml b/.github/workflows/bindings-nodejs-publish.yml index 9abd347682..ecc0e4d7c1 100644 --- a/.github/workflows/bindings-nodejs-publish.yml +++ b/.github/workflows/bindings-nodejs-publish.yml @@ -113,9 +113,14 @@ jobs: run: echo "LIBCLANG_PATH=$((gcm clang).source -replace "clang.exe")" >> $env:GITHUB_ENV - name: Install gon (macOS) + # Fork of https://github.com/mitchellh/gon + # https://github.com/Bearer/gon + # Since we're dealing with code signing secrets we want to pin the version of gon if: ${{ startsWith(matrix.os, 'macos') }} - # https://github.com/mitchellh/gon - run: brew install mitchellh/gon/gon + run: | + wget https://raw.githubusercontent.com/Bearer/homebrew-tap/366bc999e14a8d04e07e24f9387bcbaf89c1bc53/Formula/gon.rb + brew install --formula gon.rb + rm gon.rb - name: Set deployment target (macOS) if: matrix.os == 'macos-13'