mirror of https://github.com/OpenTTD/OpenTTD
Update: bump actions/cache from 2 to 3
parent
33dabc42bb
commit
2a2f80bb71
|
@ -23,7 +23,7 @@ jobs:
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Setup cache
|
- name: Setup cache
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: /emsdk/upstream/emscripten/cache
|
path: /emsdk/upstream/emscripten/cache
|
||||||
key: 2.0.31-${{ runner.os }}
|
key: 2.0.31-${{ runner.os }}
|
||||||
|
@ -174,7 +174,7 @@ jobs:
|
||||||
echo "::set-output name=image::$ImageOS-$ImageVersion"
|
echo "::set-output name=image::$ImageOS-$ImageVersion"
|
||||||
|
|
||||||
- name: Enable vcpkg cache
|
- name: Enable vcpkg cache
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: /usr/local/share/vcpkg/installed
|
path: /usr/local/share/vcpkg/installed
|
||||||
key: ${{ steps.key.outputs.image }}-vcpkg-${{ matrix.arch }}-0 # Increase the number whenever dependencies are modified
|
key: ${{ steps.key.outputs.image }}-vcpkg-${{ matrix.arch }}-0 # Increase the number whenever dependencies are modified
|
||||||
|
@ -256,7 +256,7 @@ jobs:
|
||||||
Write-Output "::set-output name=image::$env:ImageOS-$env:ImageVersion"
|
Write-Output "::set-output name=image::$env:ImageOS-$env:ImageVersion"
|
||||||
|
|
||||||
- name: Enable vcpkg cache
|
- name: Enable vcpkg cache
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: vcpkg/installed
|
path: vcpkg/installed
|
||||||
key: ${{ steps.key.outputs.image }}-vcpkg-${{ matrix.arch }}-0 # Increase the number whenever dependencies are modified
|
key: ${{ steps.key.outputs.image }}-vcpkg-${{ matrix.arch }}-0 # Increase the number whenever dependencies are modified
|
||||||
|
|
|
@ -41,7 +41,7 @@ jobs:
|
||||||
git checkout -b ${name}
|
git checkout -b ${name}
|
||||||
|
|
||||||
- name: Setup cache
|
- name: Setup cache
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: /emsdk/upstream/emscripten/cache
|
path: /emsdk/upstream/emscripten/cache
|
||||||
key: 2.0.31-${{ runner.os }}
|
key: 2.0.31-${{ runner.os }}
|
||||||
|
|
|
@ -497,7 +497,7 @@ jobs:
|
||||||
echo "::set-output name=image::$ImageOS-$ImageVersion"
|
echo "::set-output name=image::$ImageOS-$ImageVersion"
|
||||||
|
|
||||||
- name: Enable vcpkg cache
|
- name: Enable vcpkg cache
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: /usr/local/share/vcpkg/installed
|
path: /usr/local/share/vcpkg/installed
|
||||||
key: ${{ steps.key.outputs.image }}-vcpkg-release-0 # Increase the number whenever dependencies are modified
|
key: ${{ steps.key.outputs.image }}-vcpkg-release-0 # Increase the number whenever dependencies are modified
|
||||||
|
@ -700,7 +700,7 @@ jobs:
|
||||||
Write-Output "::set-output name=image::$env:ImageOS-$env:ImageVersion"
|
Write-Output "::set-output name=image::$env:ImageOS-$env:ImageVersion"
|
||||||
|
|
||||||
- name: Enable vcpkg cache
|
- name: Enable vcpkg cache
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: vcpkg/installed
|
path: vcpkg/installed
|
||||||
key: ${{ steps.key.outputs.image }}-vcpkg-${{ matrix.arch }}-0 # Increase the number whenever dependencies are modified
|
key: ${{ steps.key.outputs.image }}-vcpkg-${{ matrix.arch }}-0 # Increase the number whenever dependencies are modified
|
||||||
|
|
Loading…
Reference in New Issue