fortran-lang / setup-fortran

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

feat: Add ability to cache compilers between runs #98

Open gnikit opened 5 months ago

gnikit commented 5 months 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 5 months ago

Some notes