aboutsummaryrefslogtreecommitdiff
path: root/.github/actions/mingw-cache/action.yml
blob: e92962d41d8b95fb735186049bb76884dc63b389 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
name: Setup MinGW Cache
description: Setup MinGW Cache
inputs:
   cache-key:
    description: Name for MinGW cache key.
    default: "mingw-cache"
runs:
  using: "composite"
  steps:
    # Upload cache on completion and check it out now
    - name: Load MinGW Cache
      id: cache-mingw
      uses: actions/cache@v3
      with:
        path: C:\ProgramData\chocolatey\lib\mingw
        key: ${{inputs.cache-key}}
    - name: Setup MinGW for build
      uses: egor-tensin/setup-mingw@v2