fortran-lang / setup-fortran

GitHub action to setup Fortran compiler and toolchain
https://github.com/marketplace/actions/setup-fortran
Apache License 2.0
68 stars 23 forks source link

feat: Add ability to cache compilers between runs #98

Open gnikit opened 1 month ago

gnikit commented 1 month ago

It would be extremely useful if the Action had a key option cache, similar to setup-python that could enable/disable caching the downloaded compilers and the setup.

Suggestion

    - uses: fortran-lang/setup-fortran@v1.6.1
      id: setup-fortran
      with:
        compiler: ${{ matrix.toolchain.compiler }}
        version: ${{ matrix.toolchain.version }}
        cache: true  # optional, default is false
wpbonelli commented 2 weeks ago

Some notes