-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upload binaries into releases from tags #8
Comments
Thanks! I had been looking at ripgrep.
…On Sat, May 23, 2020, at 11:24 AM, Khải wrote:
I use GitHub Workflow to deploy everything: upload binaries to release page, publish cargo crate, update AUR packages, publish npm packages, you might want to take a look. <https://github.com/KSXGitHub/sane-fmt/blob/d4efb43d43005dee6a2068a1e47509e28c9b284c/.github/workflows/deploy.yaml>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#8 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAAQIENLJDS3NUEDGZDQKVLRS7TBZANCNFSM4NDWWDFQ>.
|
Is this the hard part for you? GitHub Actions has an input/output mechanism. You may feed |
Nope. We already have tag-based releases to Docker and Crates.io. It's just a matter of building the necessary binaries and uploading them in that workflow. |
Then I guess the hard part is sending build artifact from build jobs to jobs that create release? You may use actions/upload-artifact in build jobs to upload built artifacts and actions/download-artifact to download built artifacts in jobs that upload release binaries. My workflow has that too. It builds and releases for multiple targets in multiple platform so I have to divide it into multiple jobs:
|
Figure out what's needed and how to upload which is built on all commits but only uploaded on tags
The text was updated successfully, but these errors were encountered: