From 4357bfa20c4a4eb1675f2f31e32a34b8f5956db2 Mon Sep 17 00:00:00 2001 From: Eugene Boguslavsky Date: Tue, 15 Oct 2024 10:35:55 -0700 Subject: [PATCH] Remove mysten-tap sui.rb update (#19861) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Description Remove mysten-tap sui.rb update ## Test plan 👀 --- .github/workflows/release.yml | 75 ----------------------------------- 1 file changed, 75 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 662316958c4a0..33f4ac1827037 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -242,81 +242,6 @@ jobs: # https://github.com/settings/tokens/new?scopes=public_repo,workflow COMMITTER_TOKEN: ${{ secrets.HOMEBREW_GH_FORMULA_BUMP }} - update-homebrew-tap: - name: Update mysten-tap sui.rb file - needs: release-build - runs-on: ubuntu-latest - if: ${{ contains( inputs.sui_tag, 'testnet') || contains( github.ref, 'testnet') }} - steps: - - name: Clean up tag name ${{ env.TAG_NAME }} - shell: bash - run: | - echo "sui_tag=$(echo ${{ env.TAG_NAME }} | sed s/'refs\/tags\/'//)" >> $GITHUB_ENV - - # Checkout MystenLabs/homebrew-tap - - name: Checkout Target Repository - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # pin@v3 - with: - repository: MystenLabs/homebrew-tap - # @john's PAT, needs to be rotated jan 5 2025 - token: ${{ secrets.HOMEBREW_TAP_REPO_READ_WRITE }} - ref: main - fetch-depth: 0 - - # Download all artifacts from the previous job - - name: Download all artifacts - uses: actions/download-artifact@cbed621e49e4c01b044d60f6c80ea4ed6328b281 # pin@v2 - - - name: Fetch Ubuntu x86_64 Binary and Compute SHA256 - shell: bash - run: | - echo "sha256_ubuntu_release=$(sha256sum sui-binaries-ubuntu-ghcloud/sui-${{ env.sui_tag }}-ubuntu-x86_64.tgz | awk '{print $1}')" >> $GITHUB_ENV - echo "sha256_macos_x86_release=$(sha256sum sui-binaries-macos-latest-xl/sui-${{ env.sui_tag }}-macos-x86_64.tgz | awk '{print $1}')" >> $GITHUB_ENV - echo "sha256_macos_arm_release=$(sha256sum sui-binaries-macos-latest-xlarge/sui-${{ env.sui_tag }}-macos-arm64.tgz | awk '{print $1}' )" >> $GITHUB_ENV - - # Install Jinja2 for templating - - name: Install Jinja2 - run: pip install jinja2 - - - name: Apply Jinja2 Template and Update Formula - run: | - python3 - <