ci: provide Brew and GH Release actions with the correct tag

This commit is contained in:
Matan Kushner 2022-04-15 18:25:30 -03:00
parent c0139f3309
commit 27510e61c7
No known key found for this signature in database
GPG Key ID: BFF10DF8EAA776DD

View File

@ -237,7 +237,7 @@ jobs:
uses: softprops/action-gh-release@v1
with:
files: starship-*/starship-*
tag_name: ${{ needs.release_please.outputs.release_created }}
tag_name: ${{ needs.release_please.outputs.tag_name }}
# Publish starship to Crates.io
cargo_publish:
@ -268,6 +268,7 @@ jobs:
- uses: mislav/bump-homebrew-formula-action@v1.16
with:
formula-name: starship
tag_name: ${{ needs.release_please.outputs.tag_name }}
env:
COMMITTER_TOKEN: ${{ secrets.HOMEBREW_GITHUB_API_TOKEN }}