Git Product home page Git Product logo

Comments (7)

lazka avatar lazka commented on June 12, 2024 1

Partial updates are a not supported use case in MSYS2.

installs should work though, as long as we don't remove those old packages from the server.

from setup-msys2.

lazka avatar lazka commented on June 12, 2024

You can also use this action with release: false (yeah, not sure about that naming) to use the system environment, which would gain you caching of packages specified via install: ..., and you could easily switch between the image/fresh environments, handle updates etc.

Thanks for writing this up, as you said it's not very clear.

from setup-msys2.

tobiasherzke avatar tobiasherzke commented on June 12, 2024

Thanks for pointing me to release: false. It is mentioned only 2 paragraphs below the one I quoted here, and I now remember seeing it, but somehow it did not register that this would be how I could use your action.

from setup-msys2.

lazka avatar lazka commented on June 12, 2024

I'll keep this open a bit if you don't mind. So we don't forget to improve the docs.

from setup-msys2.

tobiasherzke avatar tobiasherzke commented on June 12, 2024

Sure!

from setup-msys2.

eine avatar eine commented on June 12, 2024

In fact, I was waiting for actions/runner-images#1648 to be deployed. It was merged a couple of days ago, so it should be done in about a week. There are still reasons to keep using this Action (see actions/runner-images#1572), but docs need to be updated.

from setup-msys2.

eine avatar eine commented on June 12, 2024

At least this is what I understood and concluded that the Setup MSYS2 action is not for me, because the default msys2 installation seems to work fine so far.

Partial updates are a not supported use case in MSYS2. Therefore, if you need to install any package which is not already installed in the default MSYS2 installation, you should first pacman -Syu. That's where the 10min overhead can kick in. It is independent from what packages you want to have installed, as it will first update several GBs of preinstalled toolchains.

Conversely, this action ensures that only the minimal packages you need are installed and updated. Plus, as @lazka said, caching is enabled by default if you use install:.

from setup-msys2.

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.