From fddc91283a63b59336336c9f16d1a5d0a77cef3d Mon Sep 17 00:00:00 2001 From: DaMandal0rian Date: Tue, 8 Aug 2023 18:12:29 +0300 Subject: [PATCH] change gon installation to use brew - use brew to install package instead of downloading release zip package --- .github/workflows/snapshot-build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/snapshot-build.yml b/.github/workflows/snapshot-build.yml index 3fb2e960ea..01e3bd5401 100644 --- a/.github/workflows/snapshot-build.yml +++ b/.github/workflows/snapshot-build.yml @@ -172,8 +172,8 @@ jobs: cp ${{ env.PRODUCTION_TARGET }}/subspace-farmer ${{ env.PRODUCTION_TARGET }}/subspace-node ${{ env.PRODUCTION_TARGET }}/macos-binaries ditto -c -k --rsrc ${{ env.PRODUCTION_TARGET }}/macos-binaries subspace-binaries.zip echo "Notarizing" - curl -sL https://github.com/mitchellh/gon/releases/download/v0.2.5/gon_macos.zip -o gon.zip - unzip gon.zip -d . + brew update + brew install mitchellh/gon/gon cat << EOF > gon.hcl source = ["subspace-binaries.zip"] bundle_id = "${{ secrets.MACOS_BUNDLE_ID }}" @@ -185,7 +185,7 @@ jobs: password = "${{ secrets.MACOS_APP_PW }}" } EOF - ./gon -log-level=info -log-json gon.hcl + gon -log-level=info -log-json gon.hcl # Notarize the ZIP using notarytool xcrun notarytool submit subspace-binaries.zip --apple-id "${{ secrets.MACOS_APPLE_ID }}" --password "${{ secrets.MACOS_APP_PW }}" --team-id "${{ secrets.MACOS_TEAM_ID }}" --wait