Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add cache support or add example #21

Open
mshima opened this issue Aug 10, 2022 · 1 comment
Open

Add cache support or add example #21

mshima opened this issue Aug 10, 2022 · 1 comment

Comments

@mshima
Copy link

mshima commented Aug 10, 2022

Caching should reduce failures.

I think third party actions supports caching.

In any case this implements caching at MacOS for the docker dmg.

      - name: 'SETUP MacOS: load Homebrew cache'
        uses: actions/cache@v3
        if: runner.os == 'macOS'
        with:
           path: |
             ~/Library/Caches/Homebrew/downloads/*--Docker.dmg
           key: brew-actions-setup-docker-1.0.11
           restore-keys: brew-actions-setup-docker-

I don't know where docker.rb is cached, but since it's stored at GitHub should not make too much difference.

@Jasperav
Copy link

@khs1994 Any chance that this will be added? It currently almost takes 10 minutes to start up docker and sometimes with a failure, so it looks good to me to add caching

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants