The new bottle creation workflow for taps is amazing! #549
Replies: 2 comments 1 reply
-
Awesome, glad you find it useful! Huge thanks goes to @dawidd6 for implementing this! 🥳🎉 What fails if you don't use the For the |
Beta Was this translation helpful? Give feedback.
-
Yep, that's what I did (the user and looking at the code) but for some reason, it was still using my username.
Not sure now, I'll have to try again. But the workflow takes 5~7 min each time :) |
Beta Was this translation helpful? Give feedback.
-
Hi there! --
A few days ago, I finally had the time to move from Azure Pipelines to the new GA workflow for bottle creation for our tap https://github.com/osx-cross/homebrew-avr
The reference workflow was of great help but I struggled a little bit with the token part when the repo is own by an organization. We have a test bot account so I used this account for the PAT. I had to reference the PAT as a secret for the repository as
${{ github.token }}
was not working.But then, the homebrew/git-setup-step was still referencing me (the PR creator) when I wanted our test bot to be.
In the end, the following fixed the issues -- I don't know if it can be improved, but it works and is simple enough so I won't touch it.
The whole configuration is available here: https://github.com/osx-cross/homebrew-avr/tree/master/.github/workflows
A big thank you for the homebrew team for putting that together and make it so easy for us tap maintainers to provide bottles for our users :)
Beta Was this translation helpful? Give feedback.
All reactions