Coder Social home page Coder Social logo

Comments (8)

softprops avatar softprops commented on July 24, 2024 3

That seems doable, yes

Some projects need to be built on multiple architectures and multiple operating systems. For example, compile on x64-windows, x86-windows, x64-linux, x64-osx. Such project is run on 4 different jobs, uses a matrix configuration -> each job creates a release with a unique artifact.

A few alternatives that require no change to to this action

  • You could leverage upload and download artifacts actions. Have multiple jobs that build release artifacts use upload-artifact then in a separate job that depends on those, download the artifacts and run the gh release action just once

  • use an if filter to conditionally set release notes for one of your architectures assuming all release notes are the same and an flipped if for the remainder

from action-gh-release.

matusnovak avatar matusnovak commented on July 24, 2024

[...] then in a separate job that depends on those, download the artifacts and run the gh release action just once

That sounds like a good idea. Thanks!

from action-gh-release.

softprops avatar softprops commented on July 24, 2024

you bet. let me know if you need help on how to structure that

from action-gh-release.

abcfy2 avatar abcfy2 commented on July 24, 2024

Any update? I really need this feature.

from action-gh-release.

orhun avatar orhun commented on July 24, 2024

I totally agree. This feature would be great.

from action-gh-release.

movermeyer avatar movermeyer commented on July 24, 2024

@abcfy2 @orhun

The original use case mentioned in this issue is solved by the upload / download pattern.

Is there another motivating use case for this feature?

from action-gh-release.

orhun avatar orhun commented on July 24, 2024

@abcfy2 @orhun

The original use case mentioned in this issue is solved by the upload / download pattern.

Is there another motivating use case for this feature?

Thanks for letting me know. Honestly, I don't remember what I was trying to do at that time (almost a year ago) so I don't really know 🙈

from action-gh-release.

robkooper avatar robkooper commented on July 24, 2024

My use case is that my artifacts are large (100Mb - 200Mb each). Having 3 of them will get me over my free 500Mb limit when using upload/download artifacts.

I will use the if statement approach to create release-notes only for one build.

from action-gh-release.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.