mirror of
https://github.com/ClementTsang/bottom.git
synced 2025-07-24 06:05:10 +02:00
ci: Update deploy as one step
This commit is contained in:
parent
17f8442330
commit
a9e02677ca
9
.github/workflows/deploy.yml
vendored
9
.github/workflows/deploy.yml
vendored
@ -9,15 +9,12 @@ jobs:
|
|||||||
set_env:
|
set_env:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
- name: Set env
|
- name: Set env
|
||||||
run: echo ::set-env name=RELEASE_VERSION::${GITHUB_REF#refs/*/}
|
run: echo ::set-env name=RELEASE_VERSION::${GITHUB_REF#refs/*/}
|
||||||
- name: Test env
|
- name: Test env
|
||||||
run: |
|
run: |
|
||||||
echo $RELEASE_VERSION
|
echo $RELEASE_VERSION
|
||||||
update_homebrew:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
- name: Download packages
|
- name: Download packages
|
||||||
run: |
|
run: |
|
||||||
curl -LO "https://github.com/ClementTsang/bottom/releases/download/$RELEASE_VERSION/bottom_x86_64-unknown-linux-gnu.tar.gz";
|
curl -LO "https://github.com/ClementTsang/bottom/releases/download/$RELEASE_VERSION/bottom_x86_64-unknown-linux-gnu.tar.gz";
|
||||||
@ -32,10 +29,6 @@ jobs:
|
|||||||
file: bottom.rb
|
file: bottom.rb
|
||||||
tag: $RELEASE_VERSION
|
tag: $RELEASE_VERSION
|
||||||
overwrite: true
|
overwrite: true
|
||||||
update_packages:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
- name: Trigger homebrew
|
- name: Trigger homebrew
|
||||||
run: |
|
run: |
|
||||||
curl -X POST https://api.github.com/repos/ClementTsang/homebrew-bottom/dispatches \
|
curl -X POST https://api.github.com/repos/ClementTsang/homebrew-bottom/dispatches \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user