Code Monkey home page Code Monkey logo

Comments (8)

roaldarbol avatar roaldarbol commented on July 20, 2024 1

Cool thanks! I'll do that then. 👍

from ctan-submit-action.

paolobrasolin avatar paolobrasolin commented on July 20, 2024

Yes, this is still maintained @roaldarbol! I simply haven't touched this in a while because it's feature complete.

Thanks for letting me know the links in the readme rotted away! I just freshened them up. You should now be able to follow them to see the action at work.

Can this plugin be used to upload to CTAN every time a new version is released on Github? And how would that look?

Yes it can! Here are some real-life examples:

As you can see the usage of this action is pretty much always the same snippet, and the bulk of the complexity around it.

the documentation falls a bit short, so I'm a bit unsure about how to proceed. (Full disclosure, I don't have vast experience with GH Actions).

All options are documented, so please let me know if seeing live examples is enough to get you going!
I wouldn't like to put off anyone, regardless of experience level. ❤️

I'll leave this issue open for now, in case you find something unclear that I can improve.

from ctan-submit-action.

roaldarbol avatar roaldarbol commented on July 20, 2024

Thanks, good to hear! And I really appreciate your effort to assist.

I think your own example looks the simplest, so maybe I can ask about that. I guess I'd need to include most of the other actions in there for things to work properly, is that right? Maybe you could make an annotated example of it in the wiki or elsewhere (here?) of the minimal sequence of actions needed, and where one would need to edit things?

The reason it might be useful is, well , at least for me, wanting to upload to CTAN automatically brought me here - so it might be really helpful for others after me to see a full minimal example workflow to make it easy to implement. :-)

from ctan-submit-action.

paolobrasolin avatar paolobrasolin commented on July 20, 2024

@roaldarbol good idea, I added a couple of fleshed-out examples to the readme!

from ctan-submit-action.

roaldarbol avatar roaldarbol commented on July 20, 2024

Thanks, that helps a lot! In your example, do you build the .zip yourself, or is this also carried out by an action?

from ctan-submit-action.

paolobrasolin avatar paolobrasolin commented on July 20, 2024

I implemented the build details in a Makefile I call from this step: https://github.com/paolobrasolin/commutative-diagrams/blob/19a6deb9d9d25eea446ad095518d236b8383e142/.github/workflows/release.yml#L39-L42

You can see it here https://github.com/paolobrasolin/commutative-diagrams/blob/main/Makefile but there's a lot of very project-specific logic, so you can probably get away with something simpler, @roaldarbol.

from ctan-submit-action.

roaldarbol avatar roaldarbol commented on July 20, 2024

Just checking: Is the reason you do the build process to test that it works? Or does your project have many components? My project is a single .cls file, so I figured I can just zip up the repo without a more elaborate "building" process?

from ctan-submit-action.

paolobrasolin avatar paolobrasolin commented on July 20, 2024

It's because there's a lot of components to the projects, and they need to be recombined/interpolated. Tests are actually run in a separate workflow.

If it's a simple CLS you can definitely get away with "zip it and call it a day".
In any case, requirements are straightforward and well documented on CTAN:

from ctan-submit-action.

Related Issues (6)

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.