mirror of
https://github.com/Llewellynvdm/starship.git
synced 2024-12-01 01:04:00 +00:00
ci: publish to cargo and brew after successful release
This commit is contained in:
parent
892604bf4e
commit
627a05862b
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
@ -277,7 +277,7 @@ jobs:
|
|||||||
cargo_publish:
|
cargo_publish:
|
||||||
name: Publish Cargo Package
|
name: Publish Cargo Package
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: release_please
|
needs: [release_please, upload_artifacts]
|
||||||
if: ${{ needs.release_please.outputs.release_created == 'true' }}
|
if: ${{ needs.release_please.outputs.release_created == 'true' }}
|
||||||
steps:
|
steps:
|
||||||
- name: Setup | Checkout
|
- name: Setup | Checkout
|
||||||
@ -296,7 +296,7 @@ jobs:
|
|||||||
update_brew_formula:
|
update_brew_formula:
|
||||||
name: Update Brew Formula
|
name: Update Brew Formula
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: release_please
|
needs: [release_please, upload_artifacts]
|
||||||
if: ${{ needs.release_please.outputs.release_created == 'true' }}
|
if: ${{ needs.release_please.outputs.release_created == 'true' }}
|
||||||
steps:
|
steps:
|
||||||
- uses: mislav/bump-homebrew-formula-action@v2.1
|
- uses: mislav/bump-homebrew-formula-action@v2.1
|
||||||
|
Loading…
Reference in New Issue
Block a user