NOTE: Racket CI(GitHub Action) cache

Dan's
Blog

Programming Language Theory • System Programming

NOTE: Racket CI(GitHub Action) cache

Add the following code helps GitHub Action caches installed packages.

- name: Cache
  uses: actions/cache@v2
  with:
    path: |
      ~/.racket
    key: ${{ runner.os }}-primes

If you install packages via command like:

raco pkg install --auto abc

Then add --skip-installed:

raco pkg install --auto --skip-installed abc

author: Lîm Tsú-thuàn/林子篆/Danny

category:cs

tag:noteracketcigithub action

Similar Articles

Buy Me A CoffeeCreative Commons Attribution-NonCommercial-NoDerivatives 4.0 InternationalAll works in this site is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
©2021 dannypsnl(林子篆)