mirror of
https://github.com/ClementTsang/bottom
synced 2024-11-26 22:20:18 +00:00
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:
parent
05e6d3e0be
commit
b853aef752
3 changed files with 4 additions and 25 deletions
16
.github/workflows/deployment.yml
vendored
16
.github/workflows/deployment.yml
vendored
|
@ -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
|
||||||
|
|
2
.github/workflows/nightly.yml
vendored
2
.github/workflows/nightly.yml
vendored
|
@ -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
|
||||||
|
|
||||||
|
|
11
.github/workflows/post-release.yml
vendored
11
.github/workflows/post-release.yml
vendored
|
@ -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 \
|
||||||
|
|
Loading…
Reference in a new issue