1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-12-28 20:12:42 +00:00

ci: publish to cargo and brew after successful release

This commit is contained in:
Matan Kushner 2022-08-18 22:50:55 -04:00
parent 892604bf4e
commit 627a05862b
No known key found for this signature in database
GPG Key ID: 01D4B591C43BE629

View File

@ -277,7 +277,7 @@ jobs:
cargo_publish:
name: Publish Cargo Package
runs-on: ubuntu-latest
needs: release_please
needs: [release_please, upload_artifacts]
if: ${{ needs.release_please.outputs.release_created == 'true' }}
steps:
- name: Setup | Checkout
@ -296,7 +296,7 @@ jobs:
update_brew_formula:
name: Update Brew Formula
runs-on: ubuntu-latest
needs: release_please
needs: [release_please, upload_artifacts]
if: ${{ needs.release_please.outputs.release_created == 'true' }}
steps:
- uses: mislav/bump-homebrew-formula-action@v2.1