Browse Source

Update github action cache. (#1971)

Jérémie Dumas 3 years ago
parent
commit
ce1de2c0db
1 changed files with 3 additions and 2 deletions
  1. 3 2
      .github/workflows/continuous.yml

+ 3 - 2
.github/workflows/continuous.yml

@@ -61,7 +61,7 @@ jobs:
 
 
       - name: Cache Build
       - name: Cache Build
         id: cache-build
         id: cache-build
-        uses: actions/cache@v1
+        uses: actions/cache@v2
         with:
         with:
           path: ~/.ccache
           path: ~/.ccache
           key: ${{ runner.os }}-${{ matrix.config }}-${{ matrix.static }}-cache
           key: ${{ runner.os }}-${{ matrix.config }}-${{ matrix.static }}-cache
@@ -115,11 +115,12 @@ jobs:
 
 
       - name: Cache build
       - name: Cache build
         id: cache-build
         id: cache-build
-        uses: actions/cache@v1
+        uses: actions/cache@v2
         with:
         with:
           path: ${{ env.appdata }}\Mozilla\sccache
           path: ${{ env.appdata }}\Mozilla\sccache
           key: ${{ runner.os }}-${{ matrix.config }}-${{ matrix.static }}-cache
           key: ${{ runner.os }}-${{ matrix.config }}-${{ matrix.static }}-cache
 
 
+
       - name: Prepare sccache
       - name: Prepare sccache
         run: |
         run: |
           Invoke-Expression (New-Object System.Net.WebClient).DownloadString('https://get.scoop.sh')
           Invoke-Expression (New-Object System.Net.WebClient).DownloadString('https://get.scoop.sh')