ci: disable homebrew auto-gen (#584)

Disables homebrew CI file generation, since it's now handled by separate maintainers! See #578 for some more details.
This commit is contained in:
Clement Tsang 2021-09-20 01:09:10 -04:00 committed by GitHub
parent 05e6d3e0be
commit b853aef752
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 25 deletions

View file

@ -1,4 +1,4 @@
# How we deploy a release. Covers binary builds. Also manages packaging for winget, choco, and homebrew. # How we deploy a release. Covers binary builds. Also manages packaging for winget and choco.
# #
# Based on https://github.com/BurntSushi/ripgrep/blob/master/.github/workflows/release.yml # Based on https://github.com/BurntSushi/ripgrep/blob/master/.github/workflows/release.yml
@ -373,20 +373,6 @@ jobs:
asset_name: choco.zip asset_name: choco.zip
asset_content_type: application/octet-stream asset_content_type: application/octet-stream
- name: Execute Homebrew packaging script
run: |
python "./deployment/packager.py" ${{ env.RELEASE_VERSION }} "./deployment/macos/homebrew/bottom.rb.template" "./bottom.rb" "SHA256" "./artifacts/bottom_x86_64-apple-darwin.tar.gz" "./artifacts/bottom_x86_64-unknown-linux-musl.tar.gz";
- name: Upload bottom.rb to release
uses: actions/upload-release-asset@v1.0.1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ env.RELEASE_UPLOAD_URL }}
asset_path: bottom.rb
asset_name: bottom.rb
asset_content_type: application/octet-stream
- name: Compress completion files (Linux x86-64 GNU) - name: Compress completion files (Linux x86-64 GNU)
if: matrix.triple.target == 'x86_64-unknown-linux-gnu' && matrix.triple.container == '' if: matrix.triple.target == 'x86_64-unknown-linux-gnu' && matrix.triple.container == ''
shell: bash shell: bash

View file

@ -1,5 +1,5 @@
# Creates nightly deployment builds for main targets. Note this does not cover package distribution channels, # Creates nightly deployment builds for main targets. Note this does not cover package distribution channels,
# such as choco, Homebrew, etc. # such as choco.
name: nightly name: nightly

View file

@ -7,8 +7,8 @@ on:
env: env:
# Assign commit authorship to official Github Actions bot when pushing to the `gh-pages` branch: # Assign commit authorship to official Github Actions bot when pushing to the `gh-pages` branch:
GIT_USER: 'github-actions[bot]' GIT_USER: "github-actions[bot]"
GIT_EMAIL: '41898282+github-actions[bot]@users.noreply.github.com' GIT_EMAIL: "41898282+github-actions[bot]@users.noreply.github.com"
jobs: jobs:
docs: docs:
@ -85,13 +85,6 @@ jobs:
exit 1 exit 1
fi fi
- name: Trigger homebrew
run: |
curl -X POST https://api.github.com/repos/ClementTsang/homebrew-bottom/dispatches \
-H 'Accept: application/vnd.github.everest-preview+json' \
-u ${{ secrets.BOTTOM_PACKAGE_DEPLOYMENT }} \
--data '{ "event_type": "update", "client_payload": { "version": "'"$RELEASE_VERSION"'" } }'
- name: Trigger choco - name: Trigger choco
run: | run: |
curl -X POST https://api.github.com/repos/ClementTsang/choco-bottom/dispatches \ curl -X POST https://api.github.com/repos/ClementTsang/choco-bottom/dispatches \