Skip to content
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

GH releases do not have binaries attached #14

Closed
MiSikora opened this issue Oct 22, 2020 · 7 comments
Closed

GH releases do not have binaries attached #14

MiSikora opened this issue Oct 22, 2020 · 7 comments
Labels
pr welcome Contributions for this issue are welcomed

Comments

@MiSikora
Copy link

MiSikora commented Oct 22, 2020

github-release is a separate job from the publish job. When binaries are collected by action-gh-release step they are not present in the directory.

- name: Create release
uses: softprops/action-gh-release@v1
with:
body: ${{ steps.release_notes.outputs.release_notes }}
files: build/libs/*

https://github.com/cashapp/turbine/runs/1024853027?check_suite_focus=true#step:5:10

Since github-release job needs publish anyway they could be merged into a one job. This is just a suggestion as I don't know if there is a better way to do this.

On the side note, it would be nice to add binaries to already published GH releases retroactively.

@JakeWharton
Copy link
Member

Since github-release job needs publish anyway they could be merged into a one job.

For nonsensical reasons the ffurrer2/extract-release-notes step only runs on Linux.

Because we need to build binaries on multiple platforms we would have to cache those artifacts from the Mac and Windows workers and then upload them from Linux. I'd take a PR to do this. Unfortunately it's going to be relatively low priority for me to fix.

The artifacts are all available here if you need them for now: https://repo1.maven.org/maven2/app/cash/turbine/

@MiSikora
Copy link
Author

For nonsensical reasons the ffurrer2/extract-release-notes step only runs on Linux.

Ahh, got it. That's a bummer.

I think I'll make a contribution to the step instead of making a workaround here. I guess this issue can be kept open until fix lands in the step or someone takes care of caching.

@MiSikora
Copy link
Author

MiSikora commented Oct 27, 2020

Latest release v1.4.0-rc1 supports different platforms. I can make a PR with the change. Do you want to publish all binaries contained in the build/libs/* or do you want to exclude i.e. sources jar?

@JakeWharton
Copy link
Member

JakeWharton commented Nov 3, 2020 via email

@JakeWharton JakeWharton added the pr welcome Contributions for this issue are welcomed label Mar 18, 2021
@JakeWharton
Copy link
Member

Closing this since I don't think it's high priority or essential.

@MiSikora
Copy link
Author

MiSikora commented Oct 26, 2021

Yeah, sorry for the radio silence. I attempted to do it but failed horribly at extracting native binaries in some sane way.

@JakeWharton
Copy link
Member

Yeah I know it's a lot harder, and I'm not sure it's actually useful for someone to use.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr welcome Contributions for this issue are welcomed
Projects
None yet
Development

No branches or pull requests

2 participants